churf/sample-programs/basic-8

7 lines
121 B
Text

f : Int -> Int;
f x = let
double : Int -> Int;
double = \y:Int. y+y
in
double (x + 4);