Closed photm5 closed 8 years ago
I discovered on from Data.Function, which simplifies the implementation of uncurry2 quite a bit, making it small enough to inline:
on
uncurry2 = (`on` uncurry)
Additionally, @iblech told me combine' was essentially liftM2 (<>) in the reader monad, so I improved the implementation of that one, too.
liftM2 (<>)
Looks good. :+1:
I discovered
on
from Data.Function, which simplifies the implementation of uncurry2 quite a bit, making it small enough to inline:Additionally, @iblech told me combine' was essentially
liftM2 (<>)
in the reader monad, so I improved the implementation of that one, too.