I find that stderr is my friend!

I can execute this statement from meta-x:
(define squarel (lambda (x)  (* x x)))

(of course it doesn't work to call this from texmacs cos it gets passed a
tree)

but when I try and embed that in an extern lambda within the editor like
this:

<extern|(lambda () (define squarel (lambda (x) (* x x))))>

it prints as <syntax-error|memoization|~A ~S.|?|?>
and stderr shows:
<unnamed port>: In procedure memoization in expression ((lambda () #)):
<unnamed port>: Missing body expression in ((define squarel (lambda (x) (*
x x)))).


So what's going on there?

Sam
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to