Funny ')lisp a' at startup

7 views
Skip to first unread message

Grégory Vanuxem

unread,
Jan 3, 2024, 4:41:08 PM1/3/24
to fricas...@googlegroups.com
Hello,

You can test. This is not a bug, but since I use Lisp directly
sometimes for testing purposes I was surprised to see that 'a' is
bound at startup. 'a' is often used I think.

└─$ jlfricas
Checking for foreign routines
FRICAS="/usr/local/lib/fricas/target/x86_64-linux-gnu"
spad-lib="/usr/local/lib/fricas/target/x86_64-linux-gnu/lib/libspad.so"
foreign routines found
openServer result -2
FriCAS Computer Algebra System
Version: FriCAS 2023-06-17 built with sbcl 2.4.0.debian
Timestamp: mer. 03 janv. 2024 18:36:01 CET
-----------------------------------------------------------------------------
Issue )copyright to view copyright notices.
Issue )summary for a summary of useful system commands.
Issue )quit to leave FriCAS and return to shell.
-----------------------------------------------------------------------------

(1) -> )lisp a

Value = "{\\sf Union} is a primitive domain of \\Language{} which
cannot be defined in the \\Language{} language."
(1) ->

- Greg

Waldek Hebisch

unread,
Jan 3, 2024, 5:56:44 PM1/3/24
to fricas...@googlegroups.com
On Wed, Jan 03, 2024 at 10:40:29PM +0100, Grégory Vanuxem wrote:
> Hello,
>
> You can test. This is not a bug, but since I use Lisp directly
> sometimes for testing purposes I was surprised to see that 'a' is
> bound at startup. 'a' is often used I think.

Well, that is 'A' (and also 'X', 'Y', 'W' and 'Z'). This is mostly
harmless (the values are no longe needed), except for fact that most
Lisp-s will make 'A' special (and the other) special.

More generally FriCAS has a lot of symbol in BOOT package, some
care is needed to avoid clashes.

--
Waldek Hebisch

Grégory Vanuxem

unread,
Jan 3, 2024, 7:02:39 PM1/3/24
to fricas...@googlegroups.com
Ok. Not harmless as you said of course, just uncommon. A, B, C, X, Y,
Z are often used. But after all, using ')lisp' command is not intended
to be used by FriCAS final users.
> --
> You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/ZZXmKmJIQgvv1e-G%40fricas.org.
Reply all
Reply to author
Forward
0 new messages