Alexander Solovets wrote:
>
> > Alexander, will you have more complete version quickly? =A0If yes
> > maybe we should wait for this version? =A0Otherwise we should go
> > with your current version.
>
> Sorry, I won't. I will try to implement remaining constructions ASAP,
> but I have no much time because I've been starting to work on my
> thesis. If you want to test 'texmacs-format' without having TeXmacs
> installed, you can grad output and ask someone to put it in TeXmacs
> via 'Edit->Paste from->Scheme'. Not pretty, but works =3D)
>
> P.S. Can I find a list of common used functions for boot? Especially,
> how can I check whether a variable is a list?
You can use Lisp functions writing name in upper case, in particular
LISTP tests if its argument is a list. However, typically one needs
to do more. For such cases Boot has pattern matching, for example
l is ["Mapping",:.]
checks that l is a list with first element beeing symbol "Mapping"
(note that in Boot unlike most other languages double quotes mean
symbol). As a byproduct of test you can assign subpaterns to
variables, like:
l is ["Mapping", x, y]
which checks if l is a three element list beginning in "Mapping"
and if yes assigns second element to 'x' and third to 'y'.
Note that the match as whole is a boolean expression which you
can use as other tests.
--
Waldek Hebisch
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en.