Re:Reason: A new interface to OCaml
by alex_muscar on Wednesday May 18, 2016 @10:54AM
(#11722388)
I didn't say constructor arguments don't have tuple semantics :). In OCaml tuples are a "unit", i.e. you can't use (,) as an operator. In that sense they match with the constructor semantics: it needs all its arguments at once. It's the constructors not being functions that I was complaining about. Also, I'd say that capitalisation alone is not enough to compensate for constructors looking like they're curried functions. But that's just a matter of taste.
[ Parent
| on HN ]
There are no comments on this comment yet.