there should be a function in SExpression that returns the empty list

2 views
Skip to first unread message

Qian Yun

unread,
6:33 AM (5 hours ago) 6:33 AM
to fricas-devel
There is function "null?" in SExpression, that checks for '(), aka NIL.

Currently the most simple way I can think of to get the empty
SExpression is: "[]::List SExpression::SExpression".
(Without using pretend.)

There should be a function
empty : () -> SExpression == NIL$Lisp
added.

- Qian

Reply all
Reply to author
Forward
0 new messages