
17 Sep
2007
17 Sep
'07
12:23 p.m.
Hi
case e of b { pati -> rhsi }
* evaluates 'e', * binds the resulting value to 'b', * performs case analysis on the result to find which alternative to choose * binds the variables of the pattern to the components of the value
The Yhc.Core translator converts this to: let b = e in case b of { pati -> rhsi } I'm not sure if that would be a clearer form for you to work with, as it is closer to standard Haskell. Thanks Neil