1 2 3 4 5 6 7 8 9 10 11
//@NO-IMPLICIT-PRELUDE //! Assertion functions. let { error } = import! std.prim let assert_msg x s = if x then () else error s let assert x = assert_msg x "Assertion failed" { assert, assert_msg, }