Quick update. One of the things that has been around in previous iterations of the language, which I've neglected to implement so far has been the ability to use symbols when defining a phrase.That lead to verbose operators in previous examples:
(x: int) plus (y: int) => int {...}
(a: bool) equals (b: bool) => bool {...}
With today's update, you can now use symbols (at the moment, pretty much any non-ascii, non-whitespace, non-open-curly/open-parens unicode character) in your phrase delcarations:
(x: int) + (y: int) => int {...}
(a: bool) = (b: bool) => bool {...}
No comments:
Post a Comment