beneroth changed the topic of #picolisp to: PicoLisp language | The scalpel of software development | Channel Log: https://libera.irclog.whitequark.org/picolisp | Check www.picolisp.com for more information
razzy has joined #picolisp
aw- has joined #picolisp
cess11 has quit [*.net *.split]
Svjatoslav has quit [*.net *.split]
Svjatoslav has joined #picolisp
cess11 has joined #picolisp
hunar has joined #picolisp
<hunar> Hi :D I have two small questions How can I set cdr value of a cons cell (setq A (1)) (set (cdr A) (cons 2 NIL)) result should be (1 2) It has no use to me, i'm just curious.. in CL I can do it with setf
<Regenaxer> Hi Hunar! 'con' sets the CDR of a cell.
<hunar> Great :D Second question: why does this hang (mapcon '((N) N) (1 2 3)) and maybe more importantly, why cant i ctrl-C out of these type of hangs in pil :/
<hunar> I was expecting it to have the same result as (mapcon '((N) (copy N)) (1 2 3))
<Regenaxer> (1) yes, mapcon concatenates destructively
<Regenaxer> (2) seems it does not check for signals
<Regenaxer> Some tight loops do not check for signals, it is a performance tradeoff
<hunar> Now I got it :) thanks
<Regenaxer> :)
<Regenaxer> You know you can stop it with Ctrl-\ right?
<Regenaxer> SIGQUIT
<hunar> Ooo that's very usefull .. I only knew Ctrl-C .. However it didn't work in WSL :/
<Regenaxer> It is a terminal setting
<Regenaxer> $ stty -a
<Regenaxer> ... ; quit = ^\; ...
<hunar> My WSL has quit = ^\ in stty -a but pressing it doesn't do anything.. It worked in virtualbox/linux though
<Regenaxer> I see
<Regenaxer> Lots of quirks in WSL
<hunar> Yeah
razzy has quit [Ping timeout: 245 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 265 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 260 seconds]
razzy has joined #picolisp
aw- has quit [Ping timeout: 252 seconds]
razzy has quit [Ping timeout: 260 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 265 seconds]
hunar has quit [Quit: Client closed]
beneroth has quit [Quit: Leaving]
razzy has joined #picolisp
stultulo has joined #picolisp
f8l has quit [Ping timeout: 250 seconds]