Hello,

Let x be of type SExpression. I would like to test whether x is the Lisp
value T. I can do this via

  foo(x: SExpression): Boolean ==
    TRUE: SExpression := EQ(x,x)$Lisp
    x = TRUE

But is there a simpler looking way of doing it. I had problems with

  bar(x: SExpression): Boolean ==
    TRUE: SExpression := T$Lisp
    x = TRUE

because T$Lisp would denote T$ and not T.

Both functions compile, but calling the second returns

   >> System error:
   The variable T$ is unbound.

Any help is welcome.

Thanks
Ralf

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to