first commit

This commit is contained in:
2021-12-16 21:01:08 +11:00
committed by aaron-jack-manning
commit bba29d0008
20 changed files with 705 additions and 0 deletions

5
lib/tree.ml Normal file
View File

@@ -0,0 +1,5 @@
open List
open Types
let combine (tr1 : 'a tree) (tr2 : 'a tree) (topBranch : 'a) : 'a tree =
Branch (topBranch, tr1 :: tr2 :: [])