on develop help sign in
Use (=<<) instead of flip (>>=)
commit1724c42abbbcb2056e67bd681fc626a5dabfb615 authorAlexandre Esteves <alexandre.fmp.esteves@gmail.com> dateFri 22 Dec 2017, 16:42 (9 years ago) parent9104703
1 file changed+2−2
src/Reflex/FunctorMaybe.hs+2−2
src/Reflex/FunctorMaybe.hs+2−2
@@ -24,9 +24,9 @@ class FunctorMaybe f where
2424 -- | Combined mapping and filtering function.
2525 fmapMaybe :: (a -> Maybe b) -> f a -> f b
2626
27−-- | @fmapMaybe = flip (>>=)
27+-- | @fmapMaybe = (=<<)
2828instance FunctorMaybe Maybe where
29− fmapMaybe = flip (>>=)
29+ fmapMaybe = (=<<)
3030
3131-- | @fmapMaybe f = catMaybes . fmap f@
3232instance FunctorMaybe [] where