aboutsummaryrefslogtreecommitdiff
path: root/src/interp
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-05-04 22:58:19 +0000
committerdos-reis <gdr@axiomatics.org>2010-05-04 22:58:19 +0000
commit9d2955097e1bd70c06df5c5a55da67fb151466c2 (patch)
tree5ce0875622285f2ae952e9873c8fbbceb70e2762 /src/interp
parentf80c3bdc59b97891016df6fe6ddb4d54f2178c77 (diff)
downloadopen-axiom-9d2955097e1bd70c06df5c5a55da67fb151466c2.tar.gz
* interp/define.boot (compDefineCategory2): Tidy.
Diffstat (limited to 'src/interp')
-rw-r--r--src/interp/define.boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/define.boot b/src/interp/define.boot
index 5a8930ee..f9d2aeeb 100644
--- a/src/interp/define.boot
+++ b/src/interp/define.boot
@@ -500,8 +500,8 @@ compDefineCategory2(form,signature,specialCases,body,m,e,
['sublisV,['PAIR,['QUOTE,sargl],['LIST,:
[['devaluate,u] for u in sargl]]],body]
body:=
- ["PROG1",["%LET",g:= GENSYM(),body],
- ["setShellEntry",g,0,mkConstructor $form]]
+ ["%Bind",[[g:= GENSYM(),body]],
+ ["setShellEntry",g,0,mkConstructor $form],g]
fun:= compile [op',["LAM",sargl,body]]
-- 5. give operator a 'modemap property