Hi Arie,
I do like your https://picolisp.com/wiki/?pcedefunction wiki page very
much!
For me, it does show the subtleties of the topic in a very clear and
comprehensible way (even reproducible).
Just to distinguish 'x' from 'x' (see *1 below), would you mind, if I
would replace all 'x' function names by 'foo' on your fine article?
And just to follow the picolisp convention, to uppercase the function
Parameter Variables?
Second, a comment concerning the conclusion:
'very uninteresting function' ... it looks like, that these words are
spoken by 'the master' :-) himself,
but may be in some context, which is not seen within this quotation.
(Otherwise I would miss a lot of ratings for other functions in the docs
:-) ).
Sth. like 'de is equivalent to' followed by the setq examples would
sound less judgmental and the decision what to use is left to the
reader/user.
By the way, I did not try, because always used 'de' instead of 'setq'
for function definitions,
but may be 'setq' in combination with the different function parameter
possibilities (see *2 below) becomes less readable/distinguishable?
I really enjoy reading your article, as it summarizes in a clear,
comprehensible way all the little facts and differences, which make
picolisp so unique.
Thank you very much!
Olaf
=====
*1) I do understand, what ist meant by ... for example
(de x (x y) (println x) (println y) (+ x y))
but as I remember from my first readings of picolisp doc I know, that it
might be possible that s.o. confuses 'x' as function name with 'x' as
param of that function.
(In my case: I stumbled over (setq a (1 2 3 4 5) ) somewhere in the docs
as I expected a quote in front of the list - until I read in other place
(chapter "Evaluation" in the Picolisp Reference) , that a list starting
with a number is always treated as a list :-)
*2) Chapter "Preventing arguments evaluation and variable number of
arguments" of the Picolisp Tutoral with 'mixing evaluated and variable
number of uneavaluated arguments' and other nice specialities
On 26.05.2018 17:18, Arie van Wingerden wrote:
Hi all,
as earlier announced, I'll try to add stuff that could be useful to
others, but at least for me is a way to learn PicoLisp along the way.
TL;DR;
The few last days I got used to the Wiki syntax Alex created. Being at
this point I find it a very easy to use Wiki, that breathes the same
minimalism as PicoLisp. I like that very much! Currently my joy about
the yellow lines is huge :)
On this page https://picolisp.com/wiki/?Documentation I now have a
link called "A collection of PicoLisp examples", which points to:
https://picolisp.com/wiki/?PCE, where an overview of all examples will
be placed.
So far I've done a bit on the 'de' function. I am am grateful to Alex
for helping and correcting me. I'll try to only put the "truth" online :)
​Since things aren't going very fast, it would be nice if you all take
a look evry now and then and give comments, or just update/correct​
the stuff I did.
Another thing which I will put on the overview page is some links to
other PicoLisp pages that (I suppose) are lesser known). I might even
try to contact the creators of such pages and ask them to transfer
such stuff to the PicoLisp Wiki in order to assure continuity and
easiness to find it.
Thx. to all!
Arie
--
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe