aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/variable.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/variable.spad.pamphlet')
-rw-r--r--src/algebra/variable.spad.pamphlet6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/algebra/variable.spad.pamphlet b/src/algebra/variable.spad.pamphlet
index edf83230..1ae7899d 100644
--- a/src/algebra/variable.spad.pamphlet
+++ b/src/algebra/variable.spad.pamphlet
@@ -101,16 +101,18 @@ AnonymousFunction():SetCategory with
++ body(f) returns the body of the unnamed function `f'.
== add
import Syntax
+ import %lsecond: % -> Syntax from Foreign Builtin
+ import %lthird: % -> Syntax from Foreign Builtin
coerce(x:%):OutputForm ==
x pretend OutputForm
parameters f ==
- ps := CADR(f)$Lisp : Syntax
+ ps := %lsecond f
ps case Identifier => [ps]$List(Identifier)
getOperands(ps) pretend List(Identifier)
body f ==
- CADDR(f)$Lisp : Syntax
+ %lthird f
@