libera/#commonlisp - IRC Chatlog
Search
6:55:20
montxero
With cl-sqlite, is it possible to execute sql statements/queries that are already filled? I want to be able to do something akin to (sqlite:execute-non-query *db* "insert into USERS (user_name,age) values (joe,18)")
6:59:10
flip214
montxero: or, even better, pass it in as an argument instead of inline, in the string
7:10:28
akater[m]
semz: compiler-macrolet could optimize (funcall f ..) or (apply f ..) for local f's
7:12:18
saturn2
it doesn't seem very useful, since the compiler would be compiling the local functions anyway
7:22:05
flip214
hayley: http://www.lispworks.com/documentation/lw50/CLHS/Issues/iss066_w.htm Issue COMPILER-LET-CONFUSION Writeup
7:22:38
flip214
OTOH I've wanted to pass data to macros a few times, to modify the expansion behaviour
9:18:38
mfiano
The initform for clearp is quoted, unlike the others. The input in the beginning of the book obviously intends for this to be evaluated and is not quoted
9:19:29
mfiano
I guess we are looking at different books. I am referring to the result of the call: (display-defclass* 'color-rectangle)
9:21:15
mfiano
I'm unsure if the example code is wrong, or just the return value transcription has a typo
9:26:42
mfiano
Which leaves either the wrong slot-definition-initform function/glue macro, or a typo in the return value of the book
9:28:34
mfiano
I'm trying to study this book in detail, and I don't mind which one it is, but would be very nice to be aware of which :)
10:34:08
pjb
Guest92: have you had a look at http://informatimago.com/~pjb/files/lisp/common-lisp/flet-or-labels.png
11:03:15
Mrtn[m]
Did @mayuresh:libera.chat leave #commonlisp:libera.chat ? Autocomplete doesn't seem to catch his profile ID. I thought I had some advice to perse, that I am not sure was mentioned. I am mostly agreeing with what was said already though, so it's not a "Biggie". Ah, perse quit already because of 268 seconds of ping timeout. Oh well.
11:03:57
mfiano
pjb: They are not here, and their account is not registered (it is a randomly selected guest nick)
11:17:26
Mrtn[m]
Is an effort being made to pick up the regulars, that was lost in transit to Libera?
13:55:28
beach
The book is about CLOS programming, and there are some chapters containing examples that are close to finished. For instance one chapter that describes Cluffer, more or less.
13:59:09
beach
Thanks. But my favorite coauthor kind of abandoned me, so most book projects are stalled. Then phoe was going to help me with one of them, but he got very busy with projects for Apress.
14:07:50
didi
I wonder if there is a builtin form for the idiom (let ((var (make-var))) (mutate-var var) ... var), i.e., create an object, mutate it, and return it.
14:09:46
mfiano
How would something built-in know how to create something, whatever semantics is intended by that?
14:10:54
didi
mfiano: No no, I want something like (prog1 (setf var (make-var)) (mutate-var var) ...).
14:13:07
_death
there is no "built-in" operator for that stylistic misstep.. probably a close one is anaphora:aprog1, but then you have two stylistic missteps