Added .crf to every sample-program
This commit is contained in:
parent
9ea3a3dc56
commit
ccfae19541
10 changed files with 23 additions and 23 deletions
8
sample-programs/basic-5.crf
Normal file
8
sample-programs/basic-5.crf
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
double : Int -> Int ;
|
||||
double n = n + n;
|
||||
|
||||
id : forall a. a -> a ;
|
||||
id x = x ;
|
||||
|
||||
main : Int ;
|
||||
main = id double 5;
|
||||
Loading…
Add table
Add a link
Reference in a new issue