<zwr>
going from the chapters 11 and 12 of https://gigamonkeys.com/book/ which I'm reading now, it feels like Common Lisp has some rather poor naming choices like the case sensitive vs case insensitive versions of character/string comparison functions and APPEND and its recycling version NCONC...
<ixelp>
Practical Common Lisp
varjag has quit [Ping timeout: 260 seconds]
ldb has joined #commonlisp
<yitzi>
Many of the names were inherited from from proto-Common LIsp and before. The spec wasn't a written from scratch to create a new language, it was a compromise between the venders, academics etc.
cqst has quit [Ping timeout: 260 seconds]
yitzi has quit [Remote host closed the connection]
<zwr>
is there a current Common Lisp implementation that does something other than harmlessly do the modification if I destructively modify a literal?
cqst has joined #commonlisp
<reb>
I am having trouble parsing that question.
<ldb>
nope, that would be a violation of ansi comformance
<reb>
I think SBCL may generate a warning if it can tell you are modifying a literal.
<ldb>
or rather there would be a question regarding should there be a difference between '(a b) and `(a b)
edgar-rft_ has joined #commonlisp
edgar-rft` has quit [Ping timeout: 248 seconds]
<bike>
sbcl signals a compiler warning, but i don't know if it does anything at runtime. hypothetically you could put that stuff in readonly memory and then it would fault. dunno if anyone does that.
<bike>
the more confusing part is that the compiler may coalesce literals, so "harmless" modifications to one thing may unexpectedly mutate a bunch of other things
Akbar-Birbal has joined #commonlisp
emaczen has quit [Ping timeout: 246 seconds]
kevingal has quit [Ping timeout: 265 seconds]
floyza has joined #commonlisp
spdegabrielle has quit [Quit: Connection closed for inactivity]
mulk has quit [Ping timeout: 272 seconds]
amb007 has joined #commonlisp
fermat has quit [Ping timeout: 252 seconds]
fermat has joined #commonlisp
amb007 has quit [Ping timeout: 244 seconds]
amb007 has joined #commonlisp
akoana has quit [Quit: leaving]
amb007 has quit [Ping timeout: 272 seconds]
random-nick has quit [Ping timeout: 248 seconds]
<floyza>
I've been stuck trying to get asdf's source registry working: I have an asd file for one of my projects symlinked to ~/.local/share/common-lisp/systems/, but using asdf:load-system for that package just says that that component is not found. Any ideas?
<Pixel_Outlaw>
How many pacts with Satan does it take to get Common Lisp on my Google Hemorrhoid phone? Not a fan of the OS in particular but being able to write mobile programs in a sensible language is appealing.
<Posterdati>
3,063,105 bytes in 0.29 seconds (10187.67KB/sec)
<Posterdati>
; Loading "bordeaux-threads"
<Posterdati>
While evaluating the form starting at line 25, column 0
<Posterdati>
of #P"/usr/pkg/quicklisp/dists/quicklisp/software/bordeaux-threads-v0.9.4/bordeaux-threads.asd":
mishoo has quit [Ping timeout: 248 seconds]
<beach>
Posterdati: Please use a paste site (like plaster.tymoon.eu) for more than one like of suff.
<Posterdati>
sorry
<Posterdati>
thanks!
<Posterdati>
ah ok solved!
<Posterdati>
seems that this version of sbcl is not compiled for threads support
easye has joined #commonlisp
<Posterdati>
netbsd still provides non-threads version as binary :(
ym has joined #commonlisp
q3cpma has joined #commonlisp
<q3cpma>
Hello, anyone has an idea of the best way to be make non-local package nicknames? My use case is that my utils have pkgs like :q3cpma/array, :q3cpma/list, etc... and I want to make a :q3cpma/utils that when imported, gives access to those as simply :array and :list
<pve>
q3cpma: do you mean like standard package nicknames?
<beach>
That would probably not be a good idea for those names.
<q3cpma>
I don't think so, since the nicknames would be active globally, while I want to "forward" them under a nickname only thought this aggregating package.
<beach>
q3cpma: Why are you using keyword symbols to talk about your packages?
<q3cpma>
I use #:xxx in defpackages, just a deformation
<q3cpma>
(though a plain array list word wouldn't be very readable)
<beach>
You could use uppercase, because that's typically what the names are.
<q3cpma>
I guess I could in this case, though some people dislike the screaming
<q3cpma>
Maybe I'll just use these package names as-is, even if they're a bit unwieldy
donleo has joined #commonlisp
<q3cpma>
How do you people organize your personal misc/util library? Multiple systems, hierarchical package naming?
<pve>
q3cpma: perhaps you could have something like (q3cpma/utils:setup-nicknames) at the beginning of a file that sets up those nicknames as package-local nicknames?
danieli has quit [Quit: Alpine Linux, the security-oriented, lightweight Linux distribution]
<q3cpma>
pve: I guess I could do something like a #.(nickname-list) in consumer packages. I think I need some thoughts about what's best in this my situation.
danieli has joined #commonlisp
mgl has joined #commonlisp
mgl has quit [Ping timeout: 246 seconds]
amb007 has quit [Ping timeout: 265 seconds]
amb007 has joined #commonlisp
<mountainman1312>
How can I set the value of a variable to the output of a shell command I run with uiop:run-program? I have (defparameter *version* (uiop:run-program "git rev-parse --short HEAD" :output t)), but the *version* variable ends up set to NIL.
cage has joined #commonlisp
cage has quit [Excess Flood]
cage has joined #commonlisp
overclucker has quit [Read error: Connection reset by peer]
<ixelp>
(defparameter *x* (with-output-to-string (*standard-output*) (uiop:run-program "echo hello" :output t))) ERROR: There is no package named "UIOP" . , and then (progn *x*) ERROR: Unbound variable: *X*
<beach>
Oh, well. Try something like that.
<mountainman1312>
Too noob to understand the commas but I'll see what happens :)
mwnaylor has quit [Ping timeout: 248 seconds]
<beach>
Forget the commas.
<beach>
They are for ixelp.
<mountainman1312>
ah gotcha, thanks :)
<mountainman1312>
It works!
<beach>
Great!
<mountainman1312>
Thanks for the help
<beach>
Pleasure.
zwr has quit [Read error: Connection reset by peer]
<ixelp>
GitHub - hraban/tinaa: Tinaa is a flexible and general purpose Lisp documentation system.
Akbar-Birbal has joined #commonlisp
alcor` is now known as alcor
alcor has quit [Changing host]
alcor has joined #commonlisp
wacki has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
varjag has quit [Ping timeout: 272 seconds]
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
varjag has joined #commonlisp
rainthree has joined #commonlisp
Artea has quit [Remote host closed the connection]
wacki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
luna-is-here has joined #commonlisp
McParen has left #commonlisp [#commonlisp]
wacki has joined #commonlisp
wacki has quit [Client Quit]
Gleefre has quit [Remote host closed the connection]
<paulapatience>
dnhester26: I have not, but I would recommend either shinmera's staple or mgl-pax. I use the latter.
<dnhester26>
paulapatience: thanks! will look into them
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
scymtym has quit [Remote host closed the connection]
awlygj has joined #commonlisp
Venoflux has quit [Ping timeout: 255 seconds]
semarie has quit [Quit: connection reset by purr]
semarie_ has joined #commonlisp
treflip has joined #commonlisp
semarie_ is now known as semarie
ym has quit [Ping timeout: 260 seconds]
rainthree has quit [Ping timeout: 264 seconds]
tane has joined #commonlisp
<beach>
Are all those systems of the kind that generates some kind of document from documentation strings?
ym has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
awlygj has quit [Quit: leaving]
rendar has quit [Read error: Connection reset by peer]
rendar_ has joined #commonlisp
<paulapatience>
beach: Yes, but the documentation is not limited to docstrings.
<beach>
I see.
mgl has joined #commonlisp
mgl has quit [Ping timeout: 252 seconds]
<beach>
So I assume each one requires some predefined markup, yes?
ym has quit [Ping timeout: 248 seconds]
<Shinmera>
staple for one supports arbitrary markup options. I like to use markless, but you can also use others. Same for docstring markup, I like to use a very simple "see xref" style but you can define others.
<beach>
I see, thanks.
tane has quit [Quit: Leaving]
scymtym has joined #commonlisp
Everything has quit [Quit: leaving]
jonatack has joined #commonlisp
jon_atack has quit [Ping timeout: 252 seconds]
ym has joined #commonlisp
lucasta has joined #commonlisp
mgl has joined #commonlisp
whosit has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
semarie has quit [Quit: connection reset by purr]
semarie has joined #commonlisp
mgl has quit [Ping timeout: 265 seconds]
attila_lendvai_ has joined #commonlisp
attila_lendvai has quit [Ping timeout: 272 seconds]
Akbar-Birbal has left #commonlisp [#commonlisp]
dnhester26 has joined #commonlisp
yitzi has quit [Remote host closed the connection]
benjaminl has quit [Read error: Connection reset by peer]
benjaminl has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
mgl has joined #commonlisp
Venoflux has joined #commonlisp
treflip has quit [Remote host closed the connection]
treflip has joined #commonlisp
dnhester26 has joined #commonlisp
scymtym has quit [Ping timeout: 255 seconds]
scymtym has joined #commonlisp
dnhester26 has quit [Ping timeout: 244 seconds]
pfdietz has joined #commonlisp
<paulapatience>
beach: mgl-pax uses Markdown
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
mgl has quit [Ping timeout: 248 seconds]
amb007 has quit [Ping timeout: 276 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
skin has joined #commonlisp
dnhester26 has joined #commonlisp
Venoflux has quit [Quit: Venoflux]
<skin>
Coincidentally, I've been in the market for documentation systems. I'll have a look at Staple.
yitzi has joined #commonlisp
triffid has quit [Ping timeout: 260 seconds]
pranav has joined #commonlisp
triffid has joined #commonlisp
droideqa has joined #commonlisp
semarie has quit [Quit: connection reset by purr]
amb007 has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 29.4]
dnhester26 has quit []
dlowe has quit [Remote host closed the connection]
amb007 has quit [Ping timeout: 255 seconds]
amb007 has joined #commonlisp
yitzi has quit [Remote host closed the connection]
ym has quit [Ping timeout: 272 seconds]
akoana has joined #commonlisp
ym has joined #commonlisp
aeth_ has joined #commonlisp
aeth has quit [Ping timeout: 252 seconds]
whosit has quit [Ping timeout: 252 seconds]
whosit has joined #commonlisp
treflip has quit [Ping timeout: 244 seconds]
luna-is-here has quit []
luna-is-here has joined #commonlisp
CrashTestDummy has joined #commonlisp
CrashTestDummy has quit [Quit: Leaving]
mwnaylor has joined #commonlisp
zwr has quit [Read error: Connection reset by peer]
aeth_ is now known as aeth
zwr has joined #commonlisp
spdegabrielle has joined #commonlisp
reb has quit [Remote host closed the connection]
rcoper has joined #commonlisp
Everything has joined #commonlisp
lucasta has quit [Quit: Leaving]
amb007 has quit [Ping timeout: 264 seconds]
danza has joined #commonlisp
ym has quit [Ping timeout: 252 seconds]
alcor has quit [Remote host closed the connection]
danza has quit [Remote host closed the connection]
triffid has quit [Remote host closed the connection]
rcoper has quit [Read error: Connection reset by peer]
triffid has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
varjag has quit [Ping timeout: 264 seconds]
Artea has joined #commonlisp
amb007 has joined #commonlisp
attila_lendvai_ has quit [Ping timeout: 248 seconds]
Everything has quit [Ping timeout: 252 seconds]
Everything has joined #commonlisp
varjag has joined #commonlisp
varjag has quit [Ping timeout: 255 seconds]
puke has quit [Ping timeout: 260 seconds]
puke has joined #commonlisp
luna-is-here_ has joined #commonlisp
luna-is-here has quit [Read error: Connection reset by peer]
rcoper has joined #commonlisp
rcoper has quit [Remote host closed the connection]
st_aldini has quit [Ping timeout: 260 seconds]
pve has quit [Quit: leaving]
synchromesh has quit [Quit: WeeChat 4.0.5]
Catie has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
Catie- has joined #commonlisp
donleo has quit [Ping timeout: 252 seconds]
Catie` has quit [Ping timeout: 272 seconds]
spdegabrielle has quit [Quit: Connection closed for inactivity]