Skip to content

Instantly share code, notes, and snippets.

@ztellman
Created June 12, 2014 01:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ztellman/d584fe5935ab43de398a to your computer and use it in GitHub Desktop.
Save ztellman/d584fe5935ab43de398a to your computer and use it in GitHub Desktop.
(deftest test-let-flow
(is (= 5
@(let [z (future 1)]
(let-flow [x (future (future z))
y (future (+ z x))]
(future (+ x x y z)))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment