Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (*Noeud = Node, vide() = empty()*)
- let rec make_branch cs = match cs with
- | [] -> vide ()
- | [c] -> Noeud (ref true, ref [c, vide ()])
- | c :: cs' -> Noeud (ref false, ref [c, make_branch cs'])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement