freenode/#lisp - IRC Chatlog
Search
7:18:31
_death
fiddlerwoaroof: when that happened to me and all descriptors were taken I just did (sb-posix:close 1234)
9:37:23
Xof
in (let ((z 'bar)) (defgeneric foo (x) (:method-combination bar z))), what do you expect the method combination to receive as an argument?
9:47:18
beach
I would help you, but my computer has some hardware problem I think, and it keeps crashing if I do too many things.
9:53:01
beach
Note to self: In WSCL, specify how the :METHOD-COMBINATION option of DEFGENERIC is handled, in particular, whether the method-combination-arguments are evaluated.
10:29:24
akr
hello, anyone knowledgeable about postmodern? I'm trying to put together a simple query: http://lpaste.net/3943544928583286784
10:30:07
akr
when track is nil, the query should require that track is nil, otherwise it should require that it is equal to the id
10:31:29
akr
I guess that the whole (:select …) form is quoted by pomo:query, but I can't use backtick inside it on my own
11:29:52
meh
Is there a word that refers to the property of a system and processes on that system such that any effect on the system can be undone?
11:49:30
ukari
i found that it seems common to add (in-package :cl-user), is thete any benefit to it?
11:56:32
theemacsshibe[m]
meh: if I were selling a product I'd say non-destructive. Users don't really mind how you allocate data in their software. If I were describing processes in Lisp, reversible hopefully will confuse people less.
11:56:49
theemacsshibe[m]
nconc is destructive, append is not destructive. Neither is very reversible.
12:11:48
jdz
There's whole branch of since about "reversible computing", so I'd bet it has quite a specific meaning: https://en.wikipedia.org/wiki/Reversible_computing
16:24:21
Bike
it's not a matter of offense, it's just that we can't offer as good help as the emacs people
16:32:41
cgay
Funny that this timeline of Lisps is on the Lisp Machine Lisp page, not something more general... https://en.wikipedia.org/wiki/Lisp_Machine_Lisp I started with Zetalisp.
17:06:37
ukari
is it possible to pull a macrolet variable to outside? sth like this, (funcall (lambda () (macrolet ((fn (&body body) `(lambda () ,@body))) fn)))
17:09:36
phoe
in the base case, you can define an anonymous function that accepts two arguments, WHOLE and ENV, and funcall this on your forms, then eval that code.
17:09:38
Bike
that doesn't answer my question. you can use an anonymous function. you can funcall or apply it. an anonymous macro does not have a similar use.
17:11:12
Bike
Eval arguments when? how are you using this? What is example code? You can use an anonymous function like (funcall (lambda (x) x) 4) => 4.
17:12:46
Bike
macrolets disappear after compile time. they don't leave behind macros as values or anything.
17:39:20
flip214
the even bigger problem is that the compiler will already have computed all the _inputs_ as _values_, so splicing a macro in and expecting the source forms to be available is even harder.
18:32:22
foojin
What is the purpose of lambda as a symbol? I know that lambda as a macro inserts a (function ...) around an inner lambda, but is the inner one a mere symbol that doesn't "do" anything unless handed to "function"?
18:39:33
cgay
foojin, you seem to have some specific code in mind. Paste it somewhere so we can see?
18:40:36
MichaelRaskin
edgar-rft: I think they mean that CLHS has «Symbol LAMBDA» separately from «Macro LAMBDA»
18:40:45
Petit_Dejeuner
I guess it wouldn't work for ((lambda (a b c) (list a b c)) 1 2 3) code though
18:41:22
foojin
cgay: Actually I don't. I just want to understand if there's something like "function" which handles 'lambda in a special way.
18:42:23
foojin
That is, is 'LAMBDA something more that just a syntax convention for invoking FUNCTION?
18:42:54
Bike
(function (lambda ...)) means a function, yes. That's what the "Symbol LAMBDA" entry in the CLHS is about.