funcool

A channel for discussing and asking questions about Funcool libraries https://github.com/funcool/
niwinz 2015-09-19T09:05:51.000027Z

buddy 0.7.0 is released \o/

niwinz 2015-09-19T09:09:37.000028Z

and catacumna 0.7.1 released (with buddy, cats, ratpack and other dependencies updates)

mccraigmccraig 2015-09-19T11:09:34.000029Z

looking at cats.labs.manifold ... i've been working with a version of the deferred monad which allows timeouts to be specified ( https://github.com/employeerepublic/defurred/blob/master/src/cats/monad/deferred.clj#L24 ) ... would you be happy with a PR to add the feature to cats.labs.manifold ?

niwinz 2015-09-19T11:19:50.000031Z

Yes please!

mccraigmccraig 2015-09-19T11:20:07.000032Z

cool :simple_smile:

mccraigmccraig 2015-09-19T12:15:45.000033Z

niwinz: https://github.com/funcool/cats/pull/97

niwinz 2015-09-19T16:35:07.000035Z

thanks @mccraigmccraig I will review it later!

niwinz 2015-09-19T16:35:53.000036Z

btw, improved session storage abstraction and improved csrf protect handlers are coming in catacumba 0.8.0-SNAPSHOT \o/

mccraigmccraig 2015-09-19T23:34:01.000037Z

there's a conceptual difficulty i'm having with timeouts (of deferreds or chans) - they are fine when the context is just the deferred, but if there's a monad transformer e.g. for a deferred<either> then the timed-out case has the wrong type ( deferred instead of deferred<either>

mccraigmccraig 2015-09-19T23:39:48.000038Z

it's not affecting me atm because i'm using plain deferreds, but i was looking at moving to deferred<either> to avoid the exception-based error handling of deferred when i ran into this and couldn't see how to solve it... the inner contexts in the transformer stack would seem to need knowledge of the levels of the stack outside them