freenode/#lisp - IRC Chatlog
Search
3:33:59
no-defun-allowed
I have a very silly function (defun f (y) (let ((x (/ y))) 2)). Evidently the variable X is never used, but shouldn't it not be removed because it could signal a condition if I call (y 0)?
3:36:00
no-defun-allowed
On SBCL it does optimizing for (safety 3), but not on default declaimations.
3:42:42
edgar-rft
no-defun-allowed: I think signalling conditions for wrong aguments should be done with CHECK-TYPE or ASSERT, I wouldn't expect that the compiler cares about silly code.
3:43:52
no-defun-allowed
True, but should a compiler be able to optimise out useless code that may signal a condition like that?
4:59:08
Godel[m]
Hi, does anybody know why alambda macro is not included in the "anaphora" package on quicklisp? Is there in any other package on quicklisp that includes it?
14:34:36
frgo
Hi all - ASDF question: How do I tell ASDF that a system is already loaded? (I have CLX on AllegroCL loaded using (require :clx) but now ASDF does not know that CLX is already there...) - TIA !
14:50:09
Xach
frgo: it's possible that the clx that comes with allegro is not the "portable" clx that asdf would load.
14:51:16
frgo
Xach: Yeah - I am just running into issues now. Hm - I need to make McCLIM run on AllegroCL.
14:54:30
frgo
Well, I have a whole range of apps running using AllegroCL (using Franz' Allegrgraph DB). Now I want to have a fancy UI as a "control panel".
14:55:58
Xach
Allegro CL comes with its own CLIM and GUI system, I think they are likely more complete and usable than McCLIM. (I have not used any of them so I don't know for sure.)
14:59:54
Xach
I think if you asked Franz support they would steer you to their other thing, I have the impression they are trying to move customers off CLIM.
15:01:15
beach
Xach: It is not clear that McCLIM is much less complete than Allegro these days. McCLIM has had a lot of work done lately. And certainly, McCLIM is better in many respects in that it is faster, and it uses the Xrender extension for fonts and anti-aliased drawing.
15:01:20
Xach
beach: do you have reference material for the inspiration behind https://github.com/robert-strandh/SICL/blob/master/Code/Loop/combinatory-parsing.lisp ?
15:02:09
Xach
I have used that technique a lot for ad hoc query compilation but have not read the foundational materials.
15:07:59
Xach
Cool, I was using monads and didn't know it! I got so much smarter just by knowing the right name!