Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # let plus x y = x + y;;
- val plus : int -> int -> int = <fun>
- # plus 5;;
- - : int -> int = <fun>
- # let increment x = plus 1 x;;
- val increment : int -> int = <fun>
- # increment 5;;
- - : int = 6
- # increment 2;;
- - : int = 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement