#9099 closed feature request (fixed)
Add strict fmap
Reported by: | quchen | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.10.1 |
Component: | libraries/base | Version: | 7.8.2 |
Keywords: | report-impact | Cc: | hvr, ekmett |
Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
Type of failure: | None/Unknown | Test Case: | |
Blocked By: | Blocking: | ||
Related Tickets: | Differential Rev(s): | ||
Wiki Page: |
Description
Add a strict version of fmap to the standard libraries.
infixl 4 <$!> (<$!>) :: Monad m => (a -> b) -> m a -> m b f <$!> m = do x <- m return $! f x {-# INLINE (<$!>) #-}
Libraries discussions:
Take 1: http://www.haskell.org/pipermail/libraries/2013-November/021728.html Take 3: http://www.haskell.org/pipermail/libraries/2014-April/022864.html
Attachments (1)
Change History (6)
Changed 5 years ago by
Attachment: | 0001-Add-strict-ver.-of-to-Control.Monad.patch added |
---|
comment:1 Changed 5 years ago by
Cc: | hvr ekmett added |
---|---|
Component: | None → libraries/base |
Status: | new → patch |
comment:2 Changed 5 years ago by
comment:4 Changed 5 years ago by
Resolution: | → fixed |
---|---|
Status: | patch → closed |
comment:5 Changed 4 years ago by
Keywords: | report-impact added |
---|---|
Milestone: | → 7.10.1 |
Note: See
TracTickets for help on using
tickets.
No objection here.
It also passed unanimously through the libraries@ proposal process.