[GHC] #9335: Add Functor, Applicative, Monad instances for First, Last

#9335: Add Functor, Applicative, Monad instances for First, Last -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Keywords: | Differential Revisions: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: -------------------------------------+------------------------------------- This was proposed in 2011 [1] with no serious objections although wasn't implemented until it was again mentioned in 2014 [2]. [1] http://www.haskell.org/pipermail/libraries/2011-January/015552.html [2] http://www.haskell.org/pipermail/libraries/2014-June/023228.html -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9335 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9335: Add Functor, Applicative, Monad instances for First, Last -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: feature | Status: patch request | Milestone: Priority: normal | Version: 7.8.2 Component: | Keywords: libraries/base | Operating System: Unknown/Multiple Resolution: | Type of failure: None/Unknown Differential Revisions: | Test Case: Architecture: | Blocking: Unknown/Multiple | Difficulty: Unknown | Blocked By: | Related Tickets: | -------------------------------------+------------------------------------- Changes (by bgamari): * cc: hvr, ekmett (added) * status: new => patch * component: Compiler => libraries/base -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9335#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9335: Add Functor, Applicative, Monad instances for First, Last -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: feature | Status: patch request | Milestone: Priority: normal | Version: 7.8.2 Component: | Keywords: libraries/base | Operating System: Unknown/Multiple Resolution: | Type of failure: None/Unknown Differential Revisions: | Test Case: Architecture: | Blocking: Unknown/Multiple | Difficulty: Unknown | Blocked By: | Related Tickets: | -------------------------------------+------------------------------------- Comment (by bgamari): Or see https://github.com/bgamari/ghc/tree/first-last-amf -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9335#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9335: Add Functor, Applicative, Monad instances for First, Last -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: feature | Status: patch request | Milestone: Priority: normal | Version: 7.8.2 Component: | Keywords: libraries/base | Operating System: Unknown/Multiple Resolution: | Type of failure: None/Unknown Differential Revisions: | Test Case: https://phabricator.haskell.org/D81| Blocking: Architecture: | Unknown/Multiple | Difficulty: Unknown | Blocked By: | Related Tickets: | -------------------------------------+------------------------------------- Changes (by bgamari): * differential: => https://phabricator.haskell.org/D81 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9335#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9335: Add Functor, Applicative, Monad instances for First, Last -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: feature | Status: patch request | Milestone: Priority: normal | Version: 7.8.2 Component: | Keywords: libraries/base | Operating System: Unknown/Multiple Resolution: | Type of failure: None/Unknown Differential Revisions: Phab:D81 | Test Case: Architecture: | Blocking: Unknown/Multiple | Difficulty: Unknown | Blocked By: | Related Tickets: | -------------------------------------+------------------------------------- Changes (by bgamari): * differential: https://phabricator.haskell.org/D81 => Phab:D81 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9335#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9335: Add Functor, Applicative, Monad instances for First, Last -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: feature | Status: closed request | Milestone: Priority: normal | Version: 7.8.2 Component: | Keywords: libraries/base | Architecture: Unknown/Multiple Resolution: fixed | Difficulty: Unknown Operating System: | Blocked By: Unknown/Multiple | Related Tickets: Type of failure: | None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D81 | -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: patch => closed * resolution: => fixed Comment: This was merged in 9a7440c0dc038a19432e86923ac30ade7bcea3e7/ghc. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9335#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC