Changes between Initial Version and Version 1 of Ticket #7783


Ignore:
Timestamp:
Mar 21, 2013 3:49:46 PM (2 years ago)
Author:
simonpj
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7783

    • Property Difficulty changed from to Unknown
  • Ticket #7783 – Description

    initial v1  
    2222main = print (x :: Int)
    2323}}}
    24 
     24because it parses like this:
     25{{{
     26x = if | False -> if | False -> 1
     27                     | False -> 2
     28                     | True -> 3
     29}}}
    2530Every other syntax introducing guards starts a layout; MultiWayIf's current behavior leads to subtle logic bugs for those unaware that MultiWayIf is special.