Skip to content

Double-space reguired around infix function calls

Latest
Compare
Choose a tag to compare
@eobrain eobrain released this 19 Oct 00:17
· 9 commits to master since this release

This release is mostly a change to the parser to handle whitespace in a uniform way.

The major change that is that the infix function-calling syntax requires two spaces around the function name. For example note the two spaces around str below:

    greeting := "Hello "
    name := "Eamonn"
    greeting  str  name

=> "Hello Eamonn"

which is equivalent to

    greeting := "Hello "
    name := "Eamonn"
    str(greeting,  name)

=> "Hello Eamonn"