-
-
Notifications
You must be signed in to change notification settings - Fork 4
Home
pannous edited this page Mar 23, 2021
·
28 revisions
Welcome to the Wasp/Angle wiki!
Hello World in Angle is
"Hello World"
The deep formal reason why this is a valid program is that the last object in a block is its return value and the last result in the root block of the main file is printed.
Fibonacci in Angle is
fibonacci number = if number<2 : 0 else fibonacci(it - 1) + fibonacci it - 2
Note how number simulataneously acts as type and variable name.
Note how the unique argument number
can be accessed via it
keyword and brackets are optional
maps