vault backup: 2023-09-12 16:16:12
This commit is contained in:
parent
1b9c17fe27
commit
42e289c63f
@ -1,4 +1,5 @@
|
||||
![[recursivite-meme.png]]
|
||||

|
||||
|
||||
### 5.1. Simple functions
|
||||
To create a recursive function we have to use this structure
|
||||
|
||||
@ -19,7 +20,7 @@ To create a recursive function we have to use this structure
|
||||
# fact 4;;
|
||||
-: int = 24
|
||||
```
|
||||
![[fact function response.png]]
|
||||

|
||||
> ⚠️ CAML have a call stack limite (it will block with stack overflow if the limit is reach)
|
||||
|
||||
**Basic expression**
|
||||
|
Loading…
x
Reference in New Issue
Block a user