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
peterhil_ has joined #picolisp
peterhil has quit [Read error: Connection reset by peer]
tankf33der has quit [Quit: Ping timeout (120 seconds)]
tankf33der has joined #picolisp
razzy has quit [Ping timeout: 268 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 248 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 256 seconds]
razzy has joined #picolisp
rob_w has joined #picolisp
razzy has quit [Ping timeout: 256 seconds]
razzy has joined #picolisp
rob_w has quit [Read error: Connection reset by peer]
beneroth has quit [Quit: Leaving]
<Regenaxer> razzy: Will you join? I'll talk about destructive operations
aw- has quit [Quit: Leaving.]
aw- has joined #picolisp
razzy has quit [Remote host closed the connection]
razzy has joined #picolisp
razzy has quit [Ping timeout: 268 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 248 seconds]
razzy has joined #picolisp
anjaa1 has joined #picolisp
razzy_ has joined #picolisp
cess112 has joined #picolisp
emacsoma1 has joined #picolisp
razzy has quit [*.net *.split]
aw- has quit [*.net *.split]
Regenaxer has quit [*.net *.split]
emacsomancer has quit [*.net *.split]
anjaa has quit [*.net *.split]
anddam has quit [*.net *.split]
cess111 has quit [*.net *.split]
Nistur has quit [*.net *.split]
casaca has quit [*.net *.split]
inara has quit [*.net *.split]
aw- has joined #picolisp
Regenaxer has joined #picolisp
<razzy_> PilCon afterthoughts: maybe destructive functions suppose to look ugly so you notice them in text. :)
<razzy_> long and ugly in original lisps.
inara has joined #picolisp
casaca has joined #picolisp
anddam has joined #picolisp
Nistur has joined #picolisp
<razzy_> PilCon afterthoughts: Definition of destructive function as suprising is unwise because it is subjective. Only definition I could come up with is: non-destructive is when you can keep read only lock on insides of function.(Everybody else can also read data freely.)
beneroth has joined #picolisp
<Regenaxer> razzy_, well, at least I see that my definition of changing only list structures was also not good
<Regenaxer> I would say it is destructive it it changes something not explicitly told
<Regenaxer> (cut 'cnt 'var) explicitly sags to change 'var', so it is not destructive
<Regenaxer> (flip 'lst) changes cells pointed to somewhere by 'lst', so it is destructive
<Regenaxer> "surprising" is indeed subjective
<razzy_> Regenaxer: I fail see how is it obvious that (cut) changes 'var. cut is arbitrary name that could mean anything.
<Regenaxer> It cuts several values out of the value of 'var', just as (inc 'N) increments the value of 'N'
<Regenaxer> So 'setq', 'inc' or 'cut' are not destructive, they do only what they are told to do
<razzy_> Regenaxer: I think I get your point. but I explain myself: If I read whole description of (cut) and examples and test it out I know what (cut) do for my case. But if i read whole description, destructive mark has lesser value to me. If I only know if function is hard-non-destructive(do not mutate anything) and nothing else, I could safely ignore it for some purposses in code. Which is help. (Imagine that
<razzy_> you do not know nothing about picolisp functions and you only glance a mark of destructivness.)
<razzy_> maybe we could make a mark on functions that read-only it insides.
<Regenaxer> Hmm, there is no concept of insides
<razzy_> inputs is better word?
<Regenaxer> arguments
<Regenaxer> yes, so this is close
<Regenaxer> when I said "told"
razzy_ has quit [Ping timeout: 248 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 252 seconds]
aw- has quit [Quit: Leaving.]
NobleNibble is now known as f8l
aw- has joined #picolisp
razzy has joined #picolisp
f8l has quit [Remote host closed the connection]
f8l has joined #picolisp
razzy has quit [Quit: Lost terminal]
razzy has joined #picolisp
<razzy> somebody was interested in colouring lisp parentheses. there is emacs mod for that. https://github.com/alphapapa/prism.el
<razzy> possible inspiration.
<Regenaxer> ok
mtsd has joined #picolisp
mtsd has quit [Quit: Leaving]