Regenaxer has quit [Ping timeout: 260 seconds]
inara has quit [*.net *.split]
inara has joined #picolisp
rgrau has quit [Ping timeout: 240 seconds]
rgrau has joined #picolisp
aw- has joined #picolisp
aw- has quit [Ping timeout: 240 seconds]
tankfeeder has quit [*.net *.split]
tankfeeder has joined #picolisp
rgrau has quit [Ping timeout: 240 seconds]
rgrau has joined #picolisp
aw- has joined #picolisp
aw- has quit [Quit: Leaving.]
aw- has joined #picolisp
aw- has quit [Client Quit]
aw- has joined #picolisp
groovy2shoes has joined #picolisp
orivej has joined #picolisp
Regenaxer has joined #picolisp
Ober has quit [Quit: Emacs must have died]
rob_w has joined #picolisp
akkad has joined #picolisp
<
tankfeeder>
Regenaxer: here ?
<
Regenaxer>
yes, good morning :)
aw- has quit [Ping timeout: 248 seconds]
aw- has joined #picolisp
<
tankfeeder>
one more recursion
<
tankfeeder>
task: what value in variable 'a'
<
tankfeeder>
comments are very welcome.
<
Regenaxer>
Perhaps not 'Lst' in (de d72 (Lst) ... ? Better 'X' or so, because the arg can be any type
<
Regenaxer>
As all are internal symbols, you could use 'asoq' instead of 'assoc'
<
tankfeeder>
Lst cant be NIL
<
Regenaxer>
or a number, or an internal symbol it seems
<
Regenaxer>
(d72 'a)
<
Regenaxer>
((num? Lst) ..
<
tankfeeder>
yes, or list
<
tankfeeder>
so i go forward.
<
Regenaxer>
Right, so the naming of that variable is confusing. I expect a list it the formal parameter is 'Lst'
<
tankfeeder>
between A and Lst i choose last one.
<
Regenaxer>
yes, I saw it. Still it confuses the reader I think
<
Regenaxer>
If I see 'Lst' I think the argument will always be a list, never a number or symbol
<
Regenaxer>
So ((num? Lst) looks wrong
<
Regenaxer>
"if this list is a number"
<
Regenaxer>
But don'w worry, just a naming thing, the program works the same ;)
<
Regenaxer>
must go, bbl
anjaa_ has joined #picolisp
cess11_ has joined #picolisp
anjaa has quit [Ping timeout: 255 seconds]
cess11 has quit [Ping timeout: 248 seconds]
orivej has quit [Ping timeout: 240 seconds]
aw- has quit [Quit: Leaving.]
aw- has joined #picolisp
aw- has quit [Client Quit]
orivej has joined #picolisp
aw- has joined #picolisp
miskatonic has joined #picolisp
<
aw->
i'm trying to make sense of (in "file.bin" (rd))
<
aw->
it just gives me a long number
<
Regenaxer>
'rd' needs PLIO input
<
aw->
ohh! well that explains it
<
Regenaxer>
if it is s-exprs, then (read), otherwise (line), (char) etc.
<
aw->
ok thanks! i'm off for the day
<
Regenaxer>
Must go too
aw- has quit [Quit: Leaving.]
rob_w has quit [Quit: Leaving]
orivej has quit [Ping timeout: 248 seconds]
karswell has joined #picolisp
rob_w has joined #picolisp
orivej has joined #picolisp
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
alexshendi has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
f8l has quit [Quit: WeeChat 1.9.1]
f8l has joined #picolisp
rob_w has quit [Read error: Connection reset by peer]
miskatonic has joined #picolisp
alexshendi has joined #picolisp
f8l has quit [Quit: WeeChat 1.9.1]
f8l has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]