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
Currently,
((<*> + inc) 1) CompilerException java.lang.ClassCastException: java.lang.Long cannot be cast to clojure.lang.IFn, compiling:
It can be worked around by calling <*> like this:
((<*> (m/curry 2 +) inc) 1) => 3
Here is an alternative implementation of -fapply for function-context in cats.builtin
(-fapply [_ self av] (fn [x] (((m/curry 2 self) x) (av x))))
With this implementation,
((<*> + inc) 1) => 3
This implementation doesn't work if the first argument of <*> is a higher-order function.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently,
It can be worked around by calling <*> like this:
Here is an alternative implementation of -fapply for function-context in cats.builtin
With this implementation,
This implementation doesn't work if the first argument of <*> is a higher-order function.
The text was updated successfully, but these errors were encountered: