From 74d3233f7d7984ebcef0d4e6778f0596e867de6c Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sat, 20 Dec 2014 23:25:40 -0400 Subject: * Java interop is almost finished. % _. and _.. syntax has been replaced with :: --- src/lang/util.clj | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lang/util.clj') diff --git a/src/lang/util.clj b/src/lang/util.clj index ec93ac27f..cdfa8555d 100644 --- a/src/lang/util.clj +++ b/src/lang/util.clj @@ -101,6 +101,11 @@ [::failure _] output)))) +(defn assert! [test message] + (if test + (return nil) + (fail message))) + (defn comp-m [f-m g-m] (exec [temp g-m] (f-m temp))) -- cgit v1.2.3