diff options
author | Eduardo Julian | 2015-01-10 22:53:37 -0400 |
---|---|---|
committer | Eduardo Julian | 2015-01-10 22:53:37 -0400 |
commit | 409821d93f2781559677cdc2595ed15aa41eb933 (patch) | |
tree | 03f8cb589bfaf562c94c7d89707d680874123871 /src/lux/util.clj | |
parent | 8809c018b626132429a5673778db7093945037c3 (diff) |
* Changed the language so variants now store their elements directly, instead of relying on a tuple.
* Changed the pattern-matching and variant generation code accordingly.
* Also changed a bit the special form for defining classes.
Diffstat (limited to 'src/lux/util.clj')
-rw-r--r-- | src/lux/util.clj | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lux/util.clj b/src/lux/util.clj index 83fdc16aa..890b73880 100644 --- a/src/lux/util.clj +++ b/src/lux/util.clj @@ -35,10 +35,6 @@ (reduce (fn [inner [label computation]] (case label :let `(let ~computation ~inner) - ;; :when (assert false "Can't use :when") - :when `(if ~computation - ~inner - zero) ;; else `(bind ~computation (fn [~label] ~inner)))) return |