Newer changes
This commit is contained in:
commit
b35c19572f
10 changed files with 279 additions and 75 deletions
6
sample-programs/good1
Normal file
6
sample-programs/good1
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
main : _Int ;
|
||||
main = (id : _Int -> _Int) 5 ;
|
||||
|
||||
id : 'a -> 'a ;
|
||||
id x = (x : 'a);
|
||||
|
||||
5
sample-programs/mono.crf
Normal file
5
sample-programs/mono.crf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
const x y = x;
|
||||
|
||||
f x = (const x 'c');
|
||||
|
||||
main = f 5;
|
||||
Loading…
Add table
Add a link
Reference in a new issue