Closed konn closed 10 years ago
hi2 cannot parse the code using MultiWayIf like below:
MultiWayIf
{-# 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.
TAB
| True -> ...
| False -> ..
hi2 cannot parse the code using
MultiWayIf
like below:If I push
TAB
in the next line of| True -> ...
or| False -> ..
, emacs reports parse error.