funcool

A channel for discussing and asking questions about Funcool libraries https://github.com/funcool/
2015-10-02T08:47:26.000002Z

nice, unfortunately when using traverse the context must be set; when traversing we need to call pure, in case of the vector if it's empty there is no context set

mccraigmccraig 2015-10-02T13:35:34.000003Z

dialelo: i'm wondering about ways of decorating contexts for transformers so, for example, for an either-channel context there would be a generic way for a monadic function to produce an either-left value (either-right being produced by pure/return) without knowing the surrounding context... am i correct that cats doesn't currently support anything like this ?

mccraigmccraig 2015-10-02T13:38:22.000004Z

i think bwo/monads had a way of doing this, though i found that library difficult to understand so i never really used it

mattly 2015-10-02T22:46:59.000005Z

is it normal for mapseq to throw an error when you feed it an empty sequence?

mattly 2015-10-02T22:47:42.000007Z

have I violated monadic law by doing this?