Re:Pyret: A new programming language from the creators of Ra...
by acjohnson55 on Saturday November 09, 2013 @05:57PM
(#6703905)
They didn't say one way or the other whether the language was pure FP, but I don't think any of the examples featured mutuality
[ Parent
| on HN ]
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.