On Wed, May 23, 2012 at 09:23:35AM +0100, Sam Liddicott wrote: > When I enter a scheme command (Meta-X): > > (define squarez (lambda (x) (* x x))) > > I can then enter Meta-X: (squarez 3) > > and the status bar says: 9 > > But if I enter this in the document: > > <extern|(lambda (x) (squarez x))|3> > > I get: > > <wrong-type-arg|*|Wrong type argument in position ~A: ~S|?|?>
The x is a TeXmacs tree, not a number. Also, the function was not defined to be secure. _______________________________________________ Texmacs-dev mailing list Texmacs-dev@gnu.org https://lists.gnu.org/mailman/listinfo/texmacs-dev