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

GHC ghc-devs at haskell.org
Fri May 12 13:06:20 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 vanto):

 Solution n° 2 appears to be well.\\

 Note that {{{otherwise}}}, which is a guard, is reserved word in Miranda.

 Why not in Haskell?

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


More information about the ghc-tickets mailing list