Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. y:bool x:int 2:int
  2. ____________________
  3. x:int, y:boolㅏ if y then x else 2 : int
  4. ________________________________
  5. x:int ㅏ( fun y -> if y then x else 2) : bool -> int
  6. ____________________________________________
  7. ㅏ(fun x -> (fun y -> if y then x else 2)) : int -> bool -> int
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement