Wiki design update

2022-02-08 Thread Erik Gustafson
Hi list, I thought the wiki could use an update for 2022. Have a look - picolisp.com There's a new take on the logo, the login/edit forms are nicer and better behaved on mobile. And I threw in some CSS gradients to make it look extra cool 😎 Feedback welcome! -Erik

Re: Wiki design update

2022-02-08 Thread Jean-Christophe Helary
Very nice Erik ! Regarding the border-radius for the tag (currently at 0.3/0.5 for the ), I think something a bit less curved would look better at the box angles: https://picolisp.com/wiki/?help Also, adding just a tiny bit of padding would make the code breath a bit. Cheers, Jean-Christophe

Possible bug with prog1 and @

2022-02-08 Thread Kevin Ednalino
Hello, I may have encountered a possible bug, unless my understanding of @ is incorrect. It appears the value of @ is not restored in a prog1 body when another flow/logic statement occurs as the car of an expression within the said prog1 body. In both cases, the correct result is returned from pro

Re: Possible bug with prog1 and @

2022-02-08 Thread Wilhelm Fitzpatrick
This behavior seems like it is "as advertised"? I see in the documentation: "Flow- and logic-functions store the result of their controlling expression - respectively non-NIL results of their conditional expression - in @." So the case when (sym? A2) seemingly would not update the current val

Re: Possible bug with prog1 and @

2022-02-08 Thread Alexander Burger
Hi Kevin, > I may have encountered a possible bug, unless my understanding of @ is > incorrect. It appears the value of @ is not restored in a prog1 body when > another flow/logic statement occurs as the car of an expression within the This is right. All flow functions which set '@' do *not* bind

Re: Wiki design update

2022-02-08 Thread Erik Gustafson
Hi Jean-Christophe, Good suggestions, that page looked pretty bad. I've uploaded a new css file with the changes. Thanks, Erik

some questions relating pilog

2022-02-08 Thread pd
Hello, I'm using picolisp version 18.12.27 C in a debian 10.10 based distro, installed as package picolisp 18.12-1 I'm playing with pilog and there're some examples that does not run: 1- the example in doc reference for repeat/0 [1] : : (be integer (@I) # Generate unlimited supply of integers

Re: Wiki design update

2022-02-08 Thread Jean-Christophe Helary
> On Feb 9, 2022, at 10:20, Erik Gustafson wrote: > > Hi Jean-Christophe, > > Good suggestions, that page looked pretty bad. I've uploaded a new css file > with the changes. Erik, Would you mind adding similar padding values to as there are for ? The setting on line 247 is not inherit

Re: Wiki design update

2022-02-08 Thread Erik Gustafson
Hi Jean-Christophe, The setting on line 247 is not inherited by and that > cramps the code blocks inside the grey background box. > Oops! It seemed to be inherited in firefox for me. Ok, changed :)

Re: Wiki design update

2022-02-08 Thread Jean-Christophe Helary
> On Feb 9, 2022, at 12:12, Erik Gustafson wrote: > > Hi Jean-Christophe, > > The setting on line 247 is not inherited by and that > cramps the code blocks inside the grey background box. > > Oops! It seemed to be inherited in firefox for me. Ok, changed :) Erik, There must be a lag be

Re: some questions relating pilog

2022-02-08 Thread Alexander Burger
Hi pd, > I'm using picolisp version 18.12.27 C in a debian 10.10 based distro, > ... > I'm playing with pilog and there're some examples that does not run: > ... >(^ @I (inc @C)) ) > ... > I can make it work if I use the -> functon this way: > ... >(^ @I (inc (-> @C))) ) > > Is the refere