<aeth>
jcowan: as opposed to relying on order and thus not being able to modify it like that at all, but it's probably not the best example because you can't put that into the macro lambda list
<aeth>
at least, as described
<Josh_2>
jcowan: because you can specialize methods using #'eql you can write macros which accept keywords and then use a generic function to generate different forms based on the key provided
<Josh_2>
:sunglasses:
azimut has quit [Ping timeout: 258 seconds]
causal has joined #commonlisp
xlarsx has joined #commonlisp
xlarsx has quit [Ping timeout: 252 seconds]
tasty has quit [Remote host closed the connection]
tasty has joined #commonlisp
tasty has quit [Changing host]
tasty has joined #commonlisp
lottaquestions_ has joined #commonlisp
pdietz has joined #commonlisp
vn36 has quit [Ping timeout: 248 seconds]
akoana has joined #commonlisp
<hayley>
jcowan: One example would be e.g. WITH-OPEN-FILE where you're passing all the keywords to OPEN, and checking they keyword arguments are correct is handy.
Lord_of_Life has quit [Ping timeout: 248 seconds]
Lord_of_Life has joined #commonlisp
random-nick has quit [Ping timeout: 250 seconds]
mathrick_ has quit [Read error: Connection reset by peer]
mathrick has joined #commonlisp
<pdietz>
Sometimes it's just nice to name your arguments. Positional arguments get nasty if you have too many.
waleee has quit [Ping timeout: 250 seconds]
xlarsx has joined #commonlisp
xlarsx has quit [Ping timeout: 264 seconds]
xlarsx has joined #commonlisp
grawlinson has quit [Ping timeout: 250 seconds]
xlarsx has quit [Ping timeout: 252 seconds]
mariari has quit [Ping timeout: 260 seconds]
tyson2 has quit [Remote host closed the connection]
<jcowan>
It doesn't have an order dependency, either, because all the values of the keywords are self-evaluating.
<hayley>
Hm, I support :hash-cons rewrites too, but don't use it. I wonder how that happened.
xlarsx has joined #commonlisp
mariari has quit [Ping timeout: 260 seconds]
xlarsx has quit [Ping timeout: 250 seconds]
eddof13 has joined #commonlisp
mariari has joined #commonlisp
drainpipe has joined #commonlisp
jeosol has joined #commonlisp
akoana has quit [Quit: leaving]
drainpipe has quit [Ping timeout: 252 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knusbaum has quit [Ping timeout: 268 seconds]
pdietz has quit [Quit: Client closed]
eddof13 has joined #commonlisp
grawlinson has joined #commonlisp
cdegroot has quit [Ping timeout: 264 seconds]
cdegroot has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest091 has joined #commonlisp
Guest091 has quit [Quit: Ping timeout (120 seconds)]
Guest097 has joined #commonlisp
<Guest097>
How would I create a list of objects to store in a variable Im currently doing this (defvar *posts* '((make-post :title "blah"))) when I do it this way I keep getting errors around this isnt of type post
<hayley>
(list (make-post :title "blah"))
<Guest097>
isnt that equivalent?
<hayley>
QUOTE doesn't evaluate anything in its argument.
<Guest097>
ahh thats very subtle
<hayley>
LIST is a function, and thus all arguments to it are evaluated.
<Guest097>
i guess I still dont quite have a grasp on the macro thing huh, tysm
<Guest097>
Ok last question I think I have for now, when I (defvar some-symbol 'some-value) and then recompile that expression I would expect it to redefine some-symbol but this isnt the case, when I (setf some-symbol 'some-new-value) this works but this feels weird to me?
<hayley>
DEFVAR won't re-assign an already defined variable, no. If you want that behaviour, you can use DEFPARAMETER.
<Guest097>
Ok gotcha thanks for you help
genpaku has quit [Remote host closed the connection]
genpaku has joined #commonlisp
eddof13 has joined #commonlisp
Guest097 has quit [Quit: Ping timeout (120 seconds)]
mariari has quit [Ping timeout: 260 seconds]
mariari has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eddof13 has joined #commonlisp
eddof13 has quit [Client Quit]
xlarsx has joined #commonlisp
xlarsx has quit [Ping timeout: 268 seconds]
shka has joined #commonlisp
rgherdt has joined #commonlisp
igemnace has joined #commonlisp
attila_lendvai has joined #commonlisp
vn36 has joined #commonlisp
_cymew_ has joined #commonlisp
<semz>
In a nested set of loop forms, is it possible to access the outermost loop-finish? Or more generally, to selectively shadow loop-finish in a loop form?
<semz>
Somewhat annoyingly, this issue makes macros that expand into loop forms leaky
Brucio-61 has quit [Ping timeout: 250 seconds]
<phoe>
doesn't seem so
scymtym has quit [Ping timeout: 250 seconds]
Brucio-61 has joined #commonlisp
vn36 has quit [Ping timeout: 264 seconds]
<beach>
I tried something like (loop with outer = (lambda () (loop-finish)) ... do (loop ... (funcall outer))) but for my particular test case, something went wrong. I think the idea might work though.
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amb007 has quit [Ping timeout: 260 seconds]
attila_lendvai has quit [Ping timeout: 264 seconds]
<AadVersteden[m]>
jackdaniel: this stands in stark contrast with the general opinion of the common lisp community when I learned it, though I was treated superbly too. That post made me happy too :-)
<jackdaniel>
I've received a lot of love from people on irc when I've started programming in cl, so I can't complain
<Josh_2>
So did I
<jackdaniel>
I'm too young to know the first thing about usenet, it was already dead
<phoe>
so did I
<White_Flame>
it was pretty contentious on irc when I joined
<White_Flame>
but I think that boils down to 1 or 2 people influencing the tone
<jackdaniel>
at least we are done with discussions "why #lisp is for common lisp, not all lisps", these were quite toxic because both sides had a point (and the squatting side had an advantage of numbers)
orestarod has joined #commonlisp
jeffrey has quit [Quit: Client quit]
eddof13 has joined #commonlisp
amb007 has joined #commonlisp
xlarsx has joined #commonlisp
waleee has quit [Ping timeout: 268 seconds]
amb007 has quit [Ping timeout: 264 seconds]
xlarsx has quit [Ping timeout: 260 seconds]
vn36__ has quit [Ping timeout: 260 seconds]
lottaquestions has joined #commonlisp
lottaquestions_ has quit [Ping timeout: 250 seconds]
vn36 has joined #commonlisp
<phoe>
one of the few good points of having to move to libera
amb007 has joined #commonlisp
<AadVersteden[m]>
I personally didn't mind the #lisp name and find it sad that it's not there for Common Lisp anymore. Glad to see other opinions.
Cymew has quit [Ping timeout: 246 seconds]
tyson2 has quit [Remote host closed the connection]
aartaka has quit [Read error: Connection reset by peer]
aartaka has joined #commonlisp
amb007 has quit [Ping timeout: 264 seconds]
<Josh_2>
I agree AadVersteden[m]
frgo has joined #commonlisp
frgo has quit [Read error: Connection reset by peer]
frgo has joined #commonlisp
motherhucker has joined #commonlisp
Vjalmr has joined #commonlisp
pdietz has quit [Ping timeout: 244 seconds]
rendar has quit [Quit: Leaving]
aartaka has quit [Ping timeout: 250 seconds]
aartaka has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 268 seconds]
cage has joined #commonlisp
xlarsx has joined #commonlisp
pdietz has joined #commonlisp
vn36 has quit [Ping timeout: 252 seconds]
vn36__ has joined #commonlisp
amb007 has joined #commonlisp
vn36__ has quit [Ping timeout: 264 seconds]
vn36 has joined #commonlisp
amb007 has quit [Ping timeout: 268 seconds]
ebrasca has joined #commonlisp
vn36 has quit [Ping timeout: 252 seconds]
rendar has joined #commonlisp
rendar has quit [Changing host]
tyson2 has joined #commonlisp
rendar has joined #commonlisp
derelict has quit [Quit: bye]
vn36 has joined #commonlisp
amb007 has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amb007 has quit [Ping timeout: 268 seconds]
amb007 has joined #commonlisp
igemnace has quit [Remote host closed the connection]
Alecui has joined #commonlisp
vn36 has quit [Ping timeout: 252 seconds]
amb007 has quit [Ping timeout: 248 seconds]
xlarsx has quit [Remote host closed the connection]
xlarsx has joined #commonlisp
aartaka has quit [Ping timeout: 248 seconds]
aartaka has joined #commonlisp
motherhucker has quit [Ping timeout: 260 seconds]
xlarsx has quit [Ping timeout: 248 seconds]
causal has quit [Quit: WeeChat 3.6]
pdietz has quit [Quit: Client closed]
amb007 has joined #commonlisp
thuna` has joined #commonlisp
eddof13 has joined #commonlisp
morganw has joined #commonlisp
amb007 has quit [Ping timeout: 268 seconds]
snits has quit [Ping timeout: 260 seconds]
vn36__ has joined #commonlisp
frodef has joined #commonlisp
aartaka has quit [Ping timeout: 260 seconds]
aartaka has joined #commonlisp
snits has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]