nilcons / hi2

haskell-indentation 2nd try
GNU General Public License v3.0
33 stars 3 forks source link

Cannot parse MultiWayIf #8

Closed konn closed 10 years ago

konn commented 10 years ago

hi2 cannot parse the code using MultiWayIf like below:

{-# LANGUAGE MultiWayIf #-}
module Main where

main :: IO ()
main = if | True -> print 12
          | False -> print 1234

If I push TAB in the next line of | True -> ... or | False -> .., emacs reports parse error.