00:32 (join) jonrafkind 00:33 (quit) adamvh: Read error: Connection reset by peer 00:33 (join) adamvh 00:36 (quit) jeapostrophe: Quit: jeapostrophe 00:37 (quit) adamvh: Client Quit 01:51 askhader: Is using xepr-response/cookies necessary when constructing a request that contains a cookie? 02:00 (quit) nicktick: Quit: When two people dream the same dream, it ceases to be an illusion. KVIrc 3.4.2 Shiny http://www.kvirc.net 02:25 (join) nicktick 02:27 (join) |nicktick| 02:30 (quit) nicktick: Ping timeout: 248 seconds 02:30 (nick) |nicktick| -> nicktick 02:47 (quit) nicktick: Ping timeout: 240 seconds 03:00 (quit) jonrafkind: Ping timeout: 264 seconds 04:32 (join) masm 07:09 (quit) masm: Quit: Leaving. 08:46 (join) nicktick 09:43 (join) jeapostrophe 09:44 (quit) alexsuraci: Ping timeout: 240 seconds 09:45 (join) adamvh 09:47 (join) masm 09:47 (quit) adamvh: Remote host closed the connection 09:47 (join) adamvh 09:55 (join) alexsuraci 10:49 askhader: Is using xepr-response/cookies necessary when constructing a request that contains a cookie? 11:49 (quit) jeapostrophe: Quit: jeapostrophe 11:50 (quit) nicktick: Ping timeout: 252 seconds 11:51 (join) tao- 11:51 tao-: oh hi 12:07 chandler: Hello! 12:12 tao-: yes 12:55 tao-: how can i make a recursive lambda ? :O 12:55 (quit) masm: Quit: Leaving. 12:56 bremner: bind it to variable in the surrounding scope? 13:01 tao-: that's not really a lambda, is it? 13:12 (join) jeapostrophe 13:13 (quit) jeapostrophe: Client Quit 13:13 bremner: ah, maybe you are looking for something like the Y combinator. 13:15 askhader: I heard about this first this week, rather mind blowing. ^ 13:32 tao-: fdgsfmm 13:32 tao-: umm 13:32 tao-: what's a Y combinator? 13:33 askhader: Why do you need a recursive lambda statement? 13:33 tao-: im just curious tbh 13:41 bremner: tao-: google is your friend :) 13:42 bremner: google "Y combinator scheme" brings up some likely looking hits 13:49 (join) jeapostrophe 14:32 (quit) adamvh: Ping timeout: 265 seconds 14:40 (quit) jeapostrophe: Quit: jeapostrophe 14:41 (join) Matrox 14:46 (join) jeapostrophe 14:49 (quit) Matrox: Changing host 14:49 (join) Matrox 15:32 (quit) jeapostrophe: Quit: jeapostrophe 15:33 (join) jeapostrophe 15:37 (quit) jeapostrophe: Client Quit 16:57 (join) jeapostrophe 17:03 (join) adamvh 17:16 adamvh: Possibly stupid question: does racket come with a list concatenation function, and, if yes, what is it named? 17:16 adamvh: I can't for the life of me find one in the 'guide to racket' 17:17 askhader: Have you heard of append? 17:20 adamvh: is there like a clhs for racket where I can find the definition? 17:20 adamvh: ah yes, that works, thanks 17:21 askhader: No problem. Also -> http://docs.racket-lang.org/ 17:27 (quit) Matrox: Read error: Connection reset by peer 17:27 (join) Matrox 17:43 chandler: Is it just me, or is the threading on gmane.mumble.racket.{user,devel} broken? 17:43 chandler: It seems to be broken on http://news.gmane.org/gmane.comp.lang.racket.user too. 18:15 adamvh: Any users of the parser-tools library? 18:16 askhader: Is using xepr-response/cookies necessary when constructing a request that contains a cookie? 18:27 (quit) jeapostrophe: Quit: jeapostrophe 19:06 askhader: Really? Nobody has encountered this? 19:33 askhader: I am using (redirect-to in order to redirect a user to a page after issuing them a cookie, however when I attempt to extract the list of cookies, I get '() which leads me to believe that the issuing of the cookie was not succsessful, however no error was produced. Here is the relevant code: http://paste.lisp.org/+2ECB 19:38 (join) jonrafkind 19:44 (quit) Matrox: Quit: Leaving 19:53 (join) jeapostrophe 20:06 (quit) jeapostrophe: Quit: jeapostrophe 20:19 adamvh: Any opinions on the "CLOS" in Swindle? 20:34 (join) jeapostrophe 20:58 (quit) jeapostrophe: Quit: jeapostrophe 21:09 (join) nicktick 22:21 adamvh: Is there any way to destructure within a syntax-case like one can do with common lisp macro arguments? 22:21 jonrafkind: you want to use car and cdr on the syntax objcets? 22:28 adamvh: I'm probably not being clear enough 22:28 adamvh: In common lisp, I can do something like 22:29 jonrafkind: (also fwiw, syntax-parse is basically a strict superset of syntax-case and I recommend using that instead) 22:29 adamvh: (defmacro foo (bar (baz quuz (spam and so on))) body) 22:29 jonrafkind: oh look at `define-syntax-rule' 22:29 adamvh: and then call it 22:29 jonrafkind: thats equivalent 22:30 jonrafkind: i mean you want to match (bar (baz ...)) to the syntax object that is passed to `foo' right? 22:30 adamvh: (foo argument (more arguments (yet more args here))) 22:30 adamvh: yes 22:30 adamvh: I want to match a tree 22:30 adamvh: not just a flat list 22:30 jonrafkind: ok, define-syntax-rule turns into (define-syntax ... (syntax-rules ...)) 22:31 adamvh: and the docs are not clear on whether this is possible 22:31 jonrafkind: so if you want to write the full transformer im not sure of a way to do that 22:31 adamvh: I am guessing I will need nested syntax-case 22:31 adamvh: statements 22:31 jonrafkind: you can match tree structures with syntax-case 22:32 jonrafkind: (syntax-case #'(1 (2)) () [(a (b)) ...]) 22:32 jonrafkind: am I getting you wrong/ 22:32 jonrafkind: ? 22:35 (join) stchang 22:36 adamvh: Hmm I hadn't tried 22:36 adamvh: I was reading the docs and couldn't really find the answer 22:37 (join) jeapostrophe 22:37 jonrafkind: oh i guess there are no examples of nested syntax patterns 22:38 jonrafkind: the CFG for syntax patterns is "clear" about what you can do, but reading CFG's is a bit boring 22:38 adamvh: What does CFG stand for? 22:39 jonrafkind: context free grammar 22:39 jonrafkind: that stuff at the top, pattern = ... 22:40 jonrafkind: since a pattern can be (pattern ...) that means you can write nested patterns 22:40 jonrafkind: i guess its not entirely clear that the () are literal 22:40 jonrafkind: on the syntax-case page 22:40 (quit) jeapostrophe: Client Quit 22:41 (quit) nicktick: Quit: When two people dream the same dream, it ceases to be an illusion. KVIrc 3.4.2 Shiny http://www.kvirc.net 22:42 adamvh: Oh I get it, yes, the definition of pattern is recursive... 22:42 adamvh: Still not quite a pro at reading the CFG 22:42 jonrafkind: examples would have helped, right? 22:42 jonrafkind: of nested syntax 22:42 adamvh: definitely 22:43 adamvh: Because at that point I would have said to myself "Ah, this is how I defmacro!" 23:03 (quit) stchang: Quit: Page closed 23:47 (join) nicktick 23:53 (quit) adamvh: Quit: adamvh