jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language<http://cliki.net/> logs:<https://irclog.whitequark.org/lisp,http://ccl.clozure.com/irc-logs/lisp/> | SBCL 1.4.5, CMUCL 21b, ECL 16.1.3, CCL 1.11.5, ABCL 1.5.0
kozy has quit [Remote host closed the connection]
FreeBirdLjj has quit [Ping timeout: 260 seconds]
kozy has joined #lisp
fisxoj has joined #lisp
dddddd has quit [Remote host closed the connection]
fikka has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
milanj has joined #lisp
rumbler31 has quit [Remote host closed the connection]
Cthulhux has quit [Ping timeout: 256 seconds]
Cthulhux has joined #lisp
fikka has joined #lisp
quazimodo has quit [Ping timeout: 264 seconds]
Mandus has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 264 seconds]
markoong has quit [Ping timeout: 260 seconds]
kozy has quit [Remote host closed the connection]
kozy has joined #lisp
zachk has quit [Quit: Leaving]
fikka has joined #lisp
fisxoj has quit [Quit: fisxoj]
fikka has quit [Ping timeout: 260 seconds]
skapata has quit [Ping timeout: 260 seconds]
skapata has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
Fare has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 245 seconds]
Kundry_Wag has joined #lisp
Kundry_W_ has joined #lisp
Oladon has joined #lisp
rumbler31 has joined #lisp
fikka has joined #lisp
Kevslinger has quit [Quit: Connection closed for inactivity]
Fare has joined #lisp
Kundry_Wag has quit [Ping timeout: 248 seconds]
rumbler31 has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 256 seconds]
sauvin_ is now known as sauvin
fikka has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
FreeBirdLjj has joined #lisp
Kundry_W_ has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
igemnace has joined #lisp
fikka has joined #lisp
Kundry_Wag has quit [Ping timeout: 256 seconds]
sz0 has quit [Quit: Connection closed for inactivity]
eli_oat has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
paul0 has joined #lisp
eli_oat has quit [Quit: Leaving.]
karlosz has joined #lisp
surya has joined #lisp
Pixel_Outlaw has quit [Quit: Leaving]
fikka has joined #lisp
pierpa has quit [Quit: Page closed]
quazimodo has joined #lisp
fikka has quit [Ping timeout: 276 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
Kundry_Wag has joined #lisp
Kundry_W_ has joined #lisp
eminhi has joined #lisp
Kundry_Wag has quit [Ping timeout: 268 seconds]
EvW1 has quit [Ping timeout: 255 seconds]
fikka has joined #lisp
knicklux has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
pierpal has joined #lisp
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
orivej has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
robotoad has quit [Quit: robotoad]
charh has quit [Quit: sjskfhg]
pierpal has quit [Read error: Connection reset by peer]
fikka has joined #lisp
Kundry_W_ has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 248 seconds]
robotoad has joined #lisp
<DataLinkDroid> Good morning.
doanyway has joined #lisp
* DataLinkDroid wonders if there is anyone here who has any experience with using CFFI to load and call functions from an Ada 2012 standalone shared library.
<DataLinkDroid> I'm not having much luck with my first attempt at this, even though I have tinkered with CFFI before with C libraries, successfully.
<aeth> Ada, interesting.
FreeBirdLjj has joined #lisp
pierpal has joined #lisp
knicklux has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 264 seconds]
knicklux has joined #lisp
rumbler31 has joined #lisp
fikka has joined #lisp
FreeBirdLjj has quit [Ping timeout: 265 seconds]
orivej has joined #lisp
* DataLinkDroid created the Ada 2012 library (with exported functions according to C standard), so the issue could lie on either side.
karlosz has quit [Quit: karlosz]
* DataLinkDroid can call the Ada functions fine from C code, but Ada library initialisation seems to case the lisp to crash with a stack or memory error, which appears to be raised from within Ada land.
rumbler31 has quit [Ping timeout: 256 seconds]
knicklux has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 260 seconds]
robotoad has quit [Read error: Connection reset by peer]
robotoad has joined #lisp
FreeBirdLjj has joined #lisp
<DataLinkDroid> *cause the lisp to crash
knicklux has joined #lisp
karlosz has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
knicklux has quit [Client Quit]
karlosz has quit [Client Quit]
fikka has joined #lisp
FreeBirdLjj has quit [Ping timeout: 260 seconds]
eminhi has quit [Remote host closed the connection]
<DataLinkDroid> The exception raised after library init is: raised STORAGE_ERROR : stack overflow or erroneous memory access
<DataLinkDroid> This looks like an Ada message. So it appears to be getting itself into some kind of trouble while initialising itself.
FreeBirdLjj has joined #lisp
fikka has quit [Ping timeout: 245 seconds]
schoppenhauer has quit [Ping timeout: 264 seconds]
FreeBirdLjj has quit [Ping timeout: 248 seconds]
schoppenhauer has joined #lisp
fikka has joined #lisp
<beach> Good morning everyone!
fikka has quit [Ping timeout: 248 seconds]
<shangul> good morning!
brendyn has joined #lisp
FreeBirdLjj has joined #lisp
<beach> Hello shangul.
<shangul> Hi beach
FreeBirdLjj has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #lisp
fikka has joined #lisp
* DataLinkDroid must away for a little while.
varjag has joined #lisp
fikka has quit [Ping timeout: 265 seconds]
varjag has quit [Ping timeout: 256 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
doanyway has quit [Remote host closed the connection]
fikka has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #lisp
housel has joined #lisp
fikka has joined #lisp
FreeBirdLjj has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 264 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 245 seconds]
shangul has quit [Quit: sudo rm -rf /usr/*]
fikka has joined #lisp
FreeBirdLjj has joined #lisp
Oladon has quit [Quit: Leaving.]
fikka has quit [Ping timeout: 268 seconds]
Fare has quit [Ping timeout: 265 seconds]
wigust has joined #lisp
fikka has joined #lisp
Bike has quit [Quit: Lost terminal]
fikka has quit [Ping timeout: 248 seconds]
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #lisp
skapata has quit [Remote host closed the connection]
skeuomorf has joined #lisp
asarch has joined #lisp
<easye> ~ ~.
<LdBeth> Good afternoon
fikka has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
fikka has joined #lisp
orivej has quit [Ping timeout: 256 seconds]
fikka has quit [Ping timeout: 240 seconds]
rumbler31 has joined #lisp
fikka has joined #lisp
rumbler31 has quit [Ping timeout: 260 seconds]
nika has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
on_ion has quit [Quit: WeeChat 1.9.1]
asarch has quit [Quit: Leaving]
varjag has joined #lisp
fikka has joined #lisp
varjag has quit [Ping timeout: 255 seconds]
vlatkoB has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 255 seconds]
fikka has joined #lisp
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #lisp
quazimodo has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 268 seconds]
quazimodo has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
knicklux has joined #lisp
FreeBirdLjj has quit [Ping timeout: 268 seconds]
pyx has joined #lisp
pyx has quit [Client Quit]
fikka has joined #lisp
daniel-s has joined #lisp
daniel-s has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 264 seconds]
nickenchuggets has quit [Read error: Connection reset by peer]
fikka has joined #lisp
shifty has joined #lisp
vap1 has joined #lisp
vaporatorius has joined #lisp
vap1 has quit [Client Quit]
surya has quit [Remote host closed the connection]
easye has quit [Read error: Connection reset by peer]
easye has joined #lisp
shangul has joined #lisp
lel has quit [Ping timeout: 260 seconds]
lel has joined #lisp
milanj has joined #lisp
dddddd has joined #lisp
andrei-n has joined #lisp
knicklux has quit [Quit: Leaving]
shangul has quit [Remote host closed the connection]
shangul has joined #lisp
shangul has quit [Remote host closed the connection]
random-nick has joined #lisp
shangul has joined #lisp
shangul has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 256 seconds]
shka_ has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
andrei-n has quit [Read error: Connection reset by peer]
andrei-n has joined #lisp
_whitelogger has joined #lisp
puchacz has joined #lisp
sakalli has quit [Quit: leaving]
fikka has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
makomo has quit [Quit: WeeChat 2.0.1]
fikka has joined #lisp
edgar-rft has quit [Read error: Connection reset by peer]
sakalli has joined #lisp
smurfrobot has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
edgar-rft has joined #lisp
defaultxr has quit [Ping timeout: 256 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
nika has quit [Quit: Leaving...]
fikka has joined #lisp
fikka has quit [Ping timeout: 276 seconds]
smurfrobot has quit [Remote host closed the connection]
fikka has joined #lisp
quazimodo has quit [Ping timeout: 260 seconds]
quazimodo has joined #lisp
fikka has quit [Ping timeout: 276 seconds]
fikka has joined #lisp
surya has joined #lisp
surya has quit [Remote host closed the connection]
surya has joined #lisp
fikka has quit [Ping timeout: 255 seconds]
knicklux has joined #lisp
smurfrobot has joined #lisp
fikka has joined #lisp
quazimodo has quit [Ping timeout: 248 seconds]
smurfrobot has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 264 seconds]
lethe has joined #lisp
angavrilov has joined #lisp
attila_lendvai has joined #lisp
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
markoong has joined #lisp
lethe has quit [Read error: Connection reset by peer]
fikka has joined #lisp
dddddd has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 260 seconds]
smurfrobot has joined #lisp
<Inline> sup sup
shangul has joined #lisp
robotoad has quit [Quit: robotoad]
fikka has joined #lisp
<phoe> loke: I need support
<phoe> people ask for more information in the comments
<shka_> oooh
<shka_> this is quite useful
fikka has quit [Ping timeout: 265 seconds]
<shangul> hey! Geeks are not social so don't use social media!
<shangul> (Except IRC, Blog/Site/*, Email)
fikka has joined #lisp
thodg has joined #lisp
pagnol has joined #lisp
mangul has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
Mandus has joined #lisp
smurfrobot has quit [Remote host closed the connection]
shangul has quit [Ping timeout: 265 seconds]
fikka has joined #lisp
habeangur has joined #lisp
habeangur is now known as shangul
Bike has joined #lisp
habeangur has joined #lisp
mangul has quit [Ping timeout: 264 seconds]
shangul has quit [Disconnected by services]
habeangur is now known as shangul
fikka has quit [Ping timeout: 240 seconds]
smurfrobot has joined #lisp
fikka has joined #lisp
varjag has joined #lisp
Kevslinger has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
ebrasca has quit [Remote host closed the connection]
smurfrobot has quit [Remote host closed the connection]
attila_lendvai has quit [Read error: Connection reset by peer]
fikka has joined #lisp
lnostdal has quit [Ping timeout: 268 seconds]
fikka has quit [Ping timeout: 240 seconds]
smurfrobot has joined #lisp
fikka has joined #lisp
smurfrobot has quit [Ping timeout: 260 seconds]
dddddd has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
shka_ has quit [Ping timeout: 245 seconds]
Arcaelyx_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Fare has joined #lisp
<jackdaniel> is being a "Geek" a goal in this scenario?
fikka has joined #lisp
sakalli has quit [Quit: leaving]
sakalli has joined #lisp
<MichaelRaskin> I think Reddit should be borderline acceptable for Lisp talk: either Reddit the company still has people capable to understand Lisp (then they are not strictly enemies), or not and then they consider that subreddit safe gibberish (it's not like you can _comprehensibly_ substantiate any political ideas by Lisp references)
sz0 has joined #lisp
sakalli has quit [Client Quit]
fikka has quit [Ping timeout: 265 seconds]
sakalli has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
pierpal has quit [Remote host closed the connection]
lnostdal has joined #lisp
fikka has joined #lisp
housel has quit [Read error: Connection reset by peer]
igemnace has quit [Ping timeout: 256 seconds]
fikka has quit [Ping timeout: 260 seconds]
quazimodo has joined #lisp
jmercouris has joined #lisp
jmercouris has quit [Remote host closed the connection]
igemnace has joined #lisp
fikka has joined #lisp
surya has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
Cthulhux has quit [Changing host]
Cthulhux has joined #lisp
quazimodo has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 248 seconds]
fisxoj has joined #lisp
lumm has joined #lisp
FreeBirdLjj has joined #lisp
<drmeister> What's up with a language-server-protocol server for Common Lisp? Does anyone use one?
skeuomorf has quit [Ping timeout: 264 seconds]
fisxoj has quit [Quit: fisxoj]
knicklux has quit [Ping timeout: 260 seconds]
attila_lendvai has joined #lisp
<drmeister> jupyterlab appears to be going in that direction - to use language server protocol. I'd like to improve our Common Lisp based jupyterlab experience.
fikka has joined #lisp
knicklux has joined #lisp
pierpal has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
shangul has quit [Quit: sudo rm -rf /usr/*]
fikka has quit [Ping timeout: 264 seconds]
smurfrobot has joined #lisp
FreeBirdLjj has quit [Ping timeout: 264 seconds]
pagnol has quit [Quit: Ex-Chat]
smurfrobot has quit [Remote host closed the connection]
smurfrobot has joined #lisp
rippa has joined #lisp
smurfrobot has quit [Remote host closed the connection]
fikka has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
vhost- has quit [Ping timeout: 240 seconds]
igemnace has quit [Remote host closed the connection]
smurfrobot has joined #lisp
fikka has joined #lisp
smurfrobot has quit [Remote host closed the connection]
smurfrobot has joined #lisp
<jackdaniel> language-server-protocol? like swank protocol?
<beach> https://langserver.org/ apparently.
lnostdal has quit [Ping timeout: 260 seconds]
lumm has quit [Quit: lumm]
lumm has joined #lisp
smurfrobot has quit [Remote host closed the connection]
<jackdaniel> uhm, thanks
<beach> Is this going to be another standard that we do not have the manpower to keep up with?
<beach> Along with X11, Unicode, OpenType, PDF, HTML, etc...
eMBee has joined #lisp
smurfrobot has joined #lisp
<jackdaniel> if it is well organized then it is a fine protocol for pairing CL with any IDE implementing it (the protocol)
smurfrobot has quit [Remote host closed the connection]
<jackdaniel> interesting
smurfrobot has joined #lisp
FreeBirdLjj has joined #lisp
smurfrobot has quit [Remote host closed the connection]
smurfrobot has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
aindilis has quit [Ping timeout: 265 seconds]
smurfrobot has quit [Remote host closed the connection]
jason_m has joined #lisp
<beach> I hope you are right.
<beach> Someone needs to check whether it can handle everything that SLIME needs, like presentations, inspector, backtraces, etc.
housel has joined #lisp
<beach> And I still worry that it will evolve and that we won't have the resources to keep up.
<Bike> doesn't look like it has evaluation stuff, at a glance
aindilis has joined #lisp
<beach> I didn't look myself. It makes me tired just to think about tracking another standard.
smurfrobot has joined #lisp
zotan has joined #lisp
lnostdal has joined #lisp
smurfrobot has quit [Remote host closed the connection]
knicklux has quit [Ping timeout: 240 seconds]
shka_ has joined #lisp
Kevslinger has quit [Quit: Connection closed for inactivity]
knicklux has joined #lisp
vmmenon has joined #lisp
Kaisyu has joined #lisp
attila_lendvai has quit [Ping timeout: 260 seconds]
dddddd has quit [Remote host closed the connection]
attila_lendvai has joined #lisp
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
skapata has joined #lisp
karlosz has joined #lisp
knicklux has quit [Ping timeout: 240 seconds]
Fare has quit [Ping timeout: 260 seconds]
Fare has joined #lisp
jason_m has quit [Ping timeout: 255 seconds]
aindilis has quit [Read error: Connection reset by peer]
smurfrobot has joined #lisp
Trystam has joined #lisp
Tristam has quit [Ping timeout: 248 seconds]
jason_m has joined #lisp
Trystam is now known as Tristam
smurfrobot has quit [Remote host closed the connection]
shka_ has quit [Quit: Konversation terminated!]
shka_ has joined #lisp
kuribas has joined #lisp
<kuribas> If defvar defines a dynamic variable, how do you define a lexical one?
<drmeister> It irks me that LOOP doesn't have a for-multiple-values (a b c) = (a-multiple-value-call ...) clause
<pjb> kuribas: lexically, with LET or LET*.
<kuribas> hmm, apparently you use asterisks by convention, to avoid clashes.
<pjb> kuribas: also PROG, LAMBDA, DEFUN, DEFMACRO, DEFMETHOD.
<pjb> Yes, asterisks are only a convention. But you should stick to it to avoid hours of debugging.
<kuribas> pjb: those are just local bindings.
<pjb> There's no standard operator to define global lexical variables.
<pjb> There's define-symbol-macro allowing you to define a global lexical binding. You can use it to define a macro to define global lexical variables. There are such macros in librairies, under various names such as defglobal, deflex, etc.
<pjb> cf. https://groups.google.com/forum/#!msg/comp.lang.lisp/4VyopdWcFI4/1sDQU-3H8VgJ
<drmeister> Re: language server protocol - does anyone know who cxxxr is? https://github.com/cxxxr/cl-lsp
<pjb> It's usually a function that takes usually a list of a and d and apply car or cdr accordingly.
<pjb> It's somebody from Japan.
<pjb> Japanese programmers are discreet.
<pjb> drmeister: notice also that it's unlicensed, so it's not free software.
zotan has quit [Ping timeout: 265 seconds]
zotan has joined #lisp
FreeBirdLjj has joined #lisp
fikka has quit [Ping timeout: 276 seconds]
<drmeister> pjb: Understood - thank you. I just emailed the developer and posted an issue about it. Let's see what happens.
fikka has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
thodg has quit [Ping timeout: 265 seconds]
thodg has joined #lisp
Trystam has joined #lisp
makomo has joined #lisp
Tristam has quit [Ping timeout: 265 seconds]
Trystam is now known as Tristam
<makomo> if i have a generic function (defgeneric test (a b &optional c &rest d))
<makomo> and then a method (defmethod test (a b &optional c &key d))
<makomo> by the rules in 7.6.4, these should have congruent lambda lists
<makomo> but if you call (test 1 2 3 :e 10), no error is signaled for the invalid keyword e
<makomo> is this because the checking is done only for the signature of the generic function?
<makomo> signalled*
knicklux has joined #lisp
knicklux has quit [Client Quit]
fikka has quit [Ping timeout: 260 seconds]
<beach> There is a phrase somewhere that methods with &key arguments are called with an implicit :ALLOW-OTHER-KEYS T. Let me see whether I can find it.
knicklux has joined #lisp
makomo has quit [Ping timeout: 264 seconds]
makomo has joined #lisp
<makomo> beach: disconnected for a second, but i saw your answer. ok.
<beach> clhs 7.6 4
<makomo> this? "The checking of the validity of keyword names is done in the generic function, not in each method. A method is invoked as if the keyword argument pair whose name is :allow-other-keys and whose value is true were supplied, though no such argument pair will be passed."
<beach> clhs 7.6.4
<specbot> Congruent Lambda-lists for all Methods of a Generic Function: http://www.lispworks.com/reference/HyperSpec/Body/07_fd.htm
<beach> Yes, exactly.
<makomo> i missed the second sentence the first time
<makomo> ok, thanks :-)
<beach> Anytime.
<makomo> beach: regarding the CLOS book by Sonya Keene, i find the examples ok, even though they use non-standard functionality.
<makomo> they specify exactly what each of the non-standard hypothetical functions do
<makomo> so it's not really a problem to follow along
<beach> Glad you like it.
<makomo> figured i should read through it quickly just to catch any details before going on with AMOP :-)
<beach> Yeah, AMOP is non-trivial.
<beach> I think I tried it three times. The first two times I was totally lost.
<makomo> ooh
<makomo> it's also quite lengthy and dense. the pages themselves are large
<beach> I think I needed more experience as a USER of CLOS before I could grasp it.
skidd0 has joined #lisp
<makomo> mhm
<skidd0> Hello all
FreeBirdLjj has joined #lisp
<beach> Hello skidd0.
<makomo> hello \o
butterthebuddha has quit [Ping timeout: 244 seconds]
<skidd0> So I have a lisp file in a multi file package. In this file, I have a (defvar *tasks* '()) special variable that I want to have access to. When I (use-package my-package), the special var *tasts* is unbound
<skidd0> what's the method for instantiating this variable on 'use-package'?
<skidd0> am I missing something obvious?
<beach> Exporting *tasks* from its package, I would think.
<beach> Or rather, exporting the symbol whose name is "*TASKS*".
<skidd0> oh i thought you just had to export methods/functions/classes
<skidd0> that makes sense
<skidd0> I'll try it out
<beach> skidd0: Packages are about symbols.
<beach> skidd0: You don't export functions or classes, you export their names.
<skidd0> and namespaces, right?
butterthebuddha has joined #lisp
<skidd0> oh right, because the name (symbol) gets evaluated to those functions or class objects
<beach> Not quite, no.
<skidd0> exporting isn't exporting the class itself, just the symbol that points to the compiled class?
<beach> That's a reasonable model.
<skidd0> what's the proper name for 'compiled class'
<beach> There is no such thing. A class is an object and can not be compiled.
fikka has joined #lisp
<beach> Only functions can be compiled or not compiled.
<skidd0> perhaps i should reread that section of PCL
<beach> A class can be "created" or "defined" if you like.
<skidd0> so when i make an instance of a class, what's going on there internally?
<skidd0> lisp pulls that class's object
<beach> The class IS the object.
<skidd0> right the class i define in my file
<beach> It inspects the class metaobject to see how to create the instance and how to initialize it.
<skidd0> but then, the instance is it's own object right?
<beach> Yes, the instance of a class and the class metaobjects are distinct objects.
<skidd0> and that metaobject holds all the things i defined in my code, how to initialize, what member variables are, etc
<beach> MAKE-INSTANCE looks at the class metaobject of which it is about to create an instance in order to determine how big a chunk of memory to allocate and how to fill it in.
<skidd0> i see
<skidd0> thanks, beach
<beach> Correct, except that they are not called member variables, but "slots".
<skidd0> are these questions alright here? or should i point them to #lisp-noobs
<skidd0> oh right, slots
<skidd0> nomenclature
<beach> Very important.
<makomo> indeed :-)
<beach> skidd0: I think this question is fine. If your questions become too basic, someone might point to too the noobs channel.
brendyn has quit [Read error: No route to host]
<skidd0> alright thanks
<skidd0> lemme know if i wander in that direction
fikka has quit [Ping timeout: 276 seconds]
brendyn has joined #lisp
<beach> Sure.
mflem has joined #lisp
<beach> And it is not quite right to say that the symbol gets evaluated to a class, because something like (eval 'person) does not return the class metaobject even if you have (defclass person ...).
<beach> (find-class 'person) does, however.
<makomo> the proper thing to say would be that "PERSON names a class", right?
<beach> Correct.
* beach vanishes in order to fix dinner for his (admittedly small) family.
<makomo> bon appetit!
thodg has quit [Ping timeout: 256 seconds]
<makomo> beach: for when you're around again: regarding the keyword issue, the reason why i didn't think that that second sentence applies to that situation is because it's listen for the case when "If the generic function lambda list mentions &key ..."
<makomo> listed*
<makomo> but in my case, the generic function only has &rest and no &key
FreeBirdLjj has quit [Remote host closed the connection]
<makomo> so is that really the sentence which describes this observed behavior (the fact that method keyword arguments aren't checked)?
FreeBirdLjj has joined #lisp
housel has quit [Read error: Connection reset by peer]
housel has joined #lisp
vmmenon has quit [Ping timeout: 256 seconds]
FreeBirdLjj has quit [Ping timeout: 245 seconds]
robotoad has joined #lisp
fikka has joined #lisp
vmmenon has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
asarch has joined #lisp
defaultxr has joined #lisp
makomo has quit [Ping timeout: 256 seconds]
fikka has joined #lisp
thodg has joined #lisp
<asarch> In this issue of the BYTE magazine, they said there was an issue dedicated to Lisp. Do you know where could I find it? https://archive.org/details/byte-magazine-1981-08
ksool has joined #lisp
Kundry_Wag has joined #lisp
<asarch> Thank you!
Kundry_W_ has joined #lisp
<asarch> Thank you very much pjb :-)
Domaldel has quit [Remote host closed the connection]
Domaldel has joined #lisp
brendarn has joined #lisp
<pjb> minion: memo for makomo: notice that defgeneric &rest with defmethod &key doesn't respect the Lyskoff substittution principle. Avoid it!
<minion> Remembered. I'll tell makomo when he/she/it next speaks.
fikka has quit [Ping timeout: 256 seconds]
Kundry_Wag has quit [Ping timeout: 264 seconds]
brendyn has quit [Ping timeout: 245 seconds]
brendarn has quit [Ping timeout: 264 seconds]
karswell has joined #lisp
fikka has joined #lisp
Kundry_W_ has quit [Remote host closed the connection]
karswell_ has joined #lisp
on_ion has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
karswell has quit [Ping timeout: 240 seconds]
smurfrobot has joined #lisp
smurfrobot has quit [Ping timeout: 256 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
asarch has quit [Ping timeout: 256 seconds]
kuribas has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
Kaisyu has quit [Quit: Connection closed for inactivity]
Domaldel has quit [Ping timeout: 256 seconds]
vhost- has joined #lisp
fikka has joined #lisp
Kundry_W_ has joined #lisp
Domaldel has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
SenasOzys has joined #lisp
surya has joined #lisp
surya has quit [Ping timeout: 256 seconds]
fikka has joined #lisp
attila_lendvai has quit [Quit: Leaving.]
shrdlu68 has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
Kevslinger has joined #lisp
shrdlu68 has quit [Read error: No route to host]
shrdlu68 has joined #lisp
fikka has joined #lisp
cpt_nemo_ has joined #lisp
cpt_nemo has quit [Read error: Connection reset by peer]
dddddd has joined #lisp
makomo has joined #lisp
<makomo> pjb: i assume you meant the Liskov substitution principle? i've never seen that spelling. anyway, how is that related to LSP?
<minion> makomo, memo from pjb: notice that defgeneric &rest with defmethod &key doesn't respect the Lyskoff substittution principle. Avoid it!
<makomo> pjb: hm i think i see what you mean but in this case it doesn't have to do with types, which is the original setting for LSP, right? the problem is that the methods don't align with the interface specified by the generic function
<phoe> makomo: (defgeneric foo (&rest bar))
<makomo> i.e. S doesn't act like a T, even though it's a particular implementation of T. S being the method, T being the generic function.
<phoe> this means that you can pass three arguments to FOO
<phoe> if you use KEY in there, you will only be able to pass an even number of arguments
<phoe> which means that you break the protocol
<makomo> "there" being a method?
<phoe> yes yes
<phoe> inside a method there
<makomo> yup, i agree that it's a bad idea
<makomo> but still, why aren't you warned about invalid keywords?
<makomo> i.e. if the method then specifies &key in its lambda list and you pass an unspecified keyword argument, why isn't that an error?
<makomo> clhs 7.6.4
<specbot> Congruent Lambda-lists for all Methods of a Generic Function: http://www.lispworks.com/reference/HyperSpec/Body/07_fd.htm
<makomo> the last sentence of case 4 talks about it, but wouldn't that apply only when case 4 is in effect?
<phoe> hm
<makomo> in this case the generic function doesn't specify &key anywhere, so :allow-other-keys shouldn't be implicitly true
fikka has quit [Ping timeout: 268 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
cgay_ has joined #lisp
SenasOzys has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
attila_lendvai has joined #lisp
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
fikka has quit [Ping timeout: 256 seconds]
terpri has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
<pjb> makomo: it is related to the type of the &rest arguments. &key imposes that the &rest argument have an even length, and that each even-nubered element be a symbol.
<pjb> makomo: this specifies a very precise subtype of list.
Domaldel has quit [Read error: Connection reset by peer]
robotoad has quit [Ping timeout: 256 seconds]
SenasOzys has joined #lisp
ealfonso has joined #lisp
skidd0 has quit [Quit: 0/]
robotoad has joined #lisp
robotoad has quit [Client Quit]
Domaldel has joined #lisp
fikka has quit [Ping timeout: 276 seconds]
<ealfonso> anyone familiar with hunchentoot know how to redirect an http request to https on the same port when using ssl-acceptor?
angavrilov has quit [Remote host closed the connection]
nowhere_man has quit [Ping timeout: 256 seconds]
knicklux has quit [Ping timeout: 248 seconds]
knicklux has joined #lisp
jmercouris has joined #lisp
fikka has joined #lisp
nowhere_man has joined #lisp
<makomo> pjb: mhm, i see. but do you know why no warning is issued for invalid keyword arguments then?
<pjb> Because it's essentially a run-time check, I'd say.
<pjb> In anycase, giving a meaningfull warning would require global analysis, after all the defgeneric and defmethod forms for this method have been compiled.
fikka has quit [Ping timeout: 256 seconds]
Oladon has joined #lisp
fikka has joined #lisp
aindilis has joined #lisp
pagnol has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
<makomo> pjb: by warning i meant error. for example, passing unspecified keyword arguments to a normal function is an error
<makomo> so yes, i expect an error at run-time
<aeth> You can actually afaik get some degree of global analysis in SBCL with (setf sb-ext:*derive-function-types* t)
<aeth> It's behind a flag and defaulted to NIL because (1) it violates parts of the ANSI standard and (2) it will break the interactive flow of CL
<aeth> It assumes function types will never change. I'm not sure if it also applies to generic functions.
Fare has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
smurfrobot has joined #lisp
fikka has quit [Ping timeout: 245 seconds]
orivej has joined #lisp
smurfrobot has quit [Remote host closed the connection]
<aeth> I think you could have a conforming implementation with global analysis always on if you're willing to have the extra bookkeeping overhead of tracking when things are redefined and knowing what else to redefine in that case. That would also improve the experience with macros and inline functions.
EvW has joined #lisp
fikka has joined #lisp
Fare has joined #lisp
karlosz has quit [Ping timeout: 276 seconds]
fikka has quit [Ping timeout: 264 seconds]
makomo has quit [Ping timeout: 260 seconds]
shrdlu68 has quit [Ping timeout: 276 seconds]
smurfrobot has joined #lisp
fikka has joined #lisp
Fare has quit [Ping timeout: 248 seconds]
smurfrobot has quit [Remote host closed the connection]
puchacz has quit [Quit: Konversation terminated!]
vlatkoB has quit [Remote host closed the connection]
Fare has joined #lisp
makomo has joined #lisp
fikka has quit [Ping timeout: 265 seconds]
Kundry_W_ has quit [Remote host closed the connection]
Kevslinger has quit [Quit: Connection closed for inactivity]
fikka has joined #lisp
koenig has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
ealfonso has quit [Ping timeout: 255 seconds]
fikka has joined #lisp
smurfrobot has joined #lisp
Fare has quit [Ping timeout: 240 seconds]
robotoad has joined #lisp
robotoad has quit [Client Quit]
terpri has joined #lisp
andrei-n has quit [Ping timeout: 256 seconds]
karlosz has joined #lisp
wigust has quit [Ping timeout: 240 seconds]
Kundry_Wag has joined #lisp
Kundry_W_ has joined #lisp
attila_lendvai has quit [Read error: Connection reset by peer]
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
attila_lendvai has joined #lisp
Kundry_Wag has quit [Ping timeout: 265 seconds]
shifty has quit [Ping timeout: 268 seconds]
smurfrobot has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
EvW has quit [Ping timeout: 240 seconds]
Oladon has quit [Quit: Leaving.]
pfdietz has joined #lisp
Fare has joined #lisp
smurfrobot has joined #lisp
comborico1611 has joined #lisp
EvW has joined #lisp
Kundry_W_ has quit [Remote host closed the connection]
skidd0 has joined #lisp
brandonz has joined #lisp
<Ukari> is there a lexical version defconstant ?
karswell_ has quit [Remote host closed the connection]
<Bike> nope
karswell_ has joined #lisp
<pfdietz> You can use symbol-macrolet to define something that looks a lot like a constant.
<pfdietz> In that if you try to use it as a place for assignment it won't work.
smurfrobot has quit [Remote host closed the connection]
<cgay_> Go has that but I have to say I haven't seen it used much. I think in a local scope it's not that useful, though it provides a little more indication of intention.
<Ukari> i wanna use lexical defconstant or a lexical let which can't assign twice, because it might make code more clear when a variable couldn't be changed
<Ukari> after i rewrite one piece of code into unchange style, i realized that benefit
<pfdietz> (let-const ((x e)) . body) ==> (let ((#:G0001 e)) (symbol-macrolet ((x (identity #:G0001))) . body))
<pfdietz> Write yourself a macro.
<cgay_> bike-shedding: would be nice to be able to indicate const-ness for a particular variable in a LET, rather than introducing a new level of indentation.
smurfrobot has joined #lisp
comborico1611 has quit [Quit: Konversation terminated!]
smurfrobot has quit [Remote host closed the connection]
SenasOzys has quit [Ping timeout: 240 seconds]
Khisanth has quit [Ping timeout: 264 seconds]
jmercouris has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
Fare has quit [Ping timeout: 265 seconds]
Kundry_Wag has quit [Ping timeout: 240 seconds]
random-nick has quit [Ping timeout: 240 seconds]
lumm has quit [Quit: lumm]
thodg has quit [Ping timeout: 260 seconds]
Khisanth has joined #lisp
refrijerator has joined #lisp
jack_rabbit has joined #lisp
shka_ has quit [Remote host closed the connection]
shka_ has joined #lisp
<refrijerator> (let ((line "set a 1")) (read-from-string (format nil "(~a)" line)))
<refrijerator> is there a better way to read the line as a list of atoms?
<refrijerator> than using (format nil "(~a)" line)
<Bike> you could loop and read a string stream, but it's not much better
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #lisp
<refrijerator> maybe this is a use for a read macro?
<Bike> yeah, (
knicklux has quit [Ping timeout: 256 seconds]
nickenchuggets has joined #lisp
knicklux has joined #lisp
robotoad has joined #lisp
varjag has quit [Ping timeout: 264 seconds]
knicklux has quit [Ping timeout: 240 seconds]
knicklux has joined #lisp
asarch has joined #lisp
shka_ has quit [Read error: Connection reset by peer]
shka_ has joined #lisp
Guest70662 has quit [Ping timeout: 264 seconds]
knicklux has quit [Ping timeout: 240 seconds]
karswell_ has quit [Remote host closed the connection]
knicklux has joined #lisp
asarch has quit [Ping timeout: 256 seconds]
karswell_ has joined #lisp
subroot has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
johnvonneumann has joined #lisp
johnvonneumann is now known as Guest39038
knicklux has quit [Ping timeout: 260 seconds]
pierpal has quit [Ping timeout: 260 seconds]
dmiles has quit [Read error: Connection reset by peer]
knicklux has joined #lisp
logicmoo has joined #lisp
fikka has joined #lisp
pierpa has joined #lisp
knicklux has quit [Ping timeout: 240 seconds]
on_ion has quit [Quit: WeeChat 1.9.1]
quazimodo has joined #lisp
refrijerator has quit [Quit: Page closed]
fikka has quit [Ping timeout: 240 seconds]
knicklux has joined #lisp
on_ion has joined #lisp
Kundry_Wag has joined #lisp
<pillton> You could also use the position return value of read-from-string and its start argument.
jeosol has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
fikka has joined #lisp
Kundry_W_ has joined #lisp
karswell_ is now known as karswell
fikka has quit [Ping timeout: 240 seconds]
Kaisyu has joined #lisp
xq has joined #lisp
xq has left #lisp [#lisp]
dented42 has joined #lisp
fikka has joined #lisp
Kaisyu7 has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
fikka has quit [Ping timeout: 268 seconds]
fisxoj has joined #lisp
smurfrobot has joined #lisp
smurfrobot has quit [Ping timeout: 248 seconds]
smurfrobot has joined #lisp