tyson2 has quit [Remote host closed the connection]
nyx_land has quit [Ping timeout: 248 seconds]
<mathrick>
does Trivia have lambda-list matchers (ie. a drop-in replacement for DESTRUCTURING-BIND, where I can use stuff like &OPTIONAL and &KEY)?
<mathrick>
I'm looking at its wiki, and so far I don't see an obvious way to do that
<Bike>
not a trivia expert, but i expect that would need some real complicated semantics to handle lambda list variables that are subpatterns
<mathrick>
I also don't see a way to replicate (destructuring-bind (head &rest tail) somelist)
<Bike>
aren't there cons patterns?
<mathrick>
I think so?
<mathrick>
Bike: possibly, but I'm looking at Trivia to replace my spaghetti piles of D-B / M-V-B / LET, so it's kinda a letdown if it doesn't have a way to do what D-B already does...
<mathrick>
I might go with metabang-bind, since it seems to have a syntax that's much more like the CL I already know, even though Trivia is the well-maintained community standard
mrcom has joined #commonlisp
pjb has quit [Remote host closed the connection]
<mathrick>
oh, I think it has the LAMBDA-LIST pattern, which is that
karlosz has joined #commonlisp
igemnace has joined #commonlisp
taiju has quit [Ping timeout: 244 seconds]
nyx_land has joined #commonlisp
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 256 seconds]
Brucio-61 has quit [Ping timeout: 252 seconds]
scymtym has quit [Ping timeout: 268 seconds]
masinter has quit [Remote host closed the connection]
kg7ski has quit [Read error: Connection reset by peer]
kg7ski has joined #commonlisp
aartaka has joined #commonlisp
robin has quit [Quit: Leaving]
SR-71 has joined #commonlisp
attila_lendvai has joined #commonlisp
shka has joined #commonlisp
pve has joined #commonlisp
SR-71` has joined #commonlisp
SR-71` has quit [Changing host]
SR-71` has joined #commonlisp
SR-71 has quit [Ping timeout: 255 seconds]
karlosz has quit [Quit: karlosz]
anticomputer has quit [Ping timeout: 268 seconds]
anticomputer has joined #commonlisp
azimut_ has joined #commonlisp
azimut has quit [Ping timeout: 268 seconds]
ttree has quit [Ping timeout: 248 seconds]
triffid has quit [Ping timeout: 268 seconds]
gxt has quit [Ping timeout: 268 seconds]
gxt has joined #commonlisp
triffid has joined #commonlisp
Cymew has joined #commonlisp
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 268 seconds]
azimut_ has quit [Ping timeout: 268 seconds]
azimut has joined #commonlisp
Dynom_ has joined #commonlisp
Dynom_ is now known as Guest7666
Cymew has quit [Ping timeout: 268 seconds]
aartaka has quit [Ping timeout: 248 seconds]
amb007 has joined #commonlisp
elderK has quit [Quit: Connection closed for inactivity]
vassenn has joined #commonlisp
amb007 has quit [Ping timeout: 248 seconds]
vassenn has quit [Quit: Good bye!]
gxt has quit [Remote host closed the connection]
gxt has joined #commonlisp
azimut has quit [Ping timeout: 268 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 256 seconds]
gxt has quit [Remote host closed the connection]
gxt has joined #commonlisp
Devon has joined #commonlisp
Oddity has quit [Ping timeout: 248 seconds]
notzmv has quit [Ping timeout: 268 seconds]
rogersm has joined #commonlisp
spacedout has joined #commonlisp
Josh_2 has joined #commonlisp
<Josh_2>
Good morning COO people
anticomputer has quit [Quit: quit]
anticomputer has joined #commonlisp
<SR-71`>
Good morning
Devon has quit [Ping timeout: 244 seconds]
scymtym has joined #commonlisp
Brucio-61 has joined #commonlisp
<Josh_2>
I haven't written code for about a week or so
random-nick has joined #commonlisp
<Josh_2>
I think I have forgotten
<Josh_2>
I'm feeling the need for some creative destruction
amb007 has joined #commonlisp
<SR-71`>
Why not read books
<SR-71`>
What, what is "creative destruction" ?
amb007 has quit [Ping timeout: 268 seconds]
gxt has quit [Ping timeout: 268 seconds]
<flip214>
mathrick: I believe trivia support (head . tail)
gxt has joined #commonlisp
gxt has quit [Remote host closed the connection]
amb007 has joined #commonlisp
gxt has joined #commonlisp
notzmv has joined #commonlisp
amb007 has quit [Ping timeout: 268 seconds]
tyson2 has joined #commonlisp
lieven has quit [Quit: WeeChat 3.0]
lieven has joined #commonlisp
amb007 has joined #commonlisp
Guest7666 has quit [Read error: Connection reset by peer]
amb007 has quit [Ping timeout: 268 seconds]
SR-71` has quit [Ping timeout: 244 seconds]
McParen has joined #commonlisp
thomaslewis has joined #commonlisp
nij- has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
thomaslewis has joined #commonlisp
aartaka has joined #commonlisp
amb007 has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
amb007 has quit [Ping timeout: 252 seconds]
vassenn has joined #commonlisp
vassenn has quit [Remote host closed the connection]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Read error: Connection reset by peer]
Lord_of_Life_ is now known as Lord_of_Life
robert4242 has joined #commonlisp
causal has quit [Quit: WeeChat 3.6]
Guest53 has joined #commonlisp
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 244 seconds]
pjb has joined #commonlisp
SR-71 has joined #commonlisp
<Guest53>
Hi dbotton, not sure if there is a chat room for Clog but I have a small bug report. `with-clog-create` is interning "CREATE-" function binding symbols in the current package. This is a problem when not `USE`ing Clog in a package as the respective clog functions aren't bound in that case. Line 56 of clog-utilities.lisp is the relevant location.
<Guest53>
Adding "CLOG to the optional package argument should do the trick.
Guest53 has quit [Quit: Client closed]
<aeth>
no, that will work until the edge case of someone using something like "modern mode" for symbols, where it will also fail
<aeth>
so to avoid hitting into another edge case it would have to be (symbol-name 'foo) not "FOO"
<aeth>
(because it might be "foo")
<acma>
Does CLHS not specify sockets? Scheme seems to have sockets in its reference.
<acma>
What's the reason for omitting sockets from CLHS?
<beach>
I am pretty sure sockets are omitted from most language specifications.
<aeth>
hmm, my bad... before someone points it out, it's (symbol-name '#:foo)
<beach>
I should have said "from most programming-language standards".
McParen has left #commonlisp [#commonlisp]
<beach>
acma: What Scheme reference has sockets in it?
masinter has joined #commonlisp
<_death>
sockets are basically a unix (bsd) invention.. in the lisp world streams or "connections" were used
<pjb>
You must expect additionnal standard (or libraries), over the language standard for things like sockets, GUI, etc.
<beach>
That's why I asked about the "Scheme reference". It would be surprising it it were a standards document.
waleee has joined #commonlisp
thomaslewis has joined #commonlisp
<pjb>
There are srfi which documents "standard" libraries for scheme.
<pjb>
Our CDRs are a little like that.
<dbotton>
Guest53 thanks!
thomaslewis has left #commonlisp [#commonlisp]
<Bike>
SRFI 106 is sockets, looks like
amb007 has joined #commonlisp
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
thomaslewis has joined #commonlisp
<beach>
That's still not a "Scheme reference" in my book.
amb007 has quit [Ping timeout: 268 seconds]
thomaslewis has left #commonlisp [#commonlisp]
<beach>
acma: Are you still here?
<acma>
sorry, had to step away for a while. I might have been wrong about it being a reference.
<beach>
That would make more sense.
<beach>
acma: For Common Lisp, you would then consult the manual for each implementation.
pranavats has left #commonlisp [Error from remote client]
waleee has quit [Ping timeout: 255 seconds]
waleee has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eddof13 has joined #commonlisp
gxt has quit [Remote host closed the connection]
gxt has joined #commonlisp
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
SR-71 has quit [Ping timeout: 248 seconds]
amb007 has joined #commonlisp
bitmapper has joined #commonlisp
pranavats has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
waleee has quit [Ping timeout: 248 seconds]
ttree has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
scymtym has quit [Ping timeout: 256 seconds]
Brucio-61 has quit [Ping timeout: 255 seconds]
AmateurLisper has joined #commonlisp
orestarod has joined #commonlisp
amb007 has joined #commonlisp
<jcowan>
I've mostly narrowed r7rs-work to pre-SRFI stuff.
amb007 has quit [Ping timeout: 248 seconds]
pjb has quit [Ping timeout: 268 seconds]
Brucio-61 has joined #commonlisp
cage has joined #commonlisp
frgo has joined #commonlisp
frgo has quit [Ping timeout: 256 seconds]
pjb has joined #commonlisp
szkl has quit [Quit: Connection closed for inactivity]
karlosz has joined #commonlisp
amb007 has joined #commonlisp
eddof13 has quit [Ping timeout: 256 seconds]
amb007 has quit [Ping timeout: 252 seconds]
<jmes>
I am struggling with something that must be simple: I want to change a structure like this (((A 1) (B 2)) ((C 3) (D 4))) into this ((A 1) (B 2) (C 3) (D 4)). My puny brain cannot figure this out for some reason.
<aeth>
it's (reduce #'append ...) again isn't it?
<aeth>
It's always that.
<jmes>
>:| Indeed it is
<jmes>
Thanks aeth, now I have to forget that I just spend 20 minutes struggling with this :P
<jmes>
spent*
amb007 has joined #commonlisp
<acma>
do you all use Emacs only for CL programming? or do you use Emacs for all other editing too?
<jmes>
acma: I'd guess most people who use Emacs use it for all their text editing. I do.
amb007 has quit [Read error: Connection reset by peer]
<acma>
thanks
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
robert4242 has quit [Ping timeout: 244 seconds]
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
thomaslewis has joined #commonlisp
Andrew is now known as WaxCPU
thomaslewis has left #commonlisp [#commonlisp]
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
robert4242 has joined #commonlisp
frgo has joined #commonlisp
frgo has quit [Remote host closed the connection]
frgo has joined #commonlisp
igemnace has quit [Remote host closed the connection]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 256 seconds]
Alfr has quit [Remote host closed the connection]
SR-71 has joined #commonlisp
Alfr has joined #commonlisp
orestarod has quit [Ping timeout: 268 seconds]
Alfr has quit [Client Quit]
Alfr has joined #commonlisp
gxt has quit [Remote host closed the connection]
triffid has quit [Remote host closed the connection]
robert4242 has quit [Ping timeout: 248 seconds]
gxt has joined #commonlisp
triffid has joined #commonlisp
tyson2 has joined #commonlisp
szkl has joined #commonlisp
spacedout has quit [Ping timeout: 248 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
anticomputer has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
azimut has joined #commonlisp
amb007 has joined #commonlisp
avocadoist has joined #commonlisp
amb007 has quit [Ping timeout: 248 seconds]
amb007 has joined #commonlisp
SR-71 has quit [Remote host closed the connection]
azimut has quit [Remote host closed the connection]
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
comatory_ has joined #commonlisp
avocadoist has quit [Ping timeout: 248 seconds]
comatory has quit [Ping timeout: 268 seconds]
Lord_of_Life has quit [Ping timeout: 255 seconds]
azimut_ has joined #commonlisp
Lord_of_Life has joined #commonlisp
azimut has quit [Ping timeout: 268 seconds]
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
morganw has joined #commonlisp
_cymew_ has joined #commonlisp
tyson2 has quit [Ping timeout: 268 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 256 seconds]
cage has quit [Quit: rcirc on GNU Emacs 27.1]
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
n1to has joined #commonlisp
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
nij- has quit [Quit: Using Circe, the loveliest of all IRC clients]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 255 seconds]
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
blueyoner has joined #commonlisp
<blueyoner>
gday, im implementing some phylogenetics stuff in CL and I need to raise a float to a matrix power. Anyone know a library with this function?
<pjb>
blueyoner: I guess maxima has it. Not exactly a library, but its functions can be called from lisp.
<pjb>
blueyoner: otherwise, perhaps one of the interface on a C library having it such as OpenBLAS or LAPACK?
comatory_ has quit [Ping timeout: 252 seconds]
justache is now known as justache_
justache_ is now known as justache
robert4242 has quit [Ping timeout: 248 seconds]
comatory_ has joined #commonlisp
<gin>
how can I return a specific HTTP status page using hunchentoot? like returning HTTP 404 page? the doc at https://edicl.github.io/hunchentoot/ does not seem clear about this. any examples?
rogersm has quit [Quit: Leaving...]
ec has joined #commonlisp
<pjb>
Set the reply return-code slot.
_cymew_ has quit [Ping timeout: 256 seconds]
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
pjb has quit [Ping timeout: 268 seconds]
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
ec has quit [Remote host closed the connection]
ec has joined #commonlisp
masinter has quit [Remote host closed the connection]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 248 seconds]
<gin>
thanks pjb!
attila_lendvai has quit [Ping timeout: 256 seconds]
paul0 has quit [Read error: Connection reset by peer]
_paul0 has quit [Client Quit]
amb007 has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sjl has joined #commonlisp
aartaka has quit [Ping timeout: 256 seconds]
amb007 has quit [Ping timeout: 256 seconds]
amb007 has joined #commonlisp
avocadoist has joined #commonlisp
thomaslewis has joined #commonlisp
amb007 has quit [Ping timeout: 256 seconds]
eddof13 has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
robert4242 has quit [Ping timeout: 244 seconds]
shka has quit [Ping timeout: 256 seconds]
random-nick has quit [Ping timeout: 244 seconds]
causal has joined #commonlisp
comatory_ has quit [Ping timeout: 256 seconds]
comatory_ has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 256 seconds]
waleee has joined #commonlisp
amb007 has joined #commonlisp
cosimone` has joined #commonlisp
cosimone has quit [Ping timeout: 256 seconds]
amb007 has quit [Ping timeout: 268 seconds]
<kagevf>
acma: I only use emacs for CL and org mode (my main use cases)
<kagevf>
oh and scheme for sicp
orestarod has quit [Ping timeout: 248 seconds]
morganw has quit [Remote host closed the connection]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
ebrasca has joined #commonlisp
cosimone` has quit [Ping timeout: 268 seconds]
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
amb007 has joined #commonlisp
tevo has joined #commonlisp
amb007 has quit [Ping timeout: 256 seconds]
<mathrick>
flip214: the LIST matcher doesn't support (head . tail), but what I actually wanted is 1) LAMBDA-LIST matcher for trivia 2) LET-MATCH because I want flattened bindings rather than pattern matching most of the time 3) I still prefer metabang-bind's syntax TBH
<mathrick>
jmes: (mapcan #'identity ...) would also be a solution to your problem. MAPCAN is like MAPCAR, but it assumes the return values are lists and joins them together
<mathrick>
although it uses NCONC, meaning it's destructive, so it could potentially mess up your literal lists, so (reduce #'append ...) is probably still the smarter default choice :)