alexshendi has quit [Read error: Connection reset by peer]
xkapastel has quit [Quit: Connection closed for inactivity]
Dragon-Warrior has joined #picolisp
Dragon-Warrior has quit [Client Quit]
orivej has joined #picolisp
jibanes has quit [Ping timeout: 250 seconds]
jibanes has joined #picolisp
ubLIX has joined #picolisp
ubLIX has quit [Quit: ubLIX]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
razzy has joined #picolisp
jibanes has quit [Ping timeout: 245 seconds]
xkapastel has joined #picolisp
xkapastel has quit [Quit: Connection closed for inactivity]
xkapastel has joined #picolisp
jibanes has joined #picolisp
razzy has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 268 seconds]
alexshendi has joined #picolisp
mtsd has joined #picolisp
ubLIX has joined #picolisp
_whitelogger has joined #picolisp
orivej has joined #picolisp
razzy has joined #picolisp
mtsd has quit [Quit: WeeChat 1.6]
shpx has joined #picolisp
shpx has quit [Quit: shpx]
shpx has joined #picolisp
<razzy>
uhm, how do i destructively delete from list (delete) is close, but (delete B A) do not delete B from A destructively
freemint has joined #picolisp
<razzy>
i meant delete from list*.*
<freemint>
I do not understand your question
<freemint>
razzy: can you reformulate?
<freemint>
(setq R (range 1 10))
<freemint>
(delete '3 R) -> (1 2 4 5 6 7 8 9 10)
<razzy>
i want to delete part of A list. that part is in B. (delete B A) returns
<freemint>
(= R (range 1 10)) -> T
<razzy>
yes
<freemint>
What is a part of list?
<freemint>
What do you mean by part?
<razzy>
you are right. but i want destructively save R
<freemint>
(setq R (delete B R))
<freemint>
?
<freemint>
You are very unclear
<razzy>
that solves it, propably
<razzy>
i am sorry
<freemint>
As long as your improve it is fine.
<freemint>
Still what do you mean by a part of a list?
<freemint>
"part" is not picolisp terminology
<razzy>
i hope it does not mess up function return value, will try
<freemint>
razzy please explain what you mean by part?
<razzy>
subset of list
<freemint>
is (1 3) is part of ( 3 2 1) ?
<freemint>
(sets normally thought of as "unordered")
<razzy>
(1 3) is not for (delete) function context
<razzy>
imho
<freemint>
is ( 3 2 1) a sublist of (3 5 2 1)?
<razzy>
imho no for (delete) function context.
<razzy>
(3 1) is subset of (1 2 (3 1) 4)
<freemint>
razzy when you invent terms (which is a fine practice in some circumstances) do not make implicit somewhere because that only confuses you and us.
<freemint>
razzy: subset is a reserved term from mathematics. lets find a better term
<razzy>
i will go back to coding
<razzy>
ok, now i get you
<freemint>
we are not just some oracles which are willing to guess what you mean
<freemint>
razzy if you want our help you got to make it easy for us to help you. we sometimes get frustrated over you.
<razzy>
will try next time
<freemint>
razzy you invented a new term (which might be a bad term but i think it is something we do not have a term for yet or you really need to learn the term)
* razzy
is happy code works.
<freemint>
razzy great
* razzy
have no spare brainpower for terms now, i am sorry, thank you.