churf/sample-programs/basic-5.crf
2023-03-26 18:38:07 +02:00

8 lines
110 B
Text

double : Int -> Int ;
double n = n + n;
id : forall a. a -> a ;
id x = x ;
main : Int ;
main = id double 5;