Added .crf to every sample-program
This commit is contained in:
parent
9ea3a3dc56
commit
ccfae19541
10 changed files with 23 additions and 23 deletions
14
sample-programs/basic-9.crf
Normal file
14
sample-programs/basic-9.crf
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue