We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
partial application is not working
Interactive Elixir (1.10.2) - press Ctrl+C to exit (typ iex(1)> use Quark Quark.Pointfree iex(2)> constant(1) ** (CompileError) iex:2: undefined function constant/1
The text was updated successfully, but these errors were encountered:
Things like constant and first and others are arity 2 only. I'm unsure if that's intended but using Quark.SKI.k directly is partially applied.
constant
first
Quark.SKI.k
Sorry, something went wrong.
Thanks! I think without currying those combinators are pretty useless, because usually they are used in places like this (just dummy example)
some_either |> bimap(const(false), const(true))
I do agree. It's a simple case of adding a few defdelegates in two different modules (both Quark and Quark.SKI), you should PR it? :-)
defdelegates
Quark
Quark.SKI
Thanks for suggestion, but I leave this job to someone else :) I'm doing my own functional library instead 😀
No branches or pull requests
partial application is not working
The text was updated successfully, but these errors were encountered: