Alexander Burger a...@software-lab.de writes:
Hi Alex,
I wonder if there is a way in PicoLisp to check if some function
argument is a SEXP, i.e. if something like a function 'sexp? exists that
returns T if the argument is a SEXP.
I'm a bit puzzled by this question. To my understanding,
Hi Thorsten,
I'm a bit puzzled by this question. To my understanding, every possible
expression in PicoLisp is a SEXP. Even auto-quoting expressions like
...
.. and was a bit confused when asking, I probably meant 'list' instead of
SEXP.
...
then invalid file names fall into category
On Monday 01 of July 2013 07:39:49 you wrote:
Hi Thorsten,
I wonder if there is a way in PicoLisp to check if some function
argument is a SEXP, i.e. if something like a function 'sexp? exists that
returns T if the argument is a SEXP.
how about (pair 'any) ? basically the opposite of
dexen deVries dexen.devr...@gmail.com
writes:
On Monday 01 of July 2013 07:39:49 you wrote:
Hi Thorsten,
I wonder if there is a way in PicoLisp to check if some function
argument is a SEXP, i.e. if something like a function 'sexp? exists that
returns T if the argument is a SEXP.
how
Hi Thorsten,
I've used fun? to determine if an argument had the proper form of something
that was executable or if it was data. It may not work in all cases, but it
was sufficient for my use case. As Alex mentioned, it won't let you know
whether it's actually executable or not. I think of it as
Joe Bogner joebog...@gmail.com writes:
Hi Joe,
I've used fun? to determine if an argument had the proper form of
something that was executable or if it was data. It may not work in
all cases, but it was sufficient for my use case. As Alex mentioned,
it won't let you know whether it's