<markasoftware>
is there any reason i should use (append) instead of (nconc) as the function passed to define-modify-macro?
<pfdietz>
Safety? A common source of bugs is destructive modification of things that share structure with other things.
cosimone has quit [Quit: Terminated!]
torbo has joined #lisp
<markasoftware>
ah, i guess you are right that the list migh tbe stored somewhere else too
antonv has joined #lisp
<antonv>
hi, is there a way to run a lisp in rowsell in non-standard readtable case? Like modern Allegro mode.
frgo has joined #lisp
Nomenclatura has joined #lisp
lispxxx has joined #lisp
lispxxx has quit [Read error: Connection reset by peer]
lispxxx has joined #lisp
lispxxx has left #lisp [#lisp]
<markasoftware>
is the lambda-list for define-modify-macro exclusively for the purpose of limiting the number of arguments?
<markasoftware>
i.e, the names of the parameters do not matter
hiroaki has joined #lisp
decent-username has quit [Ping timeout: 240 seconds]
ebrasca has quit [Remote host closed the connection]
fstxx has quit [Ping timeout: 260 seconds]
chip2n has joined #lisp
<Bike>
i don't think the names matter, no
<Bike>
though it'll show up in the macro lambda list in your ide
khisanth_ has quit [Ping timeout: 240 seconds]
<markasoftware>
when a global variable is bound, what exactly is it bound to? Does it have its own name, or is it simply bound to a symbol, and uses the symbol's name?
<markasoftware>
(i'm not sure if this is a meaningful question)
<jackdaniel>
markasoftware: when you have the object with slots, some of them may be not bound
<jackdaniel>
when you try to read a slot then you have the unbound-variable condition
<jackdaniel>
so variables (slots) may be bound to values
<jackdaniel>
I've mixed slots and variables here because I was looking for an examples of unbound places
Fare has quit [Ping timeout: 240 seconds]
slyrus has joined #lisp
Jesin has joined #lisp
<markasoftware>
if a variable can be directly bound to a value, why do we need a value cell on symbols?
slyrus__ has quit [Ping timeout: 268 seconds]
Jesin has quit [Remote host closed the connection]
mindthelion has quit [Quit: Drops mic, and fucks off back to wherever he crawled out of.]
notzmv has quit [Ping timeout: 276 seconds]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
khisanth_ has joined #lisp
nika has quit []
permagreen has joined #lisp
peey has joined #lisp
<peey>
Is there any syntax in lisp which lets you use a symbol before its definition? e.g. something like (where (set-union s1 s2) (define s1 ....) (define s2 ...))
karlosz has quit [Quit: karlosz]
<Bike>
you could define a macro for backwards let if you wanted, i guess
<Bike>
(defmacro where (form &rest bindings) `(let (,@bindings) ,form)), then (where (set-union s1 s2) (s1 ...) (s2 ...))
<peey>
Bike: Good enough. This should be a package. I think I'm remembering this because it's a standard way to write things in haskell
ggole has quit [Quit: Leaving]
semz has quit [Ping timeout: 250 seconds]
semz has joined #lisp
enrio has quit [Ping timeout: 240 seconds]
nthian has quit [Remote host closed the connection]
Lord_of_Life has quit [Remote host closed the connection]
smazga has quit [Ping timeout: 240 seconds]
Lord_of_Life has joined #lisp
Nomenclatura has quit [Remote host closed the connection]
jonatack has joined #lisp
Lord_of_Life has quit [Remote host closed the connection]
quazimodo has joined #lisp
momofarm has joined #lisp
Nomenclatura has joined #lisp
<Shinmera>
I recommend writing code in the conventions established in that language. Trying to carry over conventions from other languages will only prevent you from truly learning the new one, and will hinder others reading your code.
<makomo>
markasoftware: what exactly confuses you about the value cell?
momofarm has quit []
momofarm has joined #lisp
momofarm has quit [Client Quit]
momofarm has joined #lisp
momofarm has quit [Client Quit]
momofarm has joined #lisp
Nomenclatura has quit [Ping timeout: 246 seconds]
Nomenclatura has joined #lisp
momofarm has quit [Client Quit]
karlosz has joined #lisp
momofarm has joined #lisp
notzmv has joined #lisp
karlosz_ has joined #lisp
karlosz has quit [Ping timeout: 268 seconds]
karlosz_ is now known as karlosz
karlosz has quit [Quit: karlosz]
smazga has joined #lisp
lxbarbosa has joined #lisp
cosimone has quit [Quit: Quit.]
gravicappa has quit [Ping timeout: 240 seconds]
Oladon1 has quit [Read error: Connection reset by peer]
<White_Flame>
markasoftware: when a variable is bound to a global's value, it copies that value from the symbol-value into your local variable. The symbol-value is the canonical container for that named value
smazga has quit [Ping timeout: 268 seconds]
<White_Flame>
specifically, I'm describing (let ((my-var *some-global*)) ...), as that seems to be what you're describing
Oladon has joined #lisp
<p_l>
antonv: you'd probably need to prepare such a lisp yourself as an application. Not sure about reusing mlisp itself
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
decent-username has joined #lisp
sjl has quit [Quit: WeeChat 2.2-dev]
ltriant has joined #lisp
Oladon1 has joined #lisp
monokrom has quit [Remote host closed the connection]
Oladon has quit [Ping timeout: 250 seconds]
Oladon1 has quit [Read error: Connection reset by peer]
Oladon has joined #lisp
patlv has joined #lisp
Nomenclatura has quit [Quit: q]
fitzsim has quit [Ping timeout: 276 seconds]
Fare has joined #lisp
random-nick has quit [Remote host closed the connection]
specbot has quit [Read error: No route to host]
minion has quit [Read error: No route to host]
minion has joined #lisp
specbot has joined #lisp
iovec has joined #lisp
anewuser has joined #lisp
decent-username has quit [Remote host closed the connection]
peey has quit [Ping timeout: 260 seconds]
karswell has joined #lisp
patlv has quit [Ping timeout: 268 seconds]
bjorkintosh has quit [Remote host closed the connection]
bjorkintosh has joined #lisp
Fare has quit [Ping timeout: 250 seconds]
frgo has quit [Read error: Connection reset by peer]
frgo has joined #lisp
varjag has quit [Ping timeout: 265 seconds]
ljavorsk has joined #lisp
ljavorsk has quit [Ping timeout: 265 seconds]
antonv has quit [Ping timeout: 240 seconds]
nydel has quit [Read error: Connection reset by peer]
xkapastel has joined #lisp
invergo has quit [Ping timeout: 240 seconds]
bitmapper has joined #lisp
lucasb has quit [Quit: Connection closed for inactivity]
Oladon has quit [Quit: Leaving.]
wxie has joined #lisp
dale has joined #lisp
lxbarbosa has quit [Remote host closed the connection]
libertyprime has joined #lisp
rpg has joined #lisp
libertyprime has quit [Ping timeout: 250 seconds]
tsandstr has joined #lisp
libertyprime has joined #lisp
Fare has joined #lisp
libertyprime has quit [Ping timeout: 268 seconds]
libertyprime has joined #lisp
wxie has quit [Read error: Connection reset by peer]
wxie has joined #lisp
makomo has quit [Ping timeout: 268 seconds]
Fare has quit [Ping timeout: 265 seconds]
wxie has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 268 seconds]
libertyprime has quit [Ping timeout: 240 seconds]
dgtlcmo has joined #lisp
libertyprime has joined #lisp
EvW has quit [Ping timeout: 246 seconds]
lispxxx has joined #lisp
lispxxx has left #lisp [#lisp]
theBlackDragon has quit [Ping timeout: 265 seconds]