
26 Sep
2003
26 Sep
'03
6:08 a.m.
Hi. I'm really new to Haskell, just learning it, and I must say I'm pretty overwhelmed by the large variety of constructs. (=>, <-, \ to name a few)
Would that be \ as in TREX row variable polymorphism? Just remember most operators are just library functions. It's only =, ->, =>, <-, :: that are really part of the language, and {,},; for grouping. Did I miss any?
Yes, you missed \, which is used for function abstraction:
(\x -> x*x) 3
And ( , ) for tuples.
And I don't think "->" is part of the language - it only appears in the type syntax, not term syntax. If you allow it, you have to allow * as well.
--KW 8-)
--
Keith Wansbrough