-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
The mdo syntax seems like alien in clojure world. especially for the let form. What if we change it to:
(mdo {:keys [x y]} <- get-state
:let [z (+ (* x x) (* y y))]
(modify assoc :z z)
(return z))The :let form looks for consistent with for, doseq.
Also for modify function, is better to enable (modify [f & params]) style?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels