let rec append = function l ->
match l with
| [] -> function l -> l
| h::t -> function l -> h::(append t l) ;;
A-t-on l'associativité :
| appendl1(appendl2l3) | = | h1::(appendl1'(appendl2l3)) |
| append(appendl1l2)l3 | = | append(h1::(appendl1'l2))l3 |
| = | h1::(append(appendl1'l2)l3) |