funcool

A channel for discussing and asking questions about Funcool libraries https://github.com/funcool/
luxbock 2016-07-15T10:01:44.000059Z

@mattly: ah good to hear, thanks

luxbock 2016-07-15T12:00:17.000060Z

there's no built-in way of mapping over a the Left of an Either is there?

luxbock 2016-07-15T12:04:17.000061Z

I have a mlet block where functions work on over small parts of a larger datastructure, so I'm able to nicely log at what stage do things go wrong, but I'd also like to include the larger datastructure into the map that my Left branch returns so that I can quickly run tests on the failure case

luxbock 2016-07-15T12:15:16.000062Z

right now I'm doing: https://gist.github.com/luxbock/43834bb24d9b0a560229c7e24bcc3cd5

luxbock 2016-07-15T12:15:19.000063Z

but it feels a bit ugly EDIT: just realized there's m/left-map, doh