Advertisement
Guest User

Assert with Message

a guest
Feb 18th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
OCaml 0.08 KB | None | 0 0
  1. let assert_with_message cond msg =
  2.     if not cond then
  3.         failwith msg
  4.     else
  5.         ();;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement