Catch-all aliases working again
[hcoop/domtool2.git] / src / eval.sml
index 8789eac..1fec487 100644 (file)
@@ -102,7 +102,7 @@ fun exec' evs (eAll as (e, _)) =
        in
            case Env.action prim of
                NONE => raise Fail "Unbound primitive action"
-             | SOME action => action (evs, args)
+             | SOME action => action (evs, List.map (Reduce.reduceExp Env.empty) args)
        end
 
 fun exec evs e =