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
What do you think about defining a set of anamorphic versions of the functions, like this:
(defmacro deferred::nextc (d &rest body) ;; the prefix could be different. `(deferred:nextc ,d (lambda (result) ,@body)))
Here it is how the readme example will look like(using dash's ->).
->
(-> (deferred::next (message "deferred start")) (deferred::nextc (message "chain 1") 1) (deferred::nextc (message "chain 2 : %s" result)) (deferred::nextc (read-minibuffer "Input a number: ")) (deferred::nextc (message "Got the number : %i" result)) (deferred::error (message "Wrong input : %s" error)))
The text was updated successfully, but these errors were encountered:
any thoughts?
Sorry, something went wrong.
No branches or pull requests
What do you think about defining a set of anamorphic versions of the functions, like this:
Here it is how the readme example will look like(using dash's
->
).The text was updated successfully, but these errors were encountered: