funcool

A channel for discussing and asking questions about Funcool libraries https://github.com/funcool/
sparkofreason 2016-06-06T14:21:53.000008Z

Best I've come up with so far:

sparkofreason 2016-06-06T15:21:46.000012Z

Never mind. The above doesn't even work right. Below does exactly what the algo.monads example does, was getting hung up because I was specifying the initial value as a number and not an instance of state.

sparkofreason 2016-06-06T15:32:12.000014Z

Very cool. If I had a nit to pick, it would be that if I want to specify the initial value for the reduce, I have to wrap it in m/return, specifying the context. m/return makes sense, but avoiding the context would be nice-to-have.

sparkofreason 2016-06-06T16:00:10.000015Z

But I guess when the time comes to run the computation, you just wrap in with-context.