Is it reasonable to expect this to work the same in cljs as it does on the JVM?
(-> {:x 1} p/promise (p/then :x))
Similarly for multimethods, and I guess everything which does evaluate to Function. One naive fix would be to have -map, -bind and -catch wrap all inputs in fn - do you think that's a bad idea? More than happy to make the change, if not.
Is it reasonable to expect this to work the same in cljs as it does on the JVM?
Similarly for multimethods, and I guess everything which does evaluate to
Function
. One naive fix would be to have-map
,-bind
and-catch
wrap all inputs infn
- do you think that's a bad idea? More than happy to make the change, if not.