vault backup: 2023-09-04 15:59:40
This commit is contained in:
@ -66,3 +66,10 @@ val square_of_pred: int -> int = <fun>
|
||||
# square_of_pred 3;;
|
||||
_: int = 4
|
||||
|
||||
# let square_of_pred x = let pred x = x - 1 in pred x * pred x
|
||||
val square_of_pred: int -> int = <fun>
|
||||
val pred: int -> int = <fun>
|
||||
|
||||
# square_of_pred 3;;
|
||||
_: int = 4 *same things but with another method*
|
||||
```
|
||||
|
Reference in New Issue
Block a user