v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
rkazak has quit [Ping timeout: 245 seconds]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
random-nick has quit [Ping timeout: 246 seconds]
v88m has joined #commonlisp
rkazak has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
ebrasca has quit [Remote host closed the connection]
kevingal has quit [Ping timeout: 248 seconds]
cdegroot has quit [Remote host closed the connection]
decweb has quit [Ping timeout: 276 seconds]
rkazak has quit [Ping timeout: 260 seconds]
JuanDaugherty has joined #commonlisp
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
decweb has joined #commonlisp
v88m has joined #commonlisp
rkazak has joined #commonlisp
cdegroot has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
citizeno has joined #commonlisp
citizeno has quit [Client Quit]
cdegroot has quit [Remote host closed the connection]
brokkoli_originl has quit [Ping timeout: 248 seconds]
brokkoli_originl has joined #commonlisp
decweb has quit [Ping timeout: 248 seconds]
rkazak has quit [Ping timeout: 265 seconds]
decweb has joined #commonlisp
shmorg83 has joined #commonlisp
elderK has joined #commonlisp
<elderK>
Hey all! Happy New Year! :)
<elderK>
What is the accepted way to like, forward declare functions and stuff?
<elderK>
I figure it would be just to define like, the interface for something first, and use that where I need it, and supply the implementation later.
<elderK>
But I was wondering how people go about naming files like that.
<elderK>
bla-interface? bla-interfaces? Have a module called interfaces, and define everything there?
<JuanDaugherty>
u wanna look at asdf
<elderK>
It's easy to declare an interface using defgeneric but what if the functions are not generic? Would you just declare them via declaim ftype?
<elderK>
JuanDaugherty: Aye but ASDF doesn't handle cyclic dependencies, afaik.
<aeth>
uiop assumes it is cyclic
<elderK>
aeth: How can I learn more about this? :)
<aeth>
it assumes uiop is used in asdf which is used to load a newer uiop
<JuanDaugherty>
lisp is not like c or java or whatever
<elderK>
Does that mean you can have say, a component A that depends on component B which depends on component A? :)
<aeth>
looks like it ensures the function is notinline and then calls undefine-function to supersede it
<elderK>
Would it help if I describe my scenario? Maybe you guys can give me a better way to organize my stuff :)
<elderK>
What's the deal with (&optional) there in with-upgradability?
<elderK>
Did it used to accept parameters?
<aeth>
It's probably in case it will in the future.
<aeth>
Although &key &allow-other-keys might be a better way to do it?
<elderK>
No idea :
<elderK>
My situation is this: I have a class called pattern-environment, the purpose of which is to hold various kinds of pattern expanders. Pattern expanders come in three basic types: pattern expander, pattern macro expander and subpattern macro expander.
<elderK>
The idea is, the environment is enriched with these expanders and you can expand some pattern, provided as a list, by called (expand-pattern environment pattern)
<elderK>
The environment will find the necessary expander and ask it to expand the pattern.
<elderK>
Pattern macro expanders expand to some other pattern or pattern macro. A subpattern macro expander expands to one or more patterns and is used only for a subpattern.
<elderK>
That is, in (P A B), A and B are subpatterns. So, a subpattern macro could be applicable there.
<elderK>
All kinds of patterns can be atomic or compound. A pattern like LIST is atomic. A pattern such as (LIST) or (LIST A B) are compound. For compound expanders, the subpatterns are first processed to expand any subpattern macros that may be present. When that is done, the subpatterns are provided to the expander and the expansion is generated.
<elderK>
So, pattern environment calls (expand-pattern ...) on some expander. The generic would have an around method, which would expand subpattern macros, before calling the primary method for whatever expander.
<elderK>
But, to expand the subpatterns, we need to be able to retrieve expanders from the environment.
<elderK>
And that's the cycle.
<decweb>
I'm no expert, but if you're using asdf to load a system, and the function definitions are in the same package but different files, sbcl doesn't usually complain about them (assuming you haven't asked for optimizations that would require the compiler to know more)
<decweb>
Type definitions are another matter, types have to be defined before use.
v88m has joined #commonlisp
<elderK>
:( They're in different packages.
<decweb>
It may be you'd just get warnings, but I'm thinking that's probably a situation you should avoid :-)
<elderK>
Aye, I agree.
<decweb>
You may need to break your package into multiple packages for clean dependency chains
<elderK>
Aye: I was figuring having an "interface" package, that either defines the generics or ftypes the functions.
<elderK>
That way, I could make use of that.
shmorg83 has quit [Ping timeout: 252 seconds]
<elderK>
And you know, actually have the implementations later.
v88m has quit [Read error: Connection reset by peer]
rkazak has joined #commonlisp
<elderK>
Seems ASDF wraps everything in a with-compilation-unit.
<elderK>
So I might be okay anyway :)
rkazak has quit [Ping timeout: 260 seconds]
beach` is now known as beach
JuanDaugherty has quit [Quit: JuanDaugherty]
akoana has quit [Quit: leaving]
rkazak has joined #commonlisp
elderK has quit [Quit: WeeChat 4.4.3]
rkazak has quit [Ping timeout: 248 seconds]
decweb has quit [Ping timeout: 265 seconds]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 252 seconds]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 272 seconds]
v88m has joined #commonlisp
zwr has quit [Read error: Connection reset by peer]
zwr has joined #commonlisp
rkazak has joined #commonlisp
shmorg83 has joined #commonlisp
rkazak has quit [Ping timeout: 248 seconds]
shmorg83 has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
shmorg83 has joined #commonlisp
shmorg83 has quit [Ping timeout: 265 seconds]
rkazak has quit [Ping timeout: 265 seconds]
wacki has joined #commonlisp
pve has joined #commonlisp
alternateved has joined #commonlisp
rkazak has joined #commonlisp
mishoo has joined #commonlisp
pkal has quit [Read error: Connection reset by peer]
pkal has joined #commonlisp
amb007 has quit [Ping timeout: 265 seconds]
amb007 has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
v88m has quit [Ping timeout: 252 seconds]
elderK has joined #commonlisp
v88m has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 276 seconds]
varjag has joined #commonlisp
mari-estel has joined #commonlisp
elderK has quit [Quit: WeeChat 4.4.3]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
rkazak has joined #commonlisp
edgar-rft` has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
edgar-rft_ has quit [Ping timeout: 248 seconds]
rkazak has quit [Ping timeout: 246 seconds]
attila_lendvai_ has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
cercopith has joined #commonlisp
dino_tutter has joined #commonlisp
rkazak has joined #commonlisp
attila_lendvai_ has quit [Ping timeout: 265 seconds]
rkazak has quit [Ping timeout: 265 seconds]
jistr has quit [Quit: quit]
jistr has joined #commonlisp
rkazak has joined #commonlisp
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
attila_lendvai has joined #commonlisp
attila_lendvai has quit [Ping timeout: 265 seconds]
attila_lendvai has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
gnoo has quit [Ping timeout: 248 seconds]
rkazak has quit [Ping timeout: 246 seconds]
gnoo has joined #commonlisp
zenmov has joined #commonlisp
ingeniot has joined #commonlisp
bitspook has joined #commonlisp
mwnaylor has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
mari11261 has joined #commonlisp
mari-estel has quit [Read error: Connection reset by peer]
attila_lendvai has quit [Ping timeout: 265 seconds]
attila_lendvai has joined #commonlisp
ingeniot has quit [Ping timeout: 240 seconds]
brokkoli_originl has quit [Ping timeout: 272 seconds]
brokkoli_origin has joined #commonlisp
mari11261 has quit [Ping timeout: 252 seconds]
wobbol has joined #commonlisp
rkazak has quit [Ping timeout: 246 seconds]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 246 seconds]
Alfr has quit [Ping timeout: 265 seconds]
decweb has joined #commonlisp
rkazak has joined #commonlisp
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 272 seconds]
rkazak has quit [Ping timeout: 265 seconds]
shmorg83 has joined #commonlisp
Alfr has joined #commonlisp
Demosthe1ex has joined #commonlisp
shmorg83 has quit [Ping timeout: 272 seconds]
Demosthenex has quit [Ping timeout: 276 seconds]
Demosthenex has joined #commonlisp
Demosthe1ex has quit [Ping timeout: 264 seconds]
chiselfuse has quit [Remote host closed the connection]
Demosthe1ex has joined #commonlisp
chiselfuse has joined #commonlisp
Demosthenex has quit [Ping timeout: 265 seconds]
rkazak has joined #commonlisp
v88m has joined #commonlisp
shmorg83 has joined #commonlisp
shmorg83 has quit [Ping timeout: 252 seconds]
v88m has quit [Read error: Connection reset by peer]
rkazak has quit [Ping timeout: 260 seconds]
v88m has joined #commonlisp
rkazak has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
zenmov has quit [Ping timeout: 252 seconds]
zenmov has joined #commonlisp
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
varjag has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.3)]
rkazak has quit [Ping timeout: 265 seconds]
v88m has joined #commonlisp
mari-estel has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
yaneko has quit [Quit: parting]
rkazak has joined #commonlisp
yaneko has joined #commonlisp
yaneko has quit [Client Quit]
yaneko has joined #commonlisp
zxcvz has joined #commonlisp
yaneko has quit [Read error: Connection reset by peer]
rkazak has quit [Ping timeout: 252 seconds]
yaneko has joined #commonlisp
mari-estel has quit [Read error: Connection reset by peer]
mari-estel has joined #commonlisp
yaneko has quit [Read error: Connection reset by peer]
yaneko has joined #commonlisp
yaneko has quit [Read error: Connection reset by peer]
yaneko has joined #commonlisp
v88m has joined #commonlisp
rkazak has joined #commonlisp
bjorkintosh has quit [Quit: "Every day, computers are making people easier to use." David Temkin]
v88m has quit [Read error: Connection reset by peer]
bjorkintosh has joined #commonlisp
bjorkintosh has joined #commonlisp
<selpoke>
is there an up-to-date fork of cl-mongo?
FragmentedCurve has joined #commonlisp
rkazak has quit [Ping timeout: 265 seconds]
rkazak has joined #commonlisp
cdegroot has joined #commonlisp
jon_atack has quit [Ping timeout: 244 seconds]
v88m has joined #commonlisp
rkazak has quit [Ping timeout: 265 seconds]
yaneko has quit [Read error: Connection reset by peer]
yaneko has joined #commonlisp
yaneko has quit [Read error: Connection reset by peer]
yaneko has joined #commonlisp
mari-estel has quit []
jonatack has joined #commonlisp
rkazak has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
jonatack has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 260 seconds]
zxcvz has quit [Quit: zxcvz]
rkazak has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
jonatack has joined #commonlisp
rkazak has quit [Ping timeout: 252 seconds]
jonatack has quit [Ping timeout: 244 seconds]
random-nick has joined #commonlisp
amb007 has quit [Ping timeout: 248 seconds]
chrcav has quit [Ping timeout: 264 seconds]
amb007 has joined #commonlisp
v88m has joined #commonlisp
rkazak has joined #commonlisp
yaneko has quit [Quit: parting]
jonatack has joined #commonlisp
jonatack has quit [Ping timeout: 245 seconds]
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
dra has joined #commonlisp
v88m has joined #commonlisp
jonatack has joined #commonlisp
rkazak has quit [Ping timeout: 245 seconds]
troojg has joined #commonlisp
wacki has quit [Ping timeout: 252 seconds]
zwr has quit [Read error: Connection reset by peer]
zwr has joined #commonlisp
wacki has joined #commonlisp
v88m has quit [Ping timeout: 265 seconds]
mgl has joined #commonlisp
cage has joined #commonlisp
cage has quit [Excess Flood]
cage has joined #commonlisp
rkazak has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
zenmov has quit [Ping timeout: 252 seconds]
Lord_of_Life has quit [Ping timeout: 264 seconds]
Lord_of_Life_ is now known as Lord_of_Life
rkazak has quit [Ping timeout: 252 seconds]
varjag has joined #commonlisp
dra has quit [Ping timeout: 248 seconds]
rkazak has joined #commonlisp
attila_lendvai has quit [Ping timeout: 244 seconds]
rkazak has quit [Ping timeout: 252 seconds]
citizeno has joined #commonlisp
troojg has quit [Ping timeout: 248 seconds]
citizeno has quit [Client Quit]
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
brokkoli_origin has quit [Remote host closed the connection]
scymtym has quit [Ping timeout: 246 seconds]
rkazak has joined #commonlisp
brokkoli_origin has joined #commonlisp
scymtym has joined #commonlisp
citizeno has joined #commonlisp
rkazak has quit [Ping timeout: 265 seconds]
chrcav has joined #commonlisp
citizeno24 has joined #commonlisp
rkazak has joined #commonlisp
citizeno has quit [Ping timeout: 240 seconds]
attila_lendvai has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 29.4]
Guest89 has joined #commonlisp
mwnaylor has joined #commonlisp
rkazak has quit [Ping timeout: 252 seconds]
Guest37 has joined #commonlisp
Guest89 has quit [Quit: Client closed]
Guest37 has quit [Quit: Client closed]
rkazak has joined #commonlisp
pve has quit [Quit: leaving]
zwr has quit [Read error: Connection reset by peer]
troojg has joined #commonlisp
zwr has joined #commonlisp
rkazak has quit [Ping timeout: 272 seconds]
wacki has quit [Quit: Leaving.]
dra has joined #commonlisp
dra has quit [Changing host]
dra has joined #commonlisp
attila_lendvai has quit [Remote host closed the connection]
thuna` has joined #commonlisp
attila_lendvai has joined #commonlisp
attila_lendvai_ has joined #commonlisp
attila_lendvai has quit [Remote host closed the connection]
troojg has quit [Ping timeout: 248 seconds]
amb007 has quit [Ping timeout: 265 seconds]
Guest81 has joined #commonlisp
Guest81 has quit [Client Quit]
rkazak has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
shka has joined #commonlisp
mishoo has quit [Ping timeout: 245 seconds]
dra has quit [Ping timeout: 248 seconds]
attila_lendvai_ has quit [Ping timeout: 248 seconds]
alternateved has quit [Remote host closed the connection]
attila_lendvai_ has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
rkazak has quit [Ping timeout: 252 seconds]
dino_tutter has quit [Ping timeout: 252 seconds]
chiselfuse has quit [Remote host closed the connection]