added PEnum

This commit is contained in:
sebastianselander 2023-03-24 17:39:10 +01:00
parent d6d0fb7146
commit 41fc863658
5 changed files with 43 additions and 20 deletions

14
sample-programs/basic-9 Normal file
View file

@ -0,0 +1,14 @@
data List (a) where {
Nil : List (a)
Cons : a -> List (a) -> List (a)
};
test xs = case xs of {
Cons Nil _ => 0 ;
};
List a /= List (List a)
a /= List a