churf/sample-programs/basic-5
2023-03-22 10:32:22 +01:00

8 lines
105 B
Text

double : _Int -> _Int ;
double n = n + n;
id : 'a -> 'a ;
id x = x ;
main : _Int ;
main = id double 5;