texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] scheme and texmacs


From: Joris van der Hoeven
Subject: Re: [Texmacs-dev] scheme and texmacs
Date: Sun, 1 Jul 2012 22:12:14 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]