Skip to content

Instantly share code, notes, and snippets.

@borkdude
Created April 13, 2017 20:55
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 borkdude/62bbdb76834388023a6dffbd0023f4cd to your computer and use it in GitHub Desktop.
Save borkdude/62bbdb76834388023a6dffbd0023f4cd to your computer and use it in GitHub Desktop.
Manifold issue
;; boot -d manifold repl
(require '[manifold.deferred :as d])
(d/let-flow [a (d/success-deferred {:a 1})] a)
;;=> << {:a 1} >>
;; boot repl # in my project with some other dependencies
(d/let-flow [a (d/success-deferred {:a 1})] a)
;;=> java.lang.ClassCastException: java.lang.Long cannot be cast to java.util.Map$Entry
(d/let-flow [a (d/success-deferred (hash-map :a 1))] a)
;;=> << {:a 1} >>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment