[GHC] #8769: Minor refactoring of Maybe.lhs

GHC ghc-devs at haskell.org
Thu Feb 13 08:11:20 UTC 2014


#8769: Minor refactoring of Maybe.lhs
--------------------------------------+------------------------------------
        Reporter:  Iceland_jack       |            Owner:
            Type:  bug                |           Status:  patch
        Priority:  lowest             |        Milestone:
       Component:  libraries (other)  |          Version:  7.7
      Resolution:                     |         Keywords:
Operating System:  Unknown/Multiple   |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown       |       Difficulty:  Unknown
       Test Case:                     |       Blocked By:
        Blocking:                     |  Related Tickets:
--------------------------------------+------------------------------------

Comment (by Iceland_jack):

 I removed `mapCatMaybes`, `allMaybes` and `maybeToBool` completely from
 `Maybes`, I decided to keep `firstJust` since the name is clearer than
 `msum` (should `orElse` be moved to `Data.Maybe`? it seems to be the sole
 reason for importing `Maybes` much of the time).

 Did you have any other modules in mind that needed cleanup?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8769#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list