Enforce boolean conditions, binding discipline, depth limit
This commit is contained in:
parent
d3fa70bea8
commit
bb3c015416
4 changed files with 82 additions and 35 deletions
|
|
@ -1,4 +1,4 @@
|
|||
-- Factorial example with proper precedence
|
||||
factorial ≜ λn∈ℕ: (n≤1 ⟹ 1) | (n×factorial(n-1));
|
||||
result ← factorial(5);
|
||||
result ≜ factorial(5);
|
||||
✎result;
|
||||
Loading…
Add table
Add a link
Reference in a new issue