Skip to Content.
Sympa Menu

texmacs-users - [TeXmacs] character '>' in the "extern" primitive

Subject: mailing-list for TeXmacs Users

List archive

[TeXmacs] character '>' in the "extern" primitive


Chronological Thread 
  • From: "Takama M." <address@hidden>
  • To: address@hidden
  • Subject: [TeXmacs] character '>' in the "extern" primitive
  • Date: Thu, 18 Sep 2008 02:52:25 +0900

Hi,

i wrote the following macro:

<assign|pi()|<macro|<extern|(lambda () (number->string (acos -1)))>>> ,

but it does not work with an error message s.t.
Unbound variable: ~S|<number->string> .

However, by renaming the procedure name
"number->string" to "number-string", for example (with a Scheme session)

scheme] (tm-define number-string number->string)

the modified macro
<assign|pi()|<macro|<extern|(lambda () (number-string (acos -1)))>>> .
works.

why?

Is there some trick that handle the character '>' in scheme codes
in the "extern" primitive?

Or another reason that causes the macro not to work?.



Archive powered by MHonArc 2.6.19.

Top of Page