kozy has quit [Read error: Connection reset by peer]
<AJavaIdiot>
A concrete example: (defun (smth) (this-is-a-fexpr (op x y))). How does this differ (aside from syntax) from (defun (smth) (this-is-NOT-a-fexpr '(op x y)))?
kozy has joined #lisp
Amplituhedron has quit [Remote host closed the connection]
smurfrobot has joined #lisp
omilu has quit [Client Quit]
<earl-ducaine>
lerax: where I live $6000 gets you ~2/mo. rent in a not especially nice 1br apt. Such is the capatalist world we live in.
<Xach_>
AJavaIdiot: this channel is for common lisp, which doesn't have fexprs. maybe someone here can discuss it, but it's not really topical.
* Xach_
knows nothing of fexprs, still enjoys common lisp
smurfrobot has quit [Ping timeout: 248 seconds]
<Xach_>
lerax: sure. it was a lot at the time. i thought maybe because they were making lots of money they might be wasteful. but they didn't, and they have grown extremely rich and successful, so they probably remain prudent.
<lerax>
Xach_: makes sense.
<AJavaIdiot>
Xach_: yeah, I know cl doesn't have them, but I thought someone might be able to answer my question
<jmercouris>
Shinmera: Format does matter, how you do the transformations and whatever encoding you do can vastly alter the quality of the final image
<AJavaIdiot>
But it is topical in a hamfisted way: not having fexprs in CL was a deliberate decision which can be questioned :d
<lerax>
earl-ducaine: crazy stuff. Where you live? Well, I live in a third-quality country, so this probably makes sense.
<lerax>
earl-ducaine: where I live getting 1000 U$ per month for a junior is ok. "ok".
<lerax>
earl-ducaine: actually this is terrible, but whatever, rules of the local market.
<lerax>
AJavaIdiot: Your nickname is nice. I liked it.
omilu has quit [Client Quit]
Amplituhedron has joined #lisp
omilu has joined #lisp
omilu has quit [Client Quit]
<AJavaIdiot>
rme: yes, but I didn't really understand why fexprs wouldn't work in a lexically scoped lisp
<AJavaIdiot>
lerax: thanks :d
omilu has joined #lisp
omilu has quit [Client Quit]
<earl-ducaine>
lerax: San Francisco. (median for 1br is actually about $3500/mo) Not complaining of course, but if a developer is trying to scrape together enough money to put a roof over his head and feed himself, he has to charge, or work it as a hobby, gratus.
ikki has joined #lisp
omilu has joined #lisp
Rawriful has joined #lisp
omilu has quit [Client Quit]
omilu has joined #lisp
<jmercouris>
rme: Do you have that same satisfaction when people use CCL or no?
Devon has joined #lisp
<rme>
That's a big reason why I like to work on it.
wxie has joined #lisp
<rme>
Every so often, I find out that someone I've never met or heard from before is using CCL.
wxie has quit [Client Quit]
<rme>
That's always a pleasure to hear. I have often wished there were some way to know more about who is using it.
varjag has quit [Quit: ERC (IRC client for Emacs 25.2.1)]
rm8 has joined #lisp
<nyef``>
Aside from the obvious "embed spyware in it"?
LocaMocha has joined #lisp
<_death>
people used to ask for postcards
<Xach_>
When I first added paypal donations to quicklisp.org, I sent a handwritten postcard to a hundred or so initial donors. I wonder if anyone kept the cards.
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Devon has quit [Ping timeout: 256 seconds]
AJavaIdiot has quit []
rawste has quit [Quit: ZZZzzz…]
Amplituhedron has quit [Ping timeout: 252 seconds]
fikka has quit [Ping timeout: 252 seconds]
oleo2 has joined #lisp
igemnace has quit [Read error: Connection reset by peer]
igemnace has joined #lisp
oleo2 has quit [Ping timeout: 265 seconds]
rm8 has quit [Quit: i slep]
mlius has quit [Ping timeout: 248 seconds]
zaquest has quit [Read error: Connection reset by peer]
fikka has joined #lisp
Devon has joined #lisp
EvW has quit [Ping timeout: 252 seconds]
jmercouris has quit [Remote host closed the connection]
zaquest has joined #lisp
zaquest has quit [Remote host closed the connection]
makomo has quit [Ping timeout: 252 seconds]
jmercouris has joined #lisp
zaquest has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
jmercouris has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
CrazyEddy has joined #lisp
aindilis has joined #lisp
rm8 has joined #lisp
rm8 has quit [Client Quit]
fikka has joined #lisp
QualityAddict has quit [Ping timeout: 272 seconds]
kajo has quit [Ping timeout: 265 seconds]
fikka has quit [Ping timeout: 248 seconds]
QualityAddict has joined #lisp
brendyn has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
Josh_2 has quit [Ping timeout: 256 seconds]
rm8 has joined #lisp
d4ryus1 has joined #lisp
rm8 has quit [Client Quit]
d4ryus has quit [Ping timeout: 256 seconds]
Rawriful has quit [Ping timeout: 265 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
zaquest has quit [Read error: Connection reset by peer]
zaquest has joined #lisp
fikka has joined #lisp
ebrasca has quit [Remote host closed the connection]
ebrasca has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
raphaelss has quit [Ping timeout: 260 seconds]
ikki has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
python476 has joined #lisp
raphaelss has joined #lisp
fikka has quit [Ping timeout: 252 seconds]
smokeink has joined #lisp
fikka has joined #lisp
ikki has joined #lisp
damke has joined #lisp
smokeink has quit [Remote host closed the connection]
smokeink has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
damke_ has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
ikki_ has joined #lisp
wxie has joined #lisp
ikki has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 252 seconds]
fikka has joined #lisp
pierpa has quit [Quit: Page closed]
lerax has quit [Read error: Connection reset by peer]
fikka has quit [Ping timeout: 240 seconds]
lerax has joined #lisp
ikkitousen has joined #lisp
MrMira has joined #lisp
MrMira has left #lisp [#lisp]
ikki_ has quit [Ping timeout: 256 seconds]
QualityAddict has quit [Ping timeout: 265 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 252 seconds]
<beach>
Good morning everyone!
<smokeink>
morning beach
smokeink has quit [Remote host closed the connection]
rumbler31 has joined #lisp
igemnace has quit [Read error: Connection reset by peer]
igemnace has joined #lisp
rumbler31 has quit [Ping timeout: 240 seconds]
QualityAddict has joined #lisp
FreeBirdLjj has joined #lisp
fikka has joined #lisp
ikkitousen is now known as ikki
fikka has quit [Ping timeout: 240 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
schoppenhauer has quit [Ping timeout: 252 seconds]
damke_ has joined #lisp
schoppenhauer has joined #lisp
FreeBirdLjj has joined #lisp
damke has quit [Ping timeout: 264 seconds]
FreeBirdLjj has quit [Ping timeout: 256 seconds]
FreeBirdLjj has joined #lisp
omilu has quit [Quit: leaving]
zaquest has quit [Read error: Connection reset by peer]
jameser has joined #lisp
FreeBirdLjj has quit [Ping timeout: 252 seconds]
jameser has quit [Client Quit]
zaquest has joined #lisp
FreeBirdLjj has joined #lisp
fikka has joined #lisp
wxie has quit [Quit: Bye.]
QualityAddict has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 248 seconds]
smurfrobot has joined #lisp
ahungry has joined #lisp
smurfrobot has quit [Ping timeout: 240 seconds]
FreeBirdLjj has quit [Read error: Connection timed out]
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #lisp
fikka has joined #lisp
FreeBirdLjj has joined #lisp
ikki has quit [Ping timeout: 252 seconds]
FreeBirdLjj has quit [Ping timeout: 272 seconds]
fikka has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
damke_ has quit [Read error: Connection reset by peer]
python476 has quit [Ping timeout: 256 seconds]
fikka has quit [Ping timeout: 252 seconds]
damke_ has joined #lisp
fikka has joined #lisp
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fikka has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
FreeBirdLjj has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
mlius has joined #lisp
damke has joined #lisp
mlius has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 248 seconds]
damke_ has quit [Ping timeout: 264 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
rippa has joined #lisp
earl-ducaine has quit [Remote host closed the connection]
sz0 has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
aindilis has quit [Read error: Connection reset by peer]
aindilis has joined #lisp
dddddd has quit [Remote host closed the connection]
fikka has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
damke_ has joined #lisp
fikka has joined #lisp
damke has quit [Ping timeout: 264 seconds]
mishoo has joined #lisp
turkja has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
turkja has quit [Client Quit]
turkja has joined #lisp
ahungry has quit [Ping timeout: 264 seconds]
safe has joined #lisp
_whitelogger has joined #lisp
fikka has joined #lisp
smurfrobot has joined #lisp
SaganMan has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
igemnace has quit [Quit: WeeChat 2.0]
smurfrobot has quit [Ping timeout: 272 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 272 seconds]
FreeBird_ has joined #lisp
mlius has quit [Ping timeout: 260 seconds]
FreeBirdLjj has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
mlius has joined #lisp
borei has joined #lisp
<borei>
hi all !
<borei>
need some help with glfw :-(
fikka has quit [Ping timeout: 248 seconds]
python476 has joined #lisp
<borei>
does anybody has experience with it ?
brendyn has joined #lisp
hyero has quit [Remote host closed the connection]
fikka has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
nimiux has quit [Ping timeout: 248 seconds]
notzmv is now known as [removed]
[removed] is now known as `420
orivej has quit [Ping timeout: 265 seconds]
SaganMan has quit [Quit: WeeChat 1.6]
fikka has joined #lisp
fikka has quit [Ping timeout: 252 seconds]
nowhere_man has quit [Ping timeout: 272 seconds]
fikka has joined #lisp
turkja has quit [Ping timeout: 260 seconds]
brendyn has quit [Ping timeout: 252 seconds]
fikka has quit [Ping timeout: 240 seconds]
scymtym has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
FreeBird_ has quit [Ping timeout: 272 seconds]
fikka has joined #lisp
mson_ has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
_whitelogger has joined #lisp
mson_ is now known as mson
makomo has joined #lisp
attila_lendvai has joined #lisp
emacsomancer has quit [Ping timeout: 264 seconds]
Amplituhedron has joined #lisp
fikka has joined #lisp
damke has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
damke_ has quit [Ping timeout: 264 seconds]
turkja has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
yxabc has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
Karl_Dscc has joined #lisp
Karl_Dscc has quit [Remote host closed the connection]
turkja has quit [Ping timeout: 240 seconds]
Murii|osx has joined #lisp
Murii|osx has quit [Client Quit]
fikka has joined #lisp
sz0 has quit [Quit: Connection closed for inactivity]
yxabc has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 260 seconds]
<jackdaniel>
borei: its usually more wise to ask the question you have with providing details for the problem – if someone knows the answer he will probably share it with you
<jackdaniel>
asking to ask isn't best strategy here ;-)
<jackdaniel>
you may also try on #lispgames
fikka has joined #lisp
rawste has joined #lisp
<beach>
I agree. Even if I were familiar with that software, I wouldn't admit that until I know what the problem is.
jibanes has quit [Ping timeout: 252 seconds]
fikka has quit [Ping timeout: 240 seconds]
<Shinmera>
Having to ask back also makes it a lot more tedious. I often don't answer even if I knew what the solution was or could possibly help simply because I can't seems like too much of an annoyance.
<Shinmera>
*because it seems like too much of an annoyance
jibanes has joined #lisp
Posterdati has quit [Remote host closed the connection]
mishoo_ has joined #lisp
makomo has quit [Ping timeout: 252 seconds]
mishoo has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
Posterdati has joined #lisp
safe has quit [Quit: Leaving]
attila_lendvai has quit [Read error: Connection reset by peer]
attila_lendvai has joined #lisp
versatile has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
<Shinmera>
In other news, a Portacle release for the Raspberry Pi might happen.
<Shinmera>
I'm saying might because it'll be a while until it finishes compiling and I know for sure if there's any problems.
Rawriful has joined #lisp
fikka has joined #lisp
Murii|osx has joined #lisp
Murii|osx has quit [Client Quit]
josemanuel has joined #lisp
fikka has quit [Ping timeout: 252 seconds]
<phoe>
borei: ask the question instead of asking about asking the question
<phoe>
this removes one level of meta-discussion and is therefore much more efficient.
FareTower has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
mson has quit [Quit: Connection closed for inactivity]
fikka has joined #lisp
wxie has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
FareTower has quit [Remote host closed the connection]
Tobbi has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
damke_ has joined #lisp
damke has quit [Ping timeout: 264 seconds]
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tobbi has joined #lisp
Tobbi has quit [Client Quit]
makomo has joined #lisp
smurfrobot has joined #lisp
fikka has joined #lisp
smurfrobot has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 264 seconds]
FreeBirdLjj has joined #lisp
wxie has quit [Remote host closed the connection]
FreeBirdLjj has quit [Ping timeout: 265 seconds]
fikka has joined #lisp
FreeBirdLjj has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
jameser has joined #lisp
fikka has joined #lisp
jameser has quit [Client Quit]
jameser has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
makomo has quit [Ping timeout: 256 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raynold has quit [Quit: Connection closed for inactivity]
`420 has quit [Ping timeout: 260 seconds]
EvW has quit [Remote host closed the connection]
`420 has joined #lisp
kolb is now known as santakolb
makomo has quit [Ping timeout: 252 seconds]
smurfrobot has quit [Remote host closed the connection]
<santakolb>
GTK3 bindings anyone?
anon has joined #lisp
anon is now known as Guest42390
jameser has joined #lisp
jameser has quit [Client Quit]
peterppp has joined #lisp
Guest42390 has quit [Quit: leaving]
Amplituhedron has quit [Ping timeout: 252 seconds]
jameser has joined #lisp
<Posterdati>
hi
anon_ has joined #lisp
<Posterdati>
happy Christmas people
jameser has quit [Client Quit]
heurist` is now known as heurist
Karl_Dscc has joined #lisp
peterppp has quit [Ping timeout: 252 seconds]
Karl_Dscc has quit [Remote host closed the connection]
Murii has quit [Quit: WeeChat 1.4]
smurfrobot has joined #lisp
jameser has joined #lisp
jameser has quit [Client Quit]
versatile has joined #lisp
QualityAddict has joined #lisp
smurfrobot has quit [Remote host closed the connection]
<oleo>
happy happy Posterdati
jameser has joined #lisp
jameser has quit [Client Quit]
mjanssen has quit [Quit: leaving]
<ym>
Is there Lie groups library for Common Lisp?
EvW has joined #lisp
<ym>
Found LambdaTensor1.0.1.tar.gz in archive.org.
Arcaelyx has joined #lisp
<ym>
So the question is - is there alive analogue of this library?
jameser has joined #lisp
QualityAddict has quit [Ping timeout: 265 seconds]
`420 has quit [Ping timeout: 252 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
jameser has quit [Client Quit]
QualityAddict has joined #lisp
Devon has quit [Ping timeout: 264 seconds]
sellout- has joined #lisp
varjag has joined #lisp
<ym>
Oh, it has ready to use E8.
<ym>
I love archive.org!
Arcaelyx has quit [Ping timeout: 265 seconds]
`420 has joined #lisp
nefercheprure has joined #lisp
smurfrobot has joined #lisp
<myrkraverk>
I went ahead and ordered the dead tree version of CL Recipes.
dieggsy has joined #lisp
<myrkraverk>
I hope it's as good as people here say it is.
nefercheprure has quit [Client Quit]
ikki has joined #lisp
orivej has joined #lisp
reb has joined #lisp
reb has quit [Remote host closed the connection]
jmercouris has joined #lisp
sellout-1 has joined #lisp
sellout- has quit [Ping timeout: 265 seconds]
sellout- has joined #lisp
sellout-1 has quit [Ping timeout: 248 seconds]
sellout- has quit [Read error: Connection reset by peer]
sellout- has joined #lisp
Joreji has quit [Ping timeout: 240 seconds]
sellout-1 has joined #lisp
python476 has joined #lisp
sellout- has quit [Ping timeout: 252 seconds]
Kundry_Wag has joined #lisp
ikki has quit [Ping timeout: 252 seconds]
EvW has quit [Ping timeout: 265 seconds]
notnull has joined #lisp
`420 has quit [Ping timeout: 265 seconds]
Kundry_Wag has quit [Quit: Leaving...]
turkja has joined #lisp
reb has joined #lisp
emacsomancer has joined #lisp
ikki has joined #lisp
smurfrobot has quit [Remote host closed the connection]
wigust has joined #lisp
dieggsy has quit [Remote host closed the connection]
LiamH has joined #lisp
smurfrobot has joined #lisp
smurfrobot has quit [Remote host closed the connection]
smurfrobot has joined #lisp
jmercouris has quit [Remote host closed the connection]
JuanDaugherty has joined #lisp
rumbler31 has joined #lisp
markong has joined #lisp
smurfrobot has quit [Remote host closed the connection]
SaganMan has joined #lisp
makomo has joined #lisp
smurfrobot has joined #lisp
notnull has quit [Remote host closed the connection]
j0nd0e has joined #lisp
mlius has quit [Ping timeout: 252 seconds]
<makomo>
Shinmera: hey, just letting you know plump/clss/lquery are great. used them yesterday to scrape a site and they worked like a charm!
raynold has joined #lisp
Devon has joined #lisp
rawste has quit [Quit: ZZZzzz…]
<Shinmera>
makomo: Glad to hear!
emacsomancer has quit [Ping timeout: 240 seconds]
sellout- has joined #lisp
<makomo>
:-)
sellout-1 has quit [Ping timeout: 256 seconds]
smurfrobot has quit [Remote host closed the connection]
<makomo>
Shinmera: i'm taking a look at plump's source code out of curiosity and have a question. how come all the other asdf systems except for PLUMP don't have any components? what's their purpose then?
<makomo>
i.e. PLUMP-LEXER, PLUMP-DOM and PLUMP-PARSER
rumbler31 has quit [Remote host closed the connection]
Devon has quit [Ping timeout: 256 seconds]
EvW has joined #lisp
Devon has joined #lisp
rumbler31 has joined #lisp
<mfiano>
makomo: In an older revision, everything was split up into separate systems. They are now there solely for backwards compatibility it seems -- so existing reverse dependencies that are using them do not break
mlius has joined #lisp
<makomo>
mfiano: ah, that makes sense
nika_ has joined #lisp
nika_ has quit [Client Quit]
nika has quit [Read error: Connection reset by peer]
Kyo91` has joined #lisp
smurfrobot has joined #lisp
SaganMan has quit [Quit: WeeChat 1.6]
Bike has joined #lisp
myk267 has joined #lisp
smurfrobot has quit [Ping timeout: 252 seconds]
rawste has joined #lisp
shka has joined #lisp
ikki has quit [Ping timeout: 240 seconds]
raphaelss has quit [Remote host closed the connection]
ikki has joined #lisp
Jesin has quit [Quit: Leaving]
<borei>
hi all, just got tired yesterday, finally found where the problem is but can't solve it. so here is description.
<borei>
i have glfw app. it's 2 threaded - 1 thread REPL, 2nd thread glfw main loop
<borei>
i consider 2nd thread as main glfw thread (not sure if that assumption is valid)
<borei>
in the 2nd thread i do glfw init and create glfw window.
ikki has quit [Ping timeout: 264 seconds]
<borei>
the problem popped up when i do call glfwMakeContextCurrent in the 2nd thread
<borei>
im getting Error code: 10008
<borei>
Error message: GLX: Failed to make context current
smurfrobot has joined #lisp
<borei>
in glfw notation
Josh_2 has joined #lisp
<borei>
10008 means GLFW_PLATFORM_ERROR
Tobbi has joined #lisp
<borei>
it's can be configuration (some glfw hints) or im hitting glfw bug
<borei>
when i do call glfwMakeContextCurrent in REPL thread it works fine
<borei>
based on glfw documentation glfwMakeContextCurrent can be used in<any thread
mlius has quit [Ping timeout: 260 seconds]
skali has joined #lisp
smurfrobot has quit [Ping timeout: 248 seconds]
<borei>
apperantly problem is with glfw+threads+glx, there is nothing do with lisp, but maybe somebody has experience with it
smurfrobot has joined #lisp
xaotuk has joined #lisp
rumbler31 has quit [Remote host closed the connection]
Jesin has joined #lisp
smurfrobot has quit [Ping timeout: 252 seconds]
Josh_2 has quit [Ping timeout: 268 seconds]
sellout-1 has joined #lisp
sellout- has quit [Ping timeout: 252 seconds]
drcode has quit [Ping timeout: 260 seconds]
<borei>
wow
<borei>
solved
turkja has quit [Ping timeout: 264 seconds]
<borei>
it's really true that brain can work in background
<borei>
context need to be released befor it can be used in different thread
drcode has joined #lisp
drcode has quit [Remote host closed the connection]
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sellout-1 has quit [Read error: Connection reset by peer]
sellout- has joined #lisp
sellout- has quit [Client Quit]
smurfrobot has joined #lisp
rumbler31 has joined #lisp
lerax` has joined #lisp
lacedaemon is now known as fe[nl]ix
Bike has quit [Ping timeout: 260 seconds]
smurfrobot has quit [Ping timeout: 248 seconds]
smurfrobot has joined #lisp
smurfrobot has quit [Ping timeout: 248 seconds]
smurfrobot has joined #lisp
varjag has quit [Ping timeout: 264 seconds]
smurfrob_ has joined #lisp
Devon has quit [Ping timeout: 256 seconds]
smurfrobot has quit [Ping timeout: 252 seconds]
smurfrob_ has quit [Ping timeout: 256 seconds]
smurfrobot has joined #lisp
smurfrobot has quit [Ping timeout: 268 seconds]
smurfrobot has joined #lisp
Arcaelyx has joined #lisp
smurfrobot has quit [Ping timeout: 240 seconds]
smurfrobot has joined #lisp
damke has joined #lisp
Devon has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
smurfrobot has quit [Ping timeout: 256 seconds]
Poeticode is now known as Poeticide
smurfrobot has joined #lisp
varjag has joined #lisp
pierpa has joined #lisp
python476 has quit [Ping timeout: 248 seconds]
varjag has quit [Ping timeout: 240 seconds]
mhd has joined #lisp
jibanes has quit [Ping timeout: 268 seconds]
jibanes has joined #lisp
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mson has joined #lisp
random-nick has quit [Ping timeout: 265 seconds]
random-nick has joined #lisp
j0nd0e has quit [Ping timeout: 260 seconds]
<makomo>
is there anything like CASE but which uses a user-specified comparator instead of EQ?
<makomo>
for example, i want to branch on the values of an integer, but don't want to use COND and always repeat (= myint val)
eazar001 has joined #lisp
kostafey has joined #lisp
<makomo>
instead i would just use "val", as in CASE
<_death>
there's alexandria:switch
<_death>
and CASE uses EQL, not EQ.. so you can use integers
<makomo>
oh, hmm, i must have done something wrong then
<makomo>
_death: yeah, my bad, thanks!
<_death>
it doesn't evaluate the keys, so maybe that's the issue.. alexandria:switch does evaluate
Tobbi has joined #lisp
<pfdietz>
If you have constant special variables you want in a CASE form, you can evaluate them at read time with #.
<aeth>
Not always.
<aeth>
I had reader macro workarounds for using constants in macros and it worked on SBCL and ECL, but not CCL
gigetoo has quit [Remote host closed the connection]
safe has joined #lisp
smurfrobot has quit [Remote host closed the connection]
mhd has quit [Ping timeout: 248 seconds]
gigetoo has joined #lisp
smurfrobot has joined #lisp
<_death>
the value may not be available during read-time
<_death>
so you'll need eval-when as well
<rme>
:1
<rme>
oops
smurfrobot has quit [Ping timeout: 264 seconds]
<pjb>
aeth: you have to eval-when :compile-toplevel the defconstant for them to be available in the compilation environment, when the remaining forms are read.
<pjb>
aeth: ie. it's not a problem in the forms using the constant variables, it's a problem with defconstant.
<pjb>
clhs defconstant "An implementation may choose to evaluate the value-form at compile time, load time, or both. "
<pjb>
ALso interesting, the following sentence: "Therefore, users must ensure that the initial-value can be evaluated at compile time (regardless of whether or not references to name appear in the file) and that it always evaluates to the same value."
wigust has quit [Ping timeout: 248 seconds]
<pjb>
Notably, defvar/defparameter don't evaluate at compilation time, so (defparameter *foo* 42) (defconstant +foo+ *foo*) cannot work. (defconstant +foo+ 42) (defparameter *foo* +foo+) will work.
<_death>
alexandria also has define-constant which helps with "evaluates to the same value"
smurfrobot has joined #lisp
myk267 has quit [Quit: Leaving]
ebrasca has quit [Read error: Connection reset by peer]
ebrasca has joined #lisp
<pjb>
aeth: so what did you reader macro do? (+ +bar+ (case foo (#.+foo1+ 1) (#.+foo2+ 2))) is good enough. How do you justify !something(+ +bar+ (case foo (+foo1+ 1) (+foo2+ 2))) and do you avoid expanding +bar+?
makomo has quit [Ping timeout: 248 seconds]
smurfrobot has quit [Ping timeout: 248 seconds]
gigetoo has quit [Ping timeout: 252 seconds]
gigetoo has joined #lisp
ebrasca has quit [Read error: Connection reset by peer]
ebrasca has joined #lisp
Jesin has quit [Ping timeout: 264 seconds]
smurfrobot has joined #lisp
makomo has joined #lisp
ebrasca has left #lisp ["ERC (IRC client for Emacs 25.2.1)"]
Jesin has joined #lisp
smurfrobot has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
smurfrobot has joined #lisp
<aeth>
pjb: sorry, I phrased that wrong, I used the read-eval reader macro, I didn't write my own reader macro
<aeth>
And maybe eval-when will fix it. Strange that it works on sbcl anyway.
fikka has quit [Ping timeout: 240 seconds]
smurfrobot has quit [Ping timeout: 252 seconds]
khisanth_ has quit [Ping timeout: 272 seconds]
<aeth>
iirc (it has been a few months), #.+foo+ didn't work in CCL
<pjb>
Yes, combined with macros, this is another thing.
<aeth>
I miss lisp paste
<pjb>
aeth: but it's conforming. As cited above, implementations are allowed.
smurfrobot has joined #lisp
khisanth_ has joined #lisp
EvW has joined #lisp
fikka has joined #lisp
borei has left #lisp [#lisp]
smurfrobot has quit [Ping timeout: 260 seconds]
<Shinmera>
makomo: What mfiano mentioned is right. Initially there was just PLUMP. Then I split it up into LEXER, DOM, and PARSER as individual systems since it seemed like a good idea. Recently though a new feature required DOM to depend on PARSER and vice-versa, so I had to go back again.