Hi Arie,

> here is the public link:
>    https://www.evernote.com/pub/hotcore/picolisp
> 
> There are 2 ways to use it:
> 1. just use the link in a browser

A bit tedious is that evernote needs JavaScript. I have JS off by default
in Chrome, and use I mostly w3m anyway.


A few notes:

"nil is just a symbol" could well be "'nil' is a function". Same for 't'

'de' can be used to define *anything*, not just functions. Functions are
just data anyway.

(de) gives a "protected symbol" error, because it is in fact (de NIL NIL)
(unsupplied arguments are NIL in pil), so it tries to redefine NIL

"Because de always lists its arguments except for the first one". Well, 'de'
does not list anything, it just 'set's a value: (de x a b c) is (de x . (a b c))
so the first arg (here 'x') is set to the CDDR (here (a b c)). The list (a b c)
is not built here, it is only a pointer move. The list itself has been built by
the Lisp reader.

Same in "Without arguments beyond the first, it thus creates an empty list".
Nothing is created, only the pointer to NILT moved into the value cell of 'x'


So in general, 'de' is a very uninteresting function. You could use 'set'
or 'setq' instead:  (set 'x '(a b c)) or (setq x '(a b c))

♪♫ Alex

-- 
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe

Reply via email to