Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2013
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
OCaml 0.17 KB | None | 0 0
  1. (** This prints the string plop when loading the module *)
  2. let foo = print_string "plop"; (+)
  3.  
  4. (** This behaves as expected *)
  5. let foo' a b = print_string "plop"; a + b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement