10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-07-25 04:07:24 +02:00

Fixed exception

This commit is contained in:
Anthony Scemama 2020-10-09 10:04:48 +02:00
parent 7e26b5833a
commit 084417669f

View File

@ -3,7 +3,7 @@ let name = "QCaml"
let root =
let rec chop = function
| [] -> raise Not_found
| [] -> []
| x :: _ as l when x = name -> l
| _ :: rest -> chop rest
in