bhartrihari has left #lisp ["Disconnected: closed"]
tyf-nick has joined #lisp
aeth_ has joined #lisp
jesse1010 has quit [Ping timeout: 246 seconds]
aeth has quit [Ping timeout: 264 seconds]
ebzzry has joined #lisp
aeth_ is now known as aeth
shifty has quit [Ping timeout: 265 seconds]
wxie has joined #lisp
space_otter has joined #lisp
bhartrihari has joined #lisp
ebzzry has quit [Read error: Connection reset by peer]
zaquest has quit [Quit: Leaving]
bhartrihari has left #lisp ["Disconnected: closed"]
zaquest has joined #lisp
bhartrihari has joined #lisp
Josh_2 has quit [Ping timeout: 265 seconds]
<beach>
Good morning everyone!
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
ebzzry has joined #lisp
oxum has quit [Remote host closed the connection]
nullman has quit [Ping timeout: 260 seconds]
ebzzry has quit [Client Quit]
oxum has joined #lisp
nullman has joined #lisp
oxum has quit [Ping timeout: 256 seconds]
oxum has joined #lisp
frgo_ has quit []
frgo has joined #lisp
Bike has quit [Quit: Lost terminal]
_whitelogger has joined #lisp
akoana has left #lisp ["Leaving"]
jw4 has quit [Quit: tot siens]
Khisanth has quit [Ping timeout: 246 seconds]
jw4 has joined #lisp
wxie has quit [Ping timeout: 256 seconds]
dominic34 has quit [Ping timeout: 240 seconds]
dominic34 has joined #lisp
thmprover has quit [Quit: Another long day's journey into night.]
oxum has quit [Remote host closed the connection]
oxum has joined #lisp
Khisanth has joined #lisp
sdumi has quit [Ping timeout: 240 seconds]
sdumi has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
dddddd has quit [Ping timeout: 264 seconds]
bhartrihari has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
dominic34 has quit [Ping timeout: 240 seconds]
bsd4me has quit [Quit: Leaving]
bhartrihari has joined #lisp
narimiran has joined #lisp
v88m has quit [Ping timeout: 256 seconds]
sdumi has quit [Ping timeout: 265 seconds]
gxt has quit [Ping timeout: 240 seconds]
Theseus has joined #lisp
gxt has joined #lisp
jdz has quit [Ping timeout: 258 seconds]
jdz has joined #lisp
Bourne has joined #lisp
heredoc has quit [Ping timeout: 272 seconds]
wxie has joined #lisp
paul0 has quit [Remote host closed the connection]
paul0 has joined #lisp
malm has quit [Quit: Bye bye]
heredoc has joined #lisp
JohnMS_WORK has joined #lisp
ahungry has quit [Remote host closed the connection]
sdumi has joined #lisp
cmatei has quit [Ping timeout: 240 seconds]
sdumi has quit [Ping timeout: 258 seconds]
sdumi has joined #lisp
scymtym_ has quit [Ping timeout: 258 seconds]
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Jesin has joined #lisp
heisig has joined #lisp
wxie has quit [Ping timeout: 246 seconds]
wxie has joined #lisp
<phoe>
morning
<beach>
Hello phoe.
malm has joined #lisp
gravicappa has joined #lisp
bhartrihari has joined #lisp
pve has joined #lisp
v88m has joined #lisp
wxie1 has joined #lisp
wxie has quit [Ping timeout: 260 seconds]
wxie1 is now known as wxie
flazh has joined #lisp
scymtym has joined #lisp
bocaneri has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
cmatei has joined #lisp
White_Flame has quit [Ping timeout: 256 seconds]
tyf-nick has quit [Ping timeout: 256 seconds]
estest has joined #lisp
bocaneri has quit [Remote host closed the connection]
shka_ has joined #lisp
White_Flame has joined #lisp
wxie has quit [Ping timeout: 256 seconds]
wxie has joined #lisp
vaporatorius_ has joined #lisp
vaporatorius__ has quit [Read error: Connection reset by peer]
quazimodo has quit [Ping timeout: 260 seconds]
bocaneri has joined #lisp
White_Flame has quit [Ping timeout: 256 seconds]
liberliver has joined #lisp
ralt has joined #lisp
wxie has quit [Remote host closed the connection]
macdavid313 has quit [Ping timeout: 260 seconds]
rgherdt has joined #lisp
oxum has quit [Remote host closed the connection]
oxum has joined #lisp
White_Flame has joined #lisp
Oladon has quit [Quit: Leaving.]
space_otter has quit [Ping timeout: 240 seconds]
oxum has quit [Ping timeout: 256 seconds]
oxum has joined #lisp
Cymew has joined #lisp
macdavid313 has joined #lisp
space_otter has joined #lisp
varjag has joined #lisp
oxum has quit [Ping timeout: 240 seconds]
zigpaw has quit [Quit: Ping timeout (120 seconds)]
zigpaw has joined #lisp
zooey has quit [Remote host closed the connection]
zooey has joined #lisp
zooey has quit [Remote host closed the connection]
zooey has joined #lisp
gaqwas has quit [Remote host closed the connection]
White_Flame has quit [Ping timeout: 240 seconds]
Oladon has joined #lisp
vidak` has joined #lisp
jonatack has quit [Ping timeout: 260 seconds]
oxum has joined #lisp
White_Flame has joined #lisp
oxum has quit [Remote host closed the connection]
<flip214>
Is there something like SLOCCOUNT for Lisp that counts number of forms? Number of lines isn't that helpful for code like (IF (condition) \n T \n NIL)
<phoe>
it wouldn't really count lines of code I guess so "sloc" would be a misnomer, but I think it could work; read all files of a system and count the total number of times read was successful (until EOF was hit)
<phoe>
don't know about any such utility that would be integrated into ASDF
Bourne has quit [Remote host closed the connection]
<phoe>
I guess you could pass a custom :around-compile function to a system to achieve that, but that requires modifying the ASDF system file
<phoe>
there is also no read-hook, that would be easy to implement with one
twelvemonkeys has quit [Ping timeout: 246 seconds]
v88m has quit [Ping timeout: 240 seconds]
twelvemonkeys has joined #lisp
heisig has quit [Ping timeout: 256 seconds]
shifty has joined #lisp
Khisanth has quit [Ping timeout: 256 seconds]
wxie has joined #lisp
<flip214>
phoe: that would only count the top-most forms, I'm looking for some "better" estimation of size, like total count of forms including subforms
<flip214>
sloccount was just an example that already exists; I might be looking for a form-count or so
<flip214>
but with possible read-tables it's not as easy as it sounds
<flip214>
perhaps I can just walk each file, reading and evaluating forms, and counting the number of forms?!
<lonjil>
Maybe you could do this with Eclector
<estest>
flip214: maybe you could dig into SBCL's coverage report generator. Its output contains a count of expressions for each file in the report.
wxie1 has joined #lisp
<phoe>
flip214: oh, *including* subforms!
<phoe>
before or after macroexpansion? if before, then eclector would be the way to go
heisig has joined #lisp
wxie has quit [Ping timeout: 244 seconds]
<pve>
could *macroexpand-hook* help?
<phoe>
uh oh
<pve>
not super familiar with how it works though..
<phoe>
it would give rough estimates, I guess, but then you'd also need to evaluate the forms
<flip214>
phoe: should be before macroexpansion
<phoe>
not just read them
<pve>
hmm true
<flip214>
but an ASDF :around-compile only gets a thunk as argument and no filename, right?
wxie1 has quit [Ping timeout: 240 seconds]
<phoe>
flip214: correct
<phoe>
you'd need to be able to bind some special variables in there or something, but I don't know of any.
<phoe>
I guess I shall once again suggest eclector
wxie has joined #lisp
Khisanth has joined #lisp
orivej has joined #lisp
oxum has joined #lisp
oxum has quit [Remote host closed the connection]
ljavorsk has joined #lisp
wxie has quit [Read error: Connection reset by peer]
wxie has joined #lisp
<flip214>
phoe: that still needs ASDF dependencies resolving and similar stuff... reading sources isn't a problem, my assumption is working code anyway
<phoe>
flip214: I guess that you need to load all dependencies of a system and then read the source files
drdee has joined #lisp
oxum has joined #lisp
<beach>
flip214: For counting forms, you could probably convince Eclector to do that.
Oladon has quit [Quit: Leaving.]
efm has quit [Remote host closed the connection]
akrl`` has joined #lisp
efm has joined #lisp
loke` has joined #lisp
vidak`` has joined #lisp
h111 has joined #lisp
_Ark_ has joined #lisp
ark has quit [Ping timeout: 265 seconds]
loke has quit [Remote host closed the connection]
akrl` has quit [Read error: Connection reset by peer]
Zotan has quit [Remote host closed the connection]
zmt00 has joined #lisp
vidak` has quit [Ping timeout: 265 seconds]
h11 has quit [Read error: Connection reset by peer]
h111 is now known as h11
zmt01 has quit [Ping timeout: 260 seconds]
oxum has quit [Ping timeout: 258 seconds]
Zotan has joined #lisp
<flip214>
phoe: that's what I'm doing now.
narendraj9 has quit [Ping timeout: 246 seconds]
frgo_ has joined #lisp
narendraj9 has joined #lisp
gioyik has quit [Quit: WeeChat 2.8]
frgo has quit [Ping timeout: 240 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
<flip214>
hmmm, so I get an answer... how would I verify that most easily?
<seok>
and ArangoDB has gotten many updates in 5 years.. so I don't trust it
<seok>
well, arangodb operates like other NoSQL dbs
<seok>
I think it's sensible to use strings as keys
<seok>
I suspect there would be just as much bottleneck in coercing strings to symbols and back
<phoe>
seok: any reasons for why you don't grab that project, fork it, and use it as a basis?
<phoe>
coercing symbols to strings is cheap, the other way around it's more expensive
<phoe>
but it won't really matter much if you use strings I guess, all you'll be doing is reading these strings in and passing them to the DB unchanged
<seok>
yeah, so going back and forth lisp <-> arangodb I would have to call both ways
<seok>
yes
orivej_ has quit [Ping timeout: 246 seconds]
<seok>
I'm not familiar with this library
<seok>
I just found it, haven't read it
orivej has joined #lisp
<phoe>
I'd advise you to do that; maybe you can just scavenge things from it
<seok>
eh, I've written accessors to arangodb api before
<seok>
their api is pretty clean
<seok>
I feel it would be a bigger job to interpret this library
<seok>
Does anyone use arangodb btw?
bhartrihari has left #lisp [#lisp]
terpri_ is now known as terpri
jesse1010 has joined #lisp
bhartrihari has joined #lisp
vidak`` has quit [Read error: Connection reset by peer]
Bourne has joined #lisp
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #lisp
jonatack has joined #lisp
jonatack has quit [Client Quit]
jonatack has joined #lisp
jonatack has quit [Ping timeout: 256 seconds]
vidak`` has joined #lisp
jonatack has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
bhartrihari has left #lisp ["Disconnected: closed"]
Cymew has quit [Read error: Connection reset by peer]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
karlosz has quit [Quit: karlosz]
dale has quit [Quit: My computer has gone to sleep]
kaftejiman has joined #lisp
nicktick has joined #lisp
JetJej has joined #lisp
v3ga has joined #lisp
gaqwas has quit [Remote host closed the connection]
<flip214>
SBCLs docstring for ADJUST-ARRAY says "Adjusts ARRAY's dimensions...", but it doesn't seem to _modify_ the given array, only return another one. Am I reading the docstring wrong?
<jackdaniel>
is the array "expressly adjustable"?
<jackdaniel>
(adjustable-array-p array)
<flip214>
cltl2 says "this may be achieved either by modifying the array or by creating a new array", so I guess the docstring could be anhanced
<flip214>
jackdaniel: it's allocated at runtime via (make-array 20 ...), but doesn't have a fill-pointer or so.
rgherdt has quit [Remote host closed the connection]
holycow has quit [Quit: Lost terminal]
<jackdaniel>
Xach: human error, I'll correct it later today
dominic34 has quit [Ping timeout: 264 seconds]
<jackdaniel>
thanks for bringing this up
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
whiteline has joined #lisp
seok has quit [Ping timeout: 245 seconds]
rumbler31_ has joined #lisp
scymtym has joined #lisp
Cymew has quit [Read error: Connection reset by peer]
TwoNotes has quit [Quit: Leaving]
Bit_MCP has joined #lisp
jw4 has quit [Read error: Connection reset by peer]
jw4 has joined #lisp
JetJej has quit [Quit: [Quit]]
dale_ has joined #lisp
dale_ is now known as dale
bitmapper has joined #lisp
oxum_ has quit [Remote host closed the connection]
bhartrihari has left #lisp ["Disconnected: closed"]
bhartrihari has joined #lisp
drdee has quit [Quit: Leaving]
dominic34 has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
srji has quit [Ping timeout: 265 seconds]
gaqwas has quit [Remote host closed the connection]
orivej_ has joined #lisp
orivej has quit [Ping timeout: 265 seconds]
<pve>
Is there a recommended documentation generation library?
Bourne has joined #lisp
<beach>
Documentation can't be generated. It has to be written.
<pve>
fair enough, I meant something that can take my docstrings and turn them into, say, a html document
<beach>
That makes for some really awful documentation indeed.
<beach>
Because there is no way to put general information, concepts, etc.
<beach>
Plus, since space is kind of limited in docstrings, you get awful documentation for individual functions. Take SBCL CAR for instance: "Return the 1st object in a list."
<beach>
It is incomplete and inaccurate.
|Pirx| has joined #lisp
<jackdaniel>
Xach: corrected, thanks again
rogersm has joined #lisp
Lycurgus has joined #lisp
oxum has joined #lisp
<phoe>
pve: try Staple
<pve>
beach: I mean, you're not wrong, but I still think docstrings are pretty neat
<edgar-rft>
the only one I ever have worked with is Albert and it did its job pretty well
jonatack has joined #lisp
<edgar-rft>
but a real manual also needs to explain the overall idea and why it was implemented the way it is, both cannot be extracted from the docstrings
<pve>
edgar-rft: thanks, and yes, a high-level document is definitely required
<jackdaniel>
clearly it is not required given that most new project doesn't have documentation, it is a nice touch though :)
<_death>
awesome :).. hopefully will be awake when it happens
orivej_ has joined #lisp
bhartrihari has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
bsd4me has quit [Remote host closed the connection]
grewal has quit [Ping timeout: 260 seconds]
q3d has quit [Ping timeout: 245 seconds]
grewal has joined #lisp
epony has quit [Ping timeout: 258 seconds]
cosimone has joined #lisp
Theseus has quit [Remote host closed the connection]
Theseus has joined #lisp
Theseus has quit [Remote host closed the connection]
bsd4me has joined #lisp
grewal has quit [Ping timeout: 260 seconds]
Theseus has joined #lisp
grewal has joined #lisp
tutti has joined #lisp
gravicappa has quit [Ping timeout: 260 seconds]
gargaml has joined #lisp
gravicappa has joined #lisp
gekkou has joined #lisp
rogersm has quit [Quit: Leaving...]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
Jonsky has joined #lisp
<Jonsky>
I keep getting "odd number of &key arguents" when I called (defun test-fun (&rest args &key k) (list args k)) with (test-fun "h" "i" "j" :k "k")
<Jonsky>
Anything I did wrong?
<Inline>
&rest expects a list
<Inline>
?
<Bike>
if you have &key, the entire &rest list must be a keyword argument list
<Bike>
you can't have some random elements and then keywords, which is what you seem to be going for
<Jonsky>
argh, yes
grewal has quit [Ping timeout: 246 seconds]
grewal has joined #lisp
<Jonsky>
Is there anyway I can have an argument list thats accept any number of inputs and then a keyword argument?
<phoe>
Jonsky: yes, &rest
<phoe>
parse the arglist manually afterwards
<Krystof>
any even number of inputs and then a keyword argument, sort of
<Bike>
the reason for this restriction is that keywords are just values rather than syntax, so there would be no clear way to distinguish where the keys start
<Jonsky>
I was puzzled because I see the argument list of ~reduce~ is kinda like that
<Krystof>
the argument list of reduce has exactly two arguments, then keyword arguments