
6 May
2010
6 May
'10
9:19 a.m.
On Thu, 06 May 2010 12:00:01 +0100
Neil Brown
At which point I prefer Ivan's liftM version rather than the above section (or worse: using (<$>) prefix). The original request is a relatively common thing to want to do, so I was slightly surprised that hoogling for:
(b -> c) -> (a -> f b) -> a -> f c
didn't turn up any relevant results. This function is a lot like (<=<) but with a pure rather than side-effecting function on the left-hand side.
ha ! I had actually remembered to hoogle :-) and didn't get anything either, only I wasn't sure I put the signature in correctly. Brian