jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <http://cliki.net/> <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | SBCL 1.5.4, CMUCL 21b, ECL 16.1.3, CCL 1.11.5, ABCL 1.5.0
nanoz has joined #lisp
sameerynho has quit [Ping timeout: 244 seconds]
ldb has joined #lisp
akoana has joined #lisp
fragamus has quit [Ping timeout: 265 seconds]
fragamus has joined #lisp
fragamus has quit [Ping timeout: 265 seconds]
vsync has quit [Ping timeout: 246 seconds]
__jrjsmrtn__ has quit [Ping timeout: 258 seconds]
__jrjsmrtn__ has joined #lisp
quazimodo has joined #lisp
alexanderbarbosa has joined #lisp
ldb has quit [Ping timeout: 276 seconds]
quazimodo has quit [Ping timeout: 246 seconds]
quazimodo has joined #lisp
raghavgururajan has joined #lisp
_paul0 has quit [Remote host closed the connection]
vsync has joined #lisp
vaporatorius has joined #lisp
vaporatorius has quit [Changing host]
vaporatorius has joined #lisp
vaporatorius has quit [Read error: Connection reset by peer]
akoana has left #lisp ["Leaving"]
bitmapper has quit [Ping timeout: 258 seconds]
semz_ has joined #lisp
nanoz has quit [Ping timeout: 276 seconds]
semz has quit [Ping timeout: 268 seconds]
nanoz has joined #lisp
t58 has quit [Quit: Leaving]
IAmRasputin has joined #lisp
mindthelion has quit [Ping timeout: 245 seconds]
v88m has joined #lisp
<fengshaun> is it possible to do partial application for arbitrary functions?
<pjb> You can write a partial evaluator, yes.
<fengshaun> mmm what keywords should I be searching?
<fengshaun> macros I'm guessing?
<pjb> I would start googling for: how to implement a partical evaluator in lisp
<Bike> do you want actual application or is just a delay alright
<pjb> you will probably have to backtrack to: how to implement a partical evaluator
<fengshaun> I'm looking for currying to be more precise
<fengshaun> thanks
<Bike> alexandria has a curry function
<fengshaun> ah, who's alexandria?
<Bike> i mean it's basically (curry f x) = (lambda (&rest r) (apply f x r))
<fengshaun> I kid I kid
<fengshaun> thanks
techquila has joined #lisp
nanoz has quit [Ping timeout: 245 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
<raghavgururajan> Hello Folks! I am trying to learn LISP for first time. I am interested in Common LISP, Emacs LISP, Scheme and Guile. Should I be learning these dialects in particular order? Thank you!
<Bike> i don't think there's any required order. also, this channel is actually for common lisp specifically. i think the "general" channel is ##lisp or so
<no-defun-allowed> Learn Common Lisp, don't learn Elisp if you want to do work outside of Emacs with it (since, well, you can't), Guile is Scheme so learn Scheme after, and do all that after you remember to release the Shift key after writing the L in Lisp.
superkumasan has quit [Ping timeout: 246 seconds]
karswell has joined #lisp
<raghavgururajan> Bike and no-defun-allowed Thank you!
<pjb> raghavgururajan: but the order you cited looks good.
<pjb> raghavgururajan: http://cliki.net/Getting+Started
<raghavgururajan> pjb Thanks!
<pjb> raghavgururajan: http://cliki.net/online+tutorial
iovec has quit [Quit: Connection closed for inactivity]
fragamus has joined #lisp
<no-defun-allowed> Is there an external-format I can use to read lines from a "DOS-formatted" line with CRLF line endings without having nasty CRs at the end of those lines?
<Bike> sbcl supports that, i think
analogue has joined #lisp
ahungry has joined #lisp
<Bike> actually i'm not seeing it. hrm
<no-defun-allowed> Never mind, I'll use (remove (code-char 13) <string>). It'd have to work in ABCL too.
<Bike> yeah i don't think there's anything standard.
georgie_ has joined #lisp
ebrasca has quit [Remote host closed the connection]
<Bike> babel or a library like it might patch things over for you, though
<no-defun-allowed> All good, thanks.
ebrasca has joined #lisp
ebrasca has quit [Remote host closed the connection]
paul0 has joined #lisp
igemnace has quit [Ping timeout: 268 seconds]
igemnace has joined #lisp
ebrasca has joined #lisp
<fengshaun> how do I easily find the sbcl source that implements a function?
<fengshaun> say, apply
<fengshaun> I'm wondering how apply spreads its arguments
<fengshaun> short of downloading the code and grepping
<fengshaun> and https://sourceforge.net/p/sbcl/sbcl/ci/master/tree/ is hard to navigate for someone unfamiliar
<LdBeth> fengshaun: get SLIME and press M-. on function/macro name
georgie_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<LdBeth> But first you may need fetch source code for SBCL
<fengshaun> LdBeth, ah, yes, need to fetch it
<fengshaun> slime points to a nonexistent directory
<fengshaun> not sure why it chose C:/
<fengshaun> thanks
<White_Flame> if you install sbcl from source, that should hook up pretty automatically
<White_Flame> and you'll have the latest version
<fengshaun> White_Flame, that's gonna be a deep rabbit hole
<White_Flame> it's a single build script they include, so that's nice
<White_Flame> oh wait, I keep forgetting people still use windows...
<White_Flame> never mind :)
<White_Flame> portacle is an all-in-one environment for CL https://portacle.github.io/
<White_Flame> I have not tested if it includes linked source through
<White_Flame> *though
fragamus has quit [Ping timeout: 276 seconds]
analogue has quit [Quit: Leaving]
<pjb> ok, people can use ms-windows, but developers?!
vaporatorius has joined #lisp
<pjb> Just use linux to develop, and only deploy on MS-Windows.
fragamus has joined #lisp
<beach> Good morning everyone!
<ebrasca> morning beach!
<beach> fengshaun: APPLY would not be a Common Lisp function, so SLIME probably can't find it.
Bike has quit [Quit: Lost terminal]
mindthelion has joined #lisp
techquila has quit [Ping timeout: 245 seconds]
<White_Flame> APPLY is a standard function, SLIME finds it just fine
<White_Flame> however, there are compile-time shenanigans happening too, so each of the hits that M-. brings up is some different path it might take
<White_Flame> since DEFUN APPLY calls APPLY itself, that inner APPLY is actually something different
<beach> Oh? Then either it calls some lower level function to do the spreading.
<beach> I don't see how that could be done in Common Lisp, because it would involve direct access to machine registers and such.
<White_Flame> inside DEFUN APPLY, there are type checks on the parameters. The nested APPLY then is in scope of when types are known, and compiler shenanigans do the low-level replacements there
<beach> Yeah, OK.
<White_Flame> and of course, if the types are known in user code (basically if the last parameter is a list), then the shenanigans can happen there directly
georgie_ has joined #lisp
seok has quit [Ping timeout: 260 seconds]
torbo has joined #lisp
<pjb> beach: I don't know about sbcl, but in ccl, slime usually can find the source of CL operators.
<pjb> Choose your development implementation wisely!
<ck_> pjb: this looks to be more of a 'implementation platform" problem. More to do with windows than sbcl.
superkumasan has joined #lisp
karlosz has joined #lisp
<beach> pjb: What I meant was that fengshaun should not expect the code that spreads the argument to be written as a standard Common Lisp function.
<beach> I didn't express myself very well. I'll blame the time of day and lack of coffee.
gravicappa has joined #lisp
<pjb> Yes, but at least you should get some sources. It's true that it won't necessarily be clear, unless you know the internals of the implementation.
awolven has joined #lisp
aautcsh has quit [Quit: aautcsh]
dddddd has quit [Remote host closed the connection]
aautcsh has joined #lisp
<beach> Fair enough.
torbo has quit [Remote host closed the connection]
shka_ has joined #lisp
_whitelogger has joined #lisp
karlosz has quit [Quit: karlosz]
<fengshaun> beach, no, it found the definition and I looked it up, it's a 'normal' cl function
Necktwi has joined #lisp
<fengshaun> pretty much cons'es the list together so the end result is it removes one layer of nesting
<fengshaun> White_Flame, oh, I didn't know the inner apply is different
<fengshaun> anyway, it was an interesting rabbit hole
_whitelogger has joined #lisp
<beach> fengshaun: Oh? So how does it pass the arguments to the function being called? I would be surprised if it conses anything at all.
<beach> I can see that, in some implementations, every function would receive a list of arguments, but that would be a not-very-efficient implementation.
<beach> fengshaun: An efficient native-code Common Lisp implementation would pass arguments in registers and on the stack, and neither the registers nor the stack are available to a standard Common Lisp function.
<ck_> beach: I'd guess this is the source code they're looking at: https://github.com/sbcl/sbcl/blob/master/src/code/eval.lisp#L328
<beach> That one just calls APPLY recursively.
<beach> But yeah, it seems to be consing. The comment suggests that this is not the way it is typically handled though.
<beach> It suggests that the compiler treats APPLY specially.
dale has quit [Quit: My computer has gone to sleep]
jlarocco has joined #lisp
<fengshaun> yea, that's the code I was talking about
<beach> fengshaun: And it doesn't tell you how arguments are spread.
<beach> And I strongly suspect that this function is not called at all in most cases.
remexre has quit [Ping timeout: 268 seconds]
<beach> fengshaun: The SBCL compiler treats a lot of stuff specially. For example, here is the definition of the function CAR: https://github.com/sbcl/sbcl/blob/master/src/code/list.lisp#L30
<beach> fengshaun: But that's not a very satisfactory definition of the function CAR.
abhixec has joined #lisp
ldb has joined #lisp
remexre has joined #lisp
<fengshaun> beach, huh, that makes sense
<fengshaun> thanks
<fengshaun> I guess I have to suffice with the clhs definition
shifty has quit [Ping timeout: 246 seconds]
karlosz has joined #lisp
Inline has quit [Quit: Leaving]
vlatkoB has joined #lisp
fragamus has quit [Ping timeout: 245 seconds]
nowhere_man has joined #lisp
<no-defun-allowed> The representation of stuff isn't specificied in the CLHS, so it's probably useless if you want to read about the implementation of CAR.
shka_ has quit [Ping timeout: 246 seconds]
<beach> CAR was just an example of how the SBCL treats things specially. Nobody expressed interest in the implementation of CAR.
jlarocco has quit [Read error: Connection reset by peer]
<beach> the SBCL compiler treats...
user___ has joined #lisp
<no-defun-allowed> Oh, never mind then.
abhixec has quit [Ping timeout: 276 seconds]
elderK has quit [Ping timeout: 276 seconds]
ahungry has quit [Remote host closed the connection]
elderK has joined #lisp
scymtym has quit [Ping timeout: 276 seconds]
shka_ has joined #lisp
orivej has joined #lisp
Necktwi has quit [Ping timeout: 276 seconds]
fragamus has joined #lisp
sauvin has joined #lisp
frgo has joined #lisp
fragamus has quit [Ping timeout: 276 seconds]
shka_ has quit [Ping timeout: 245 seconds]
nowhereman has joined #lisp
nowhere_man has quit [Read error: Connection reset by peer]
newbie has joined #lisp
flamebeard has joined #lisp
refpga has joined #lisp
nostoi has joined #lisp
hiroaki has quit [Ping timeout: 240 seconds]
JohnMS_WORK has joined #lisp
nowhereman has quit [Read error: Connection reset by peer]
nowhere_man has joined #lisp
heisig has joined #lisp
ljavorsk has joined #lisp
nostoi has quit [Quit: Verlassend]
ldb has quit [Quit: leaving]
manualcrank has quit [Quit: WeeChat 1.9.1]
fragamus has joined #lisp
moldybits has joined #lisp
elderK has quit [Quit: WeeChat 1.9]
fragamus has quit [Ping timeout: 246 seconds]
cacofonix has joined #lisp
cacofonix has quit [Remote host closed the connection]
newbie has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
Rabid_Python has joined #lisp
Necktwi has joined #lisp
nowhere_man has quit [Ping timeout: 276 seconds]
aasmundo has joined #lisp
ralt has joined #lisp
Mandus has left #lisp [#lisp]
scymtym has joined #lisp
edgar-rft has quit [Read error: Connection reset by peer]
edgar-rft has joined #lisp
Oladon_wfh has quit [Ping timeout: 260 seconds]
vap1 has joined #lisp
vaporatorius has quit [Read error: Connection reset by peer]
jonatack has quit [Quit: jonatack]
varjag has joined #lisp
ggole has joined #lisp
elderK has joined #lisp
Necktwi has quit [Remote host closed the connection]
khisanth_ has quit [Ping timeout: 240 seconds]
karlosz has quit [Quit: karlosz]
edgar-rft has quit [Quit: Leaving]
raghavgururajan has quit [Read error: Connection reset by peer]
khisanth_ has joined #lisp
hhdave has joined #lisp
refpga has quit [Read error: Connection reset by peer]
ljavorsk has quit [Ping timeout: 276 seconds]
schjetne has joined #lisp
aautcsh has quit [Quit: aautcsh]
varjag has quit [Ping timeout: 276 seconds]
cartwright has quit [Remote host closed the connection]
cartwright has joined #lisp
datajerk has quit [Ping timeout: 268 seconds]
shifty has joined #lisp
datajerk has joined #lisp
quazimodo has quit [Ping timeout: 265 seconds]
quazimodo has joined #lisp
fragamus has joined #lisp
iovec has joined #lisp
fragamus has quit [Ping timeout: 240 seconds]
nanoz has joined #lisp
Lord_of_Life has quit [Ping timeout: 276 seconds]
Lord_of_Life has joined #lisp
varjag has joined #lisp
raghavgururajan has joined #lisp
seok has joined #lisp
<seok> does flet and labels have implicit progn?
<seok> can I do something like this? (labels ((f () (form1) (form2)))
<saturn2> yes
<seok> Nice, thanks
<no-defun-allowed> Yes, the same as DEFUN and LAMBDA.
<ralt> I wish unwind-protect had an inverted implicit progn
<ralt> i.e. implicit for everything-but-last instead of implicit for everything-but-first
patrixl has quit [Quit: ERC (IRC client for Emacs 26.3)]
<beach> clhs flet
<beach> soek: Look at that page.
<beach> Do you you see the local-form* and the form*?
<beach> The * is the Kleene start, and can be read as "zero or more".
<heisig> ralt: I have two replies for you, that are almost universally applicable to all 'issues' in Common Lisp:
<heisig> 1. The standardization committee was full of brilliant people, they probably had their reasons.
<heisig> 2. This issue can be fixed with a simple macro.
<ralt> 2. unwind-protect2 just doesn't have the same feeling to it
<heisig> Heck, you can even make your own ralt-cl package that shadows unwind-protect with something of your choice :)
<ralt> that brings its own set of problems :)
<saturn2> i imagine the reason is consistency
<ralt> that wasn't really an "issue", just random venting
<heisig> You could just ignore syntactic issues altogether. That is what I do nowadays, after realizing how much brainpower I have already wasted on this topic.
<ralt> meh, where's the fun if we can't argue on random syntactic issues :)
<saturn2> you could always use (unwind-protect (progn ...) (progn ...))
<saturn2> that way it's nice and symmetrical
<heisig> saturn2: Aaargh.
<saturn2> (i'm kidding)
<beach> seok: And look a bit further down the page: local-forms, forms---an implicit progn.
<ralt> saturn2: I'm trying to think of a snarky answer but falling short :P
superkumasan has quit [Ping timeout: 265 seconds]
m00natic has joined #lisp
kajo has quit [Quit: From my rotting body, flowers shall grow and I am in them and that is eternity. -- E. M.]
edgar-rft has joined #lisp
guna_ has joined #lisp
xantoz has quit [Ping timeout: 258 seconds]
guna has quit [Ping timeout: 258 seconds]
dxtr has quit [Ping timeout: 268 seconds]
dxtr has joined #lisp
xantoz has joined #lisp
<no-defun-allowed> Has anyone made a Common Lisp ugly printer? Not an obsfucator, the read in form should be the same as the form printed, but one that tries its best to write the least aesthetically pleasing output as possible.
<no-defun-allowed> Maybe it would leave dangling parens, produce odd indentation, that kind of thing.
gxt has quit [Quit: WeeChat 2.6]
<heisig> no-defun-allowed: Given that it is possible to have reader macros in the printed forms, such a tool could produce VERY ugly results.
<heisig> I think that is also the reason why there is no obfuscated Lisp code contest.
<heisig> It would be too easy.
<no-defun-allowed> True. I'll keep my ugliness to things that make #lisp sad when reading code. then.
cosimone has joined #lisp
quazimodo has quit [Ping timeout: 246 seconds]
quazimodo has joined #lisp
cosimone has quit [Quit: Leaving]
cosimone has joined #lisp
alexanderbarbosa has quit [Ping timeout: 276 seconds]
makomo has joined #lisp
<ralt> I have a funny unix guess game
<ralt> (DON'T RUN THIS AT HOME, IT'LL BRICK YOUR OS) if you run `chmod -x /lib64/ld-linux-x86-64.so.2`, how can you fix it? the constraints being that you ran this in bash, and you can't reboot into another OS.
<no-defun-allowed> install mezzano
<ralt> I did mention "unix" :)
<no-defun-allowed> this isn't #unix
<ralt> ¯\_(ツ)_/¯
<no-defun-allowed> alternately, wait for Schmidt to refurbish another lispm and buy that instead
<no-defun-allowed> (but seriously, maybe hope you have statically linked Busybox and a root shell lying around?)
ironbutt has joined #lisp
<ralt> ... pretty much
ir0nbutt has joined #lisp
ironbutt has quit [Ping timeout: 245 seconds]
hhdave has quit [Ping timeout: 245 seconds]
hhdave has joined #lisp
aautcsh has joined #lisp
cosimone has quit [Quit: Leaving]
orivej has quit [Ping timeout: 246 seconds]
cosimone has joined #lisp
amerlyq has joined #lisp
prxq has joined #lisp
unk has joined #lisp
EvW has joined #lisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
cosimone has quit [Client Quit]
analogue has joined #lisp
raghavgururajan has quit [Read error: Connection reset by peer]
fragamus has joined #lisp
hhdave has quit [Ping timeout: 245 seconds]
hhdave has joined #lisp
dddddd has joined #lisp
fragamus has quit [Ping timeout: 265 seconds]
gabiruh_ has joined #lisp
fragamus has joined #lisp
iovec has quit [Quit: Connection closed for inactivity]
gabiruh has quit [Ping timeout: 268 seconds]
fragamus has quit [Ping timeout: 276 seconds]
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
eigenhombre has joined #lisp
<eigenhombre> Hi, is there some magic required to load libraries requiring FFI in SBCL? When I "(ql:quickload :cl-charms)" I get "Error while trying to load definition for system cl-charms frompathname/Users/eigenhombre/quicklisp/dists/quicklisp/software/cl-charms-20181210-git/cl-charms.asd: COMPILE-FILE-ERROR while compiling #<CL-SOURCE-FILE "cffi" "src"
<eigenhombre> "cffi-sbcl"> [Condition of type ASDF/FIND-SYSTEM:LOAD-SYSTEM-DEFINITION-ERROR]"
<eigenhombre> (Sorry, IRC and Common Lisp newbie). This happens on OS X whether I install SBCL with Homebrew or from source. Other quicklisp library installs work fine.
red-dot has joined #lisp
Aruseus has joined #lisp
ravenousmoose has joined #lisp
analogue_ has joined #lisp
fragamus has joined #lisp
analogue has quit [Ping timeout: 276 seconds]
xkapastel has joined #lisp
<ck_> eigenhombre: what are your eigensombreros?
<ck_> I am on osx as well, can load cl-charms without problems through quicklisp. It compiles some c sources with clang.
<ck_> is it possible that that part didn't work for you? Also, try (ql:quickload :cl-charms :verbose T) to see more information
cosimone has joined #lisp
Bike has joined #lisp
bitmapper has joined #lisp
icylisper has joined #lisp
<Xach> This is an early error - it's when loading the prerequisites involving cffi
aautcsh has quit [Quit: aautcsh]
eich has joined #lisp
user___ has quit [Ping timeout: 276 seconds]
m00natic has quit [Remote host closed the connection]
analogue_ has quit [Quit: Leaving]
iovec has joined #lisp
georgie_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JohnMS_WORK has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
warweasle has joined #lisp
ravenousmoose has quit [Ping timeout: 246 seconds]
icylisper has quit [Ping timeout: 245 seconds]
flamebeard has quit []
awolven has quit [Ping timeout: 265 seconds]
ironbutt has joined #lisp
ir0nbutt has quit [Ping timeout: 240 seconds]
mindCrime_ has joined #lisp
dale_ has joined #lisp
dale_ is now known as dale
kamog has quit [Read error: Connection reset by peer]
stepnem has quit [Ping timeout: 276 seconds]
anddam has joined #lisp
ym has joined #lisp
orivej has joined #lisp
gxt has joined #lisp
Cymew has quit [Ping timeout: 246 seconds]
smazga has joined #lisp
varjag has quit [Quit: ERC (IRC client for Emacs 25.2.2)]
fragamus has quit [Ping timeout: 240 seconds]
elfmacs has joined #lisp
Guest14630 has joined #lisp
<Guest14630> anyone here have a keyboardio?
sjl_ has joined #lisp
EvW has quit [Ping timeout: 245 seconds]
makomo has quit [Ping timeout: 245 seconds]
elfmacs_ has joined #lisp
elfmacs has quit [Read error: Connection reset by peer]
paul0 has quit [Ping timeout: 245 seconds]
Inline has joined #lisp
karlosz has joined #lisp
gareppa has joined #lisp
EvW has joined #lisp
<anddam> hello
fragamus has joined #lisp
rippa has joined #lisp
elfmacs_ has quit [Ping timeout: 276 seconds]
aautcsh has joined #lisp
<Shinmera> Is that a new common lisp implementation
fragamus has quit [Ping timeout: 240 seconds]
stepnem has joined #lisp
noobineer1 has quit [Ping timeout: 276 seconds]
vlatkoB has quit [Remote host closed the connection]
noobineer has joined #lisp
adom` has joined #lisp
varjag has joined #lisp
vlatkoB has joined #lisp
aautcsh has quit [Quit: aautcsh]
yoeljacobsen has joined #lisp
aautcsh has joined #lisp
aautcsh has quit [Client Quit]
schjetne has quit [Ping timeout: 246 seconds]
gareppa has quit [Quit: Leaving]
fragamus has joined #lisp
gareppa has joined #lisp
papachan has joined #lisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
fragamus has quit [Ping timeout: 265 seconds]
fragamus has joined #lisp
refpga has joined #lisp
EvW has quit [Ping timeout: 246 seconds]
papachan has quit [Ping timeout: 276 seconds]
paul0 has joined #lisp
iovec has quit []
chipolux has joined #lisp
Oladon_work has joined #lisp
LiamH has joined #lisp
stepnem has quit [Ping timeout: 245 seconds]
karlosz has quit [Quit: karlosz]
karlosz has joined #lisp
karlosz has quit [Remote host closed the connection]
stepnem has joined #lisp
<Xach> I still can't get over how CLISP's CL:REQUIRE is not a plain function.
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<Bike> it's not?
<Bike> "At compile time, (REQUIRE #P"foo") forms are treated specially" oh no.
shifty has quit [Ping timeout: 276 seconds]
esrse has joined #lisp
pjb has quit [Remote host closed the connection]
pjb has joined #lisp
bitmapper has quit [Read error: Connection reset by peer]
red-dot has joined #lisp
bitmapper has joined #lisp
manualcrank has joined #lisp
<Xach> Oh yes
DataLinkDroid2 has joined #lisp
noobineer has quit [Read error: Connection reset by peer]
DataLinkDroid has quit [Ping timeout: 264 seconds]
noobineer has joined #lisp
aautcsh has joined #lisp
rmg has joined #lisp
rmg is now known as rasputin
esrse has quit [Ping timeout: 276 seconds]
<pjb> Well, require with a single argument is implementation dependent; in that case, I don't see how getting different results when evaluating it at compilation-time or at run-time makes any difference. If you want conforming results, pass it the path to load!
rasputin is now known as hacker-n-sickle
gravicappa has quit [Ping timeout: 276 seconds]
<pjb> Bike: also, note that #P"foo" is not a string designator.
shka_ has joined #lisp
Finnfinn has joined #lisp
hhdave has quit [Quit: hhdave]
hacker-n-sickle is now known as rmg1917
gareppa has quit [Quit: Leaving]
gareppa has joined #lisp
makomo has joined #lisp
lucasb has joined #lisp
<beach> Hello anddam.
heisig has quit [Quit: Leaving]
dyelar has quit [Quit: Leaving.]
eich has quit [Ping timeout: 276 seconds]
MrBismuth has joined #lisp
jonatack has joined #lisp
MrBusiness3 has quit [Ping timeout: 276 seconds]
Harag has joined #lisp
<Harag> I submitted a project to quicklisp, and it passed build but since then there have been some bug fixes, will a fresh pull be done before the ql release or do I need to submit an update request in the issues?
<Xach> Harag: it will be updated automatically
<Xach> Right before the new release
<Harag> Xach: kewl! Thanx
kajo has joined #lisp
EvW has joined #lisp
karlosz has joined #lisp
fragamus has quit [Ping timeout: 265 seconds]
akoana has joined #lisp
<munksgaard[m]> Is anyone here associated with lisp.se? All links I can find seem to download immediately instead of opening in the browser: (fragment :421d7a1490788a2c1c1785dff7c479ddb501a0ad97b7bbf399f7abae69abc0f9)
<munksgaard[m]> Oops, I mean to link lisp.se
<munksgaard[m]> :D
raghavgururajan has joined #lisp
sjl has quit [Quit: WeeChat 2.2-dev]
<rmg1917> Is there a way to configure SLIME so that M-x slime opens a REPL buffer in a window on the bottom of the screen, instead of the entire right half of the screen? I'm reading through slime.el and I can't figure out exactly where the new window is created and selected (not super familiar with ELisp or emacs). Is it possible to configure this? Which
<rmg1917> function calls should I be looking for?
Necktwi has joined #lisp
karlosz has quit [Quit: karlosz]
<Shinmera> No, but you can just change the layout so it's at the bottom. C-x 1 C-x 2 C-x o C-x b repl RET
karlosz has joined #lisp
karlosz has quit [Remote host closed the connection]
nowhere_man has joined #lisp
<Shinmera> The way new windows pop up is An Emacs Thing™, and it can get a lot more annoying than that, I'm afraid.
<rmg1917> Well, no one ever said programming was easy. Thanks for the tip!
<White_Flame> nor did anyone ever said emacs was easy, which is more apropos :-P
<Shinmera> Emacs' new window... algorithm (?) is so terrible I don't know if it's sadistic on purpose or just incompetent.
<Harag> Xach: ...documentation for projects...what would you suggest I use to generate docs?
dyelar has joined #lisp
<Shinmera> Can't generate docs, you gotta write them, sorry. Otherwise entire swaths of people would be out of a job already!
<Harag> lol
gravicappa has joined #lisp
<Harag> Shinmera: ok so what is the compromise .. what generator gives you the basics that you can flesh out?
cosimone has quit [Quit: Leaving]
<Xach> Harag: I don't know, sorry.
paul0 has quit [Ping timeout: 245 seconds]
<Shinmera> I don't know what you mean or want, so I can't tell you. I use Staple to aggregate documentation into a page to publish.
<Shinmera> Otherwise I just write a lengthy readme and docstrings.
schjetne has joined #lisp
cosimone has joined #lisp
cosimone has quit [Client Quit]
adom` has quit [Remote host closed the connection]
analogue has joined #lisp
schjetne has quit [Ping timeout: 240 seconds]
kajo has quit [Ping timeout: 246 seconds]
Lycurgus has joined #lisp
gareppa has quit [Quit: Leaving]
gareppa has joined #lisp
gareppa has quit [Remote host closed the connection]
schjetne has joined #lisp
kajo has joined #lisp
<Harag> Shinmera: ...urg.. tried Staple ...my doc strings made sense in the context of the code but without the context (surrounding code) they become nonsensical...
gingerale has joined #lisp
sauvin has quit [Ping timeout: 240 seconds]
gareppa has joined #lisp
papachan has joined #lisp
bitmapper has quit [Ping timeout: 246 seconds]
Necktwi has quit [Ping timeout: 240 seconds]
gravicappa has quit [Ping timeout: 246 seconds]
nanoz has quit [Quit: Leaving]
vms14 has joined #lisp
lavaflow has quit [Ping timeout: 240 seconds]
analogue has quit [Remote host closed the connection]
ggole has quit [Quit: Leaving]
tuscland has joined #lisp
kajo has quit [Ping timeout: 246 seconds]
<tuscland> minion: registration, please?
<minion> The URL https://gitlab.common-lisp.net/users/sign_in?secret=56862810 will be valid until 19:15 UTC.
tuscland has left #lisp [#lisp]
Necktwi has joined #lisp
nowhere_man has quit [Ping timeout: 240 seconds]
raghavgururajan has quit [Read error: Connection reset by peer]
Lycurgus has quit [Quit: Exeunt]
alexanderbarbosa has joined #lisp
vms14 has quit [Remote host closed the connection]
sjl_ has quit [Quit: WeeChat 2.3-dev]
kajo has joined #lisp
vlatkoB has quit [Remote host closed the connection]
vsync has quit [Ping timeout: 246 seconds]
vsync_ has joined #lisp
paul0 has joined #lisp
liberiga has joined #lisp
Hsab_Selur has joined #lisp
adom` has joined #lisp
lavaflow has joined #lisp
scymtym has quit [Ping timeout: 245 seconds]
cosimone has joined #lisp
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
adom` has quit [Ping timeout: 246 seconds]
<munksgaard[m]> I'm trying to use `(ironclad:byte-array-to-hex-string #(44 242 77 186 95))` but ironclad complains that I'm not supplying a `(vector (unsigned-byte 8))`. How do I coerce the array correctly?
<munksgaard[m]> `(type-of #(44 242 77 186 95))` on my system returns `(simple-vector 32)`
papachan has quit [Quit: Leaving]
<munksgaard[m]> Or rather, how do I convert the array from `(simple-vector 32)` to `(vector (unsigned-byte 8))`
<Bike> you can `(coerce vec '(vector (unsigned-byte 8)))`
<Bike> simple-vector = (vector t), i.e. a vector of objects. a (vector (unsigned-byte 8)) is specialized to only deal with bytes, so it's stored more efficiently.
<Bike> #() always makes a (vector t).
nanoz has joined #lisp
<Bike> er, simple-vector is actually (simple-array t (*)) but close enough
iovec has joined #lisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
adom` has joined #lisp
permagreen has quit [Remote host closed the connection]
gareppa has quit [Quit: Leaving]
unk has left #lisp ["Leaving"]
shka_ has quit [Ping timeout: 240 seconds]
refpga has quit [Remote host closed the connection]
refpga has joined #lisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
<whartung> is there a technique where you have an elaborate macro (or macro system), and within the scope of the macro, there are DEFUNs that are scoped, but outside of the macro, they are not.
rmg1917 has left #lisp [#lisp]
<ralt> whartung: flet?
<whartung> (mymacro (x y) (dothing x))
<whartung> honestly I’ve never used it, I would use flet within the macro to wrap the code?
<ralt> flet is essentially "scoped defun"
<whartung> yea
<ralt> so yes, something like (defmacro foo () `(flet ((bar () (...))) (bar x)))
<whartung> yea, that sounds good. I’ll look in to that. Thank you.
pnp has joined #lisp
mbrumlow has quit [Quit: %wubba lubba dub dub%]
<whartung> so LABELS is to FLET as LET* is to LET?
fengshaun has quit [Quit: bibi!]
<Bike> almost, but labels also allows recursive definitions, and for earlier definitions to refer to later ones
<whartung> right, ok. thx
<moldybits> oh, never considered that option
<whartung> yea, I knew things like FLET existed, I just never had to apply them anywhere.
nicdev has joined #lisp
<Xach> ?????
<Xach> I use flet all the dang time. (though many times i 'upgrade' to labels)
<whartung> I’ve never felt the need for a “local” function in my dabblings, that’s all
<Oladon_work> :O
<Xach> it's almost the 17th anniversary of guerilla lisp: the opus
<whartung> wow
nowhere_man has joined #lisp
<whartung> well, I did just celebrate my 19th Wedding Anniv.
fragamus has joined #lisp
<_death> what's wrong with plain defuns?
cosimone has quit [Quit: Leaving]
Necktwi has quit [Remote host closed the connection]
<_death> (out of the defmacro)
<whartung> what do you mean?
fragamus has quit [Ping timeout: 265 seconds]
<_death> not using local definitions
<whartung> well, for me, I wanted a “kinda sorta DSL”, so I wanted capabilities only within the macro, and I didn’t want to have to code walk the thing to hunt them down. and it’s “nice”, in this case, to have a set of functions that don’t pollute the global name space since they’re not applicable outside of the macro.
<_death> well, if you mean local definitions in the expansion, that's ok.. though sometimes it's a good idea to also provide global definitions that error.. I thought you might be talking about definitions to help in computing the expansion
ljavorsk has joined #lisp
<whartung> yea, basically you (should) be able to write normal CL within the sections of the macro, but I also want some “special functions”, that are part of the DSL, to be avaiable to those routines as well.
Lord_of_Life_ has joined #lisp
<_death> yeah, like CL's call-next-method/next-method-p, for instance
<whartung> yea
<Xach> loop-finish
Lord_of_Life has quit [Ping timeout: 265 seconds]
Lord_of_Life_ is now known as Lord_of_Life
<whartung> honestlly, thinkikng about it, not sure how that works in my case. I guess I expand the macro in to a function, and FLET the defitnitions as part of the expansion.
<whartung> I’ll have to suss it out and play with it
ljavorsk has quit [Remote host closed the connection]
<munksgaard[m]> Thank you beach :)
<munksgaard[m]> Sorry, meant to thank Bike!
mrSpec has quit [Ping timeout: 268 seconds]
mrSpec has joined #lisp
mrSpec is now known as Guest61540
ljavorsk has joined #lisp
<Bike> no problem
bitmapper has joined #lisp
<Bike> don't remember what you're thanking me for but i'm confident whatever i did was perfectly great
varjag has quit [Quit: ERC (IRC client for Emacs 26.1)]
<munksgaard[m]> You helped me with a simple-vector of bytes :)
xkapastel has quit [Quit: Connection closed for inactivity]
<whartung> You’re just that kind of person, Bike — who can doubt you :)
sjl has joined #lisp
adom` has quit [Ping timeout: 246 seconds]
ym has quit [Read error: Connection reset by peer]
ljavorsk has quit [Ping timeout: 265 seconds]
fengshaun has joined #lisp
d4ryus has quit [Ping timeout: 245 seconds]
EvW has quit [Ping timeout: 245 seconds]
amerlyq has quit [Quit: amerlyq]
liberiga has quit [Ping timeout: 260 seconds]
Aruseus has quit [Remote host closed the connection]
Bike has quit [Quit: Bike]
mindCrime_ has quit [Ping timeout: 265 seconds]
khisanth_ has quit [Ping timeout: 265 seconds]
adip has joined #lisp
dale has quit [Quit: dale]
dale has joined #lisp
pnp has quit [Ping timeout: 260 seconds]
akoana has left #lisp ["Leaving"]
khisanth_ has joined #lisp
lavaflow has quit [Ping timeout: 245 seconds]
lavaflow has joined #lisp
wooden has quit [Quit: Lost terminal]
nanoz has quit [Ping timeout: 265 seconds]
Bike has joined #lisp
schjetne has quit [Ping timeout: 245 seconds]
scymtym has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
lucasb has quit [Quit: Connection closed for inactivity]
adip has quit [Read error: No route to host]
libertyprime has quit [Quit: leaving]
red-dot has joined #lisp
karswell has quit [Ping timeout: 265 seconds]
Codaraxis has joined #lisp
fragamus has joined #lisp
shifty has joined #lisp
fragamus has quit [Ping timeout: 276 seconds]
eigenhombre has quit [Remote host closed the connection]
Ricchi has joined #lisp
lavaflow has quit [Ping timeout: 265 seconds]
Oladon_work has quit [Ping timeout: 260 seconds]
smazga has quit [Quit: leaving]
EvW has joined #lisp
eigenhombre has joined #lisp
LiamH has quit [Quit: Leaving.]
eigenhombre_ has joined #lisp
eigenhombre has quit [Remote host closed the connection]
eigenhombre_ is now known as eigenhombre
lavaflow has joined #lisp
iovec has quit [Quit: Connection closed for inactivity]
<eigenhombre> ck_: thanks for the suggestions earlier. I tried installing llvm / clang via Homebrew but that did not seem to address the CFFI problem. Using your 'verbose' suggestion provides the error "... Lock on package SB-ALIEN violated when interning SHARED-OBJECT-FILE while in package CFFI-SYS."
alexanderbarbosa has quit [Ping timeout: 246 seconds]
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Codaraxis has quit [Read error: Connection reset by peer]
Codaraxis has joined #lisp
fragamus has joined #lisp
libertyprime has joined #lisp
emacsomancer has quit [Quit: WeeChat 2.5]
bjorkintosh has quit [Remote host closed the connection]
emacsomancer has joined #lisp