NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
habamax has quit [Read error: Connection reset by peer]
habamax has joined #commonlisp
thuna` has quit [Read error: Connection reset by peer]
habamax has quit [Ping timeout: 240 seconds]
random-nick has quit [Ping timeout: 245 seconds]
occ has joined #commonlisp
MonadMania has quit [Remote host closed the connection]
yewscion has quit [Read error: Connection reset by peer]
waleee has quit [Ping timeout: 246 seconds]
dinomug has quit [Remote host closed the connection]
habamax has joined #commonlisp
Josh_2 has quit [Ping timeout: 245 seconds]
NotThatRPG has joined #commonlisp
lottaquestions_ has quit [Ping timeout: 245 seconds]
istewart has joined #commonlisp
<doulos05>
Suppose I have (defun add-or-update-dispatcher (&key long list of keywords) (if (find-match) (update same long list of keywords) (add same long list of keywords)))
<doulos05>
Is there some easy way to pass all the keywords of the dispatcher function into the update and add functions?
<ixelp>
(defun foo (&rest rest &key bar baz) rest) ;Compiler warnings : ↩ ; In FOO: Unused lexical variable BAZ ↩ ↩ ; In FOO: Unused lexical variable BAR ↩ => FOO, and then (foo :bar 'bar :baz 'baz) => (:BAR BAR :BAZ BAZ)
dcb has quit [Quit: MSN Messenger 4.0.2]
<doulos05>
Awesome, thank you!
edgar-rft has quit [Quit: Leaving]
holycow has joined #commonlisp
akoana has joined #commonlisp
habamax has quit [Ping timeout: 245 seconds]
habamax has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
b00p has joined #commonlisp
akoana has quit [Ping timeout: 260 seconds]
pranavats has joined #commonlisp
czy has joined #commonlisp
istewart has quit [Quit: Konversation terminated!]
occ has quit [Ping timeout: 240 seconds]
bilegeek has joined #commonlisp
rtypo has quit [Ping timeout: 245 seconds]
occ has joined #commonlisp
semarie has quit [Ping timeout: 245 seconds]
semarie has joined #commonlisp
b00p has quit [Ping timeout: 245 seconds]
edgar-rft has joined #commonlisp
akoana has joined #commonlisp
msavoritias has joined #commonlisp
thollief has joined #commonlisp
Oladon has quit [Quit: Leaving.]
Oladon has joined #commonlisp
Cymew has joined #commonlisp
Alfr has quit [Quit: Leaving]
yewscion has joined #commonlisp
yewscion has quit [Remote host closed the connection]
yewscion has joined #commonlisp
azimut has joined #commonlisp
Catie has joined #commonlisp
Oladon has quit [Read error: Connection reset by peer]
Oladon has joined #commonlisp
Alfr has joined #commonlisp
yewscion has quit [Remote host closed the connection]
Brucio-61 has quit [Read error: Connection reset by peer]
igemnace has joined #commonlisp
Brucio-61 has joined #commonlisp
mgl has joined #commonlisp
rgherdt has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Hibernating too long]
ronald has quit [Quit: leaving]
LW has joined #commonlisp
bendersteed has joined #commonlisp
pranavats has joined #commonlisp
LW has quit [Quit: WeeChat 3.8]
shka has joined #commonlisp
dra has joined #commonlisp
dra has joined #commonlisp
dra has quit [Changing host]
dra has quit [Remote host closed the connection]
pve has joined #commonlisp
Oladon has quit [Quit: Leaving.]
dino_tutter has joined #commonlisp
mgl has quit [Ping timeout: 246 seconds]
bilegeek has quit [Quit: Leaving]
habamax has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.2)]
rainthree has joined #commonlisp
lottaquestions_ has joined #commonlisp
habamax has joined #commonlisp
attila_lendvai has quit [Ping timeout: 272 seconds]
yewscion has joined #commonlisp
attila_lendvai has joined #commonlisp
attila_lendvai has quit [Read error: Connection reset by peer]
attila_lendvai has joined #commonlisp
nicm[m] has quit [Remote host closed the connection]
rgherdt has quit [Read error: Connection reset by peer]
rgherdt has joined #commonlisp
attila_lendvai_ has joined #commonlisp
attila_lendvai has quit [Ping timeout: 240 seconds]
yewscion has quit [Remote host closed the connection]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 264 seconds]
Lord_of_Life_ is now known as Lord_of_Life
akoana has quit [Quit: leaving]
rgherdt_ has joined #commonlisp
occ has quit [Ping timeout: 246 seconds]
rgherdt has quit [Ping timeout: 272 seconds]
rbcarleton has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
attila_lendvai_ has quit [Quit: Leaving]
attila_lendvai has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
<doulos05>
Can someone help me with a regex? According to the regex tester I found, it should work but it isn't working in CL-PPCRE (or I'm using it wrong).
<doulos05>
(ppcre:scan-to-strings (ppcre:create-scanner "\d+[a-zA-Z]?\/?") "5w/3j") ;; I think this should return 2 matches, "5w/" and "3j
<doulos05>
Currently it is returning NIL
<Brucio-61>
doulos05: (string= "\a" "a") => T so you probably wanted "\d+..." in the regular expression
<Brucio-61>
sorry, "\d+.."
<Brucio-61>
sorry, i meant double backslash but my client doesn't want to sent that
<doulos05>
Ah "\ \d"
<doulos05>
Without the separating space
<Brucio-61>
right
random-nick has joined #commonlisp
<doulos05>
Ok, now it's finding the first match "5w/", but not the second one.
scymtym has joined #commonlisp
<doulos05>
(ppcre:scan-to-strings (ppcre:create-scanner "\\d+[a-zA-Z]?") "5w/3j") This is the current iteration (I thought maybe it was the lack of a trailing "/"
cage has joined #commonlisp
<Brucio-61>
i think the function produces at most one match. the plural in strings refers to multiple register groups being returned as strings: (ppcre:scan-to-strings "(\\d+[a-z]?)(?:\\/(\\d+[a-z]?))?" "5w/3j") => "5w/3j", #("5w" "3j")
<doulos05>
Aha, that's it. The wording in the CL Cookbook made me think that scan-to-strings found all matches.
rgherdt_ is now known as rgherdt
rtypo has joined #commonlisp
cage has quit [Ping timeout: 240 seconds]
JoshYoshi has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
<Shinmera>
beach: does SICL SORT allow you to pass a START and END for vectors?
<beach>
Shinmera: Probably not. Let me check... We may not have written SORT yet.
<Shinmera>
Ah.
<Shinmera>
Just wondering, because I've wanted to do partial vector sorting multiple times now and I'm disappointed every time that the only option seems to be displaced arrays
<Shinmera>
or copying
<beach>
Oh, wait, it's in the sequences, so it is probably written by heisig.
<Shinmera>
Both of which aren't ideal, especially when internally it's going to use a start and end bound anyway.
<beach>
No additional parameters it seems.
<Shinmera>
:(
<beach>
Yes, I see what you mean.
habamax has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
thuna` has joined #commonlisp
NotThatRPG has joined #commonlisp
bendersteed has quit [Quit: vbye]
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tevo has quit [Read error: Connection reset by peer]
tevo has joined #commonlisp
NotThatRPG has joined #commonlisp
lost-tiff has joined #commonlisp
lost-tiff has left #commonlisp [#commonlisp]
alXsei has joined #commonlisp
pranavats has left #commonlisp [Error from remote client]
pranavats has joined #commonlisp
alXsei has quit [Quit: Leaving]
Brucio-61 has quit [Remote host closed the connection]
lucasta has joined #commonlisp
scymtym has quit [Ping timeout: 250 seconds]
Cymew has quit [Ping timeout: 246 seconds]
cage has joined #commonlisp
Brucio-61 has joined #commonlisp
ronald has joined #commonlisp
edgarvincent[m] has quit [Remote host closed the connection]
igemnace has quit [Ping timeout: 272 seconds]
eddof13 has joined #commonlisp
NotThatRPG has quit [Remote host closed the connection]
tyson2 has quit [Remote host closed the connection]
NotThatRPG has joined #commonlisp
NotThatRPG has quit [Ping timeout: 245 seconds]
dcb has joined #commonlisp
Krystof has quit [Ping timeout: 272 seconds]
mgl has quit [Quit: Client closed]
lucasta has quit [Remote host closed the connection]
jmdaemon has quit [Ping timeout: 245 seconds]
NotThatRPG has joined #commonlisp
rogersm has quit [Quit: Leaving...]
jmd_ has joined #commonlisp
waleee has joined #commonlisp
matt` has joined #commonlisp
tyson2 has joined #commonlisp
morganw has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tyson2 has quit [Remote host closed the connection]
NotThatRPG has joined #commonlisp
tyson2 has joined #commonlisp
jmd_ has quit [Ping timeout: 272 seconds]
alcor has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jmd_ has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tyson2 has quit [Remote host closed the connection]
jmd_ has quit [Ping timeout: 246 seconds]
cage has quit [Quit: rcirc on GNU Emacs 28.2]
varjag has quit [Ping timeout: 272 seconds]
tyson2 has joined #commonlisp
thollief has quit [Remote host closed the connection]
doyougnu- has quit [Ping timeout: 250 seconds]
tyson2` has joined #commonlisp
jmdaemon has joined #commonlisp
dino_tutter has joined #commonlisp
szkl has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
tyson2` has quit [Remote host closed the connection]
Krystof has joined #commonlisp
tyson2 has joined #commonlisp
msavoritias has quit [Remote host closed the connection]
attila_lendvai_ has joined #commonlisp
attila_lendvai has quit [Ping timeout: 272 seconds]
matt` has quit [Remote host closed the connection]
yewscion has joined #commonlisp
holycow has quit [Quit: Lost terminal]
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
attila_lendvai_ has quit [Ping timeout: 246 seconds]
shka has quit [Ping timeout: 245 seconds]
morganw has quit [Remote host closed the connection]
yewscion has quit [Remote host closed the connection]
Guest74 has joined #commonlisp
dino_tutter has quit [Ping timeout: 252 seconds]
<Guest74>
Hi, I have a question about the Series library (https://github.com/tokenrove/series is a github mirror, also installable via quicklisp). Is it possible to implement efficiently (i.e. optimizably) a function which interleaves two series? given two series S1, S2, I would like to produce a series which outputs first an element of S1, then an element
<Guest74>
of S2, and then the next element of S1, and so on
<ixelp>
GitHub - tokenrove/series: unofficial mirror of git://git.code.sf.net/p/series/series (Richard C. Waters' SERIES package [...]
dra has joined #commonlisp
dra has quit [Changing host]
dra has joined #commonlisp
alcor has quit [Remote host closed the connection]
<Guest74>
one could try to use the function `mingle', but I do not see an obvious way to achieve what I want efficiently. maybe it is impossible but I would like to double-check
doyougnu has joined #commonlisp
NotThatRPG has joined #commonlisp
Guest74 has quit [Quit: Client closed]
azimut has quit [Ping timeout: 240 seconds]
kevingal has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pve has quit [Quit: leaving]
Guest84 has joined #commonlisp
Guest84 has quit [Client Quit]
habamax has joined #commonlisp
jmdaemon has quit [Ping timeout: 272 seconds]
thuna` has quit [Remote host closed the connection]
rgherdt has quit [Remote host closed the connection]
rgherdt has joined #commonlisp
eddof13 has joined #commonlisp
jmd_ has joined #commonlisp
eddof13 has quit [Client Quit]
yewscion has joined #commonlisp
rgherdt has quit [Remote host closed the connection]
szkl has quit [Quit: Connection closed for inactivity]