Re:Pyret: A new programming language from the creators of Ra...
by skrishnamurthi on Sunday November 10, 2013 @08:21AM
(#6706330)
Pyret is not pure. We have mutation. But mutation has its own syntax different from regular binding. Variables (as opposed to identifiers) are preceded by "var", and variable mutation uses ":=". [Similarly for fields.] This it to make clear to all forms of readers -- programmers, compilers, IDEs -- when something is mutable.
[ Parent
| on HN ]
There are no comments on this comment yet.