23 May 2012 10:23
scheme and texmacs
Sam Liddicott <sam <at> liddicott.com>
2012-05-23 08:23:35 GMT
2012-05-23 08:23:35 GMT
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
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?
_______________________________________________ Texmacs-dev mailing list Texmacs-dev <at> gnu.org https://lists.gnu.org/mailman/listinfo/texmacs-dev
RSS Feed