[GHC] #9099: Add strict fmap

#9099: Add strict fmap -------------------------------------------+------------------------------- Reporter: quchen | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: None | Version: 7.8.2 Keywords: | Operating System: Architecture: Unknown/Multiple | Unknown/Multiple Difficulty: Easy (less than 1 hour) | Type of failure: Blocked By: | None/Unknown Related Tickets: | Test Case: | Blocking: -------------------------------------------+------------------------------- 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 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9099 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9099: Add strict fmap -------------------------------+------------------------------------------- Reporter: quchen | Owner: Type: feature | Status: patch request | Milestone: Priority: normal | Version: 7.8.2 Component: | Keywords: libraries/base | Architecture: Unknown/Multiple Resolution: | Difficulty: Easy (less than 1 hour) Operating System: | Blocked By: Unknown/Multiple | Related Tickets: Type of failure: | None/Unknown | Test Case: | Blocking: | -------------------------------+------------------------------------------- Changes (by bernalex): * cc: hvr, ekmett (added) * status: new => patch * component: None => libraries/base -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9099#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9099: Add strict fmap -------------------------------+------------------------------------------- Reporter: quchen | Owner: Type: feature | Status: patch request | Milestone: Priority: normal | Version: 7.8.2 Component: | Keywords: libraries/base | Architecture: Unknown/Multiple Resolution: | Difficulty: Easy (less than 1 hour) Operating System: | Blocked By: Unknown/Multiple | Related Tickets: Type of failure: | None/Unknown | Test Case: | Blocking: | -------------------------------+------------------------------------------- Comment (by ekmett): No objection here. It also passed unanimously through the libraries@ proposal process. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9099#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9099: Add strict fmap
-------------------------------+-------------------------------------------
Reporter: quchen | Owner:
Type: feature | Status: patch
request | Milestone:
Priority: normal | Version: 7.8.2
Component: | Keywords:
libraries/base | Architecture: Unknown/Multiple
Resolution: | Difficulty: Easy (less than 1 hour)
Operating System: | Blocked By:
Unknown/Multiple | Related Tickets:
Type of failure: |
None/Unknown |
Test Case: |
Blocking: |
-------------------------------+-------------------------------------------
Comment (by Herbert Valerio Riedel

#9099: Add strict fmap -------------------------------+------------------------------------------- Reporter: quchen | Owner: Type: feature | Status: closed request | Milestone: Priority: normal | Version: 7.8.2 Component: | Keywords: libraries/base | Architecture: Unknown/Multiple Resolution: fixed | Difficulty: Easy (less than 1 hour) Operating System: | Blocked By: Unknown/Multiple | Related Tickets: Type of failure: | None/Unknown | Test Case: | Blocking: | -------------------------------+------------------------------------------- Changes (by tibbe): * status: patch => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9099#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9099: Add strict fmap -------------------------------------+------------------------------------- Reporter: quchen | Owner: Type: feature request | Status: closed Priority: normal | Milestone: 7.10.1 Component: libraries/base | Version: 7.8.2 Resolution: fixed | Keywords: report- Operating System: Unknown/Multiple | impact Type of failure: None/Unknown | Architecture: Blocked By: | Unknown/Multiple Related Tickets: | Test Case: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by hvr): * keywords: => report-impact * milestone: => 7.10.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9099#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC