vault backup: 2023-10-13 15:58:05
This commit is contained in:
parent
83f1ecc9c0
commit
716bbdfe7b
@ -206,6 +206,9 @@ val insert_post : 'a -> 'a -> a' list -> list = <fun>
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Exercise 3.5
|
## Exercise 3.5
|
||||||
```
|
```Ocaml
|
||||||
|
let rec reverse = function
|
||||||
|
| [] -> []
|
||||||
|
| e::t -> reverse t@[e];;
|
||||||
|
val reverse : 'a list -> 'a list = <fun>
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user