Thomas Hallgren <[EMAIL PROTECTED]> writes:

> In the syntax for labeled fields (records) the symbol <- is chosen
> as the operator used to associate a label with a value in
> constructions and patterns:
> According to a committee member, there were no convincing reasons
> why <- was chosen. Other symbols, like = and := were also considered.

I support Thomas Hallgen's suggestion that `=' be used instead.
Another reason, in addition to the two he mentioned, is that the `<-'
symbol is very unintuitive when used for pattern matching, because the
arrow is in the *opposite* direction to the data-flow.  I find this
very confusing.

Fergus Henderson              | Designing grand concepts is fun;
[EMAIL PROTECTED]               | finding nitty little bugs is just work.   | -- Brooks, in "The Mythical Man-Month".
PGP key fingerprint: 00 D7 A2 27 65 09 B6 AC  8B 3E 0F 01 E7 5D C4 3F

Reply via email to