[GHC] #13669: Identifier "Otherwise" in guarded equation can crash a program

GHC ghc-devs at haskell.org
Tue May 9 11:59:07 UTC 2017


#13669: Identifier "Otherwise" in guarded equation can crash a program
-------------------------------------+-------------------------------------
        Reporter:  vanto             |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Iceland_jack):

 You can replace `otherwise` by `let` which is a keyword ;)

 (The same is true of `True`: `pattern True = P.False`)

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


More information about the ghc-tickets mailing list