We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Here is a tentative fibonacci number calculation using Encore:
class Fib def fib(n:int) : int if n < 2 then n else plet x = fib(n-1) y = fib(n-2) in x + y
In the code above, the plet statement runs the initialisation of x and y in parallel, and blocks until they are assigned until it executes x + y.
plet
x
y
x + y