Created
April 17, 2014 01:29
-
-
Save m0smith/10946953 to your computer and use it in GitHub Desktop.
Transform reader monad
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn foo* [context] | |
(let [db (get context :db)] | |
(update! db "foo"))) | |
(defn app* [context] | |
(let [_ (foo* context)])) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment