freenode/#lisp - IRC Chatlog
Search
5:41:21
sukaeto
I've used it (via caveman) in production, with a few FastCGI instances sitting behind nginx
9:03:30
pve
Hi! In a call to a function, such as (make-foo :a 1 :b 2), is it correct to call the ":a 1 :b 2" part (including the keywords) the "arguments"?
9:16:42
beach
pve: I think "keyword arguments" is fine. If you want to be more specific, you could say "keyword-argument pairs".
9:17:09
beach
pve: Notice, however, that you can't tell from a call whether they are keyword arguments.
9:17:37
beach
pve: For example: (list :a 1 :b 2) is a fine call, but they are not keyword arguments.
9:18:23
beach
pve: Conversely, in something like (bla 'a 1 'b 2) they can very well be keyword arguments.
9:25:08
pve
beach: hmm, I think I need to read the spec for that one.. my first reaction was also, "looks like one pair of parens too many"
9:32:01
beach
no-defun-allowed: You haven't seen it because you haven't attempted to implement lambda-list parsing. :)
9:32:05
scymtym
which is probably the more common use-case because it let's you chose the keyword parameter name in a way that maintains the "external interface" but bind the passed argument to an unrelatedly named variable
10:12:37
Xach
radiohead_fan: i have worked to get it to build on my system, but never actually used it
11:04:18
no-defun-allowed
radiohead_fan: Do you really like True Stories that much? I thought it was generally considered to be Talking Heads' worst album.
11:04:18
no-defun-allowed
Joking aside, what's it do? It looks like you use it to make roguelike games.
11:11:29
radiohead_fan
everything was going fine but when i was coding the part of the key input i found no way of making a key exit and close the window, ive even tried other methods (from various tutorials) and they just dont seem to work