freenode/#lisp - IRC Chatlog
Search
7:59:32
flip214
well, perhaps we need some annotation for libraries which symbols could be removed on tree-shaking, ie. when an image is built that has no need for further compilation (so no macros etc.)
8:16:35
markasoftware
In `(,(form-with-side-effects) ,(more-side-effects)) are the forms guaranteed to execute in order?
8:18:26
beach
That one should reduce to (list (form-with-side-effects) (more-side-effects)) or something similar.
9:38:14
lukego
Xach: Maybe I ask you a Vecto question? I'd like to use it for CAD drawing and just making sure I'm not barking up the wrong tree. I want to plot using non-pixel units, e.g. micro-meters, and it seems like I can just use (SCALE X Y) to switch units e.g. to plot in micrometers and have value values translated to (say) one pixel per 0.1mm. Is that all fine and good? Or is that a really bad idea for some reason?
9:51:41
lukego
(Somehow it took me a while to shake my initial misapprehension that pixel coordinates would have to be integers. Guess I'm just not used to fractional pixels. But didn't make sense when thinking about how rasterization works and looking closer at the examples to notice the trig.)
10:05:40
lukego
Thinking about how to extend SLIME so that Lisp can return richer presentations e.g. Emacs text properties in strings and images with imagemaps defining actions. Maybe Lisp would not send RESULT = string but rather RESULT = string | (text-properties ALIST RESULT) | (png-image DATA IMAGEMAP). So you can return a mix of strings and images, with arbitrarily nested text properties over both
10:13:41
jmercouris
I don't want to replace my make-instance 'xyz with make-animal, as it is meant to be consumed by users other than me
10:13:52
jmercouris
and they may not think oh, I need to use the make-animal method rather than make-instance
10:15:43
shka_
i found that trying to force lisp not behave as lisp is generally speaking a bad idea
10:16:06
jackdaniel
sounds complicated, I'm not sure if anyone will appreciate that you make something what looks like a fish behave like a dog
10:18:24
splittist
I've always thought of make-instance as pretty low-level, and make-FOO as the (an?) appropriate 'user' inteface
12:14:32
beach
jmercouris: (defclass fish () ()) (defclass salmon () ()) (setf (find-class 'fish) (find-class 'salmon)) (make-instance 'fish)
12:15:52
beach
jmercouris: Renaming the class is an entirely different thing than what you initially said you want.
13:13:39
luis
TIL ASDF loads a system and its dependencies using a single with-compilation-unit. That's unfortunate.