[parser] (wip) explicitely typing the language

This commit is contained in:
Arnaud DABY-SEESARAM
2022-12-09 16:33:07 +01:00
parent f84279c5d8
commit 428b0a75e2
4 changed files with 92 additions and 139 deletions

2
src/utils.ml Normal file
View File

@@ -0,0 +1,2 @@
let rec list_repeat n elt =
if n = 0 then [] else elt :: (list_repeat (n-1) elt)