Yes,

)set messages type off

Type )set mess to see more options.

Example:
(1) -> lisp(s:String):SExpression == EVAL(READ_-FROM_-STRING(s)$Lisp)$Lisp
   Function declaration lisp : String -> SExpression has been added to
      workspace.
Type: Void
(2) -> lisp "(+ 2 3 4)"
   Compiling function lisp with type String -> SExpression

   (2)  9
Type: SExpression

(3) -> )set mess type off
(3) -> lisp "(+ 2 3 4)"

   (3)  9

(4) ->



On 25/11/2025 20:13, Dima Pasechnik wrote:
Thanks. Is there an option to suppress output of types?

On November 25, 2025 12:14:15 PM CST, Kurt Pagani <[email protected]> wrote:
You may call LISP functions and variables as below, returning "SExpression", 
which can processed further ....

(4) -> LISP_-IMPLEMENTATION_-TYPE()$Lisp

   (4)  "SBCL"
                                                            Type: SExpression
(5) -> LISP_-IMPLEMENTATION_-VERSION()$Lisp

   (5)  "2.2.9.debian"
                                                            Type: SExpression


Notice, that the underlines ("_") are necessary to deal with dashes "-" in 
FriCAS.




On 25/11/2025 17:33, Dima Pasechnik wrote:
I found out the following:
)lisp (lisp-implementation-type)

will output

Value = <type>

E.g.

sage: fricas.eval(")lisp (lisp-implementation-type)")
'\nValue = "SBCL"'

How does one modify the call to remove "Value =" ?


On Tuesday, November 25, 2025 at 10:16:49 AM UTC-6 Dima Pasechnik wrote:

     What is the best way to find the Lisp used to build FriCAS?
     I know that "fricas --version" outputs it (at least on sufficiently
     new releases),
     but it still needs code to get to it.

     Asked in connection to https://github.com/sagemath/sage/pull/41231
     <https://github.com/sagemath/sage/pull/41231>
     where an attempt is made to allow Sage to use GCL-compiled friCAS.

     Thanks
     Dima

--
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 
[email protected] <mailto:fricas- 
[email protected]>.
To view this discussion visit https://groups.google.com/d/msgid/fricas- 
devel/3fe080b2-88e3-4221-9dbc-5f7faabc246an%40googlegroups.com <https:// 
groups.google.com/d/msgid/fricas- 
devel/3fe080b2-88e3-4221-9dbc-5f7faabc246an%40googlegroups.com? 
utm_medium=email&utm_source=footer>.



--
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/fricas-devel/ffba361b-ae53-4b94-b2c6-75bde4d8af41%40gmail.com.

Reply via email to