Skip to content
Pannous edited this page Sep 22, 2021 · 1 revision

=

The operator = and its equivalent keyboard is can act as

five=5
fib int i = if i<2 : 1 else fib(i - 1) + fib i - 2
if fib 3 = 5 : print "of cause"

Since one may quickly run into ambiguities and there is a high chance that early versions of the compiler do not catch it, we strongly encourage to use other operators/keywords for function declaration and equality comparison:

fib := if it<2 : 1 else fib(it - 1) + fib it - 2
if fib 3 == 5 : print "of cause"

In fact it may be a bad idea to ever allow “natural” usage of =

This implementation may turn out to be so difficult that it is currently postponed.

Home

Philosophy

data & code blocks

features

inventions

evaluation

keywords

iteration

tasks

examples

todo : bad ideas and open questions

⚠️ specification and progress are out of sync

Clone this wiki locally