Skip to Content
0
Former Member
Oct 14, 2006 at 11:32 PM

A few questions

22 Views

I&#39;ve just started playing with CAL, and have a few questions. As I&#39;m familiar with Haskell, they mostly take the form of "this is harder in CAL than Haskell, am I doing it the right way" <div><br /></div><div>1. Am I correct in thinking that there is no way of defining a Synonym for a type, e.g. in Haskell I&#39;d say: </div><div>type Picture = [[Char]] </div><div><br /></div><div>2. String is not equivalent to [Char]? </div><div><br /></div><div>3. You can only pattern match with a case statement? </div><div><br /></div><div>Thanks,</div><div> Tom</div>