texmacs-dev
[Top][All Lists]
Advanced

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

[Texmacs-dev] scheme and texmacs


From: Sam Liddicott
Subject: [Texmacs-dev] scheme and texmacs
Date: Wed, 23 May 2012 09:23:35 +0100

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|?|?>

If I put a literal number instead of the x then a bold ? is shown
<extern|(lambda (x) (squarez 3))|3>

What am I missing here?

reply via email to

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