Add another instance of MyList (#100)

This commit is contained in:
Patrick Stevens
2024-02-18 14:13:34 +00:00
committed by GitHub
parent 1bbbf4bd06
commit 3209372b5b
5 changed files with 86 additions and 1 deletions

View File

@@ -61,3 +61,8 @@ and ConsCase =
Head : int
Tail : MyList
}
[<CreateCatamorphism "MyList2Cata">]
type MyList2 =
| Nil
| Cons of int * MyList2