[Haskell-cafe] How come pattern match does not recognize this code
style?
Magicloud Magiclouds
magicloud.magiclouds at gmail.com
Sun Oct 25 22:39:13 EDT 2009
Hi,
In case of this:
case bala of
[ bala
, bala
, bala ] -> bala bala bala
_ -> bala
ghc 6.10.4 would fail to compile, because of the wrong indent of
line ", bala".
--
竹密岂妨流水过
山高哪阻野云飞
More information about the Haskell-Cafe
mailing list