02:22 (quit) jonrafkind: Ping timeout: 265 seconds 04:07 (join) masm 06:21 (quit) hanDerPeder: Quit: hanDerPeder 06:53 (quit) Baughn: *.net *.split 06:53 (quit) chandler: *.net *.split 06:53 (quit) Lajla: *.net *.split 06:53 (quit) samth_vacation: *.net *.split 06:53 (quit) rapacity: *.net *.split 06:54 (join) Lajla 06:54 (join) samth_vacation 06:54 (join) Baughn 06:54 (join) rapacity 06:54 (join) chandler 07:01 (quit) waltermai: Ping timeout: 265 seconds 07:26 (join) hanDerPeder 08:25 (quit) Lajla: Read error: Connection reset by peer 08:25 (join) Lajla 09:10 (join) hanDerPeder_ 09:11 (quit) hanDerPeder: Ping timeout: 260 seconds 09:11 (nick) hanDerPeder_ -> hanDerPeder 09:57 (join) anRch 10:29 (quit) anRch: Quit: anRch 12:17 (join) jonrafkind 12:18 (quit) hanDerPeder: Quit: hanDerPeder 12:21 (join) hanDerPeder 13:30 Lajla: Hmm, (let ('/) '3) actually evaluates to 1/3 13:30 Lajla: (let ('/) (quote 3)) does too 13:31 jonrafkind: because those are the same exact thing 13:31 jonrafkind: for some reason, let is applying the function that ('/) evaluates to, to its body 13:31 jonrafkind: -> (syntax->datum (expand '(let ('/) '3))) 13:31 jonrafkind: '(let-values (((quote) /)) (#%app quote '3)) 13:32 Lajla: jonrafkind, yeah, I know. 13:32 Lajla: I just never really considered trying it. 13:33 Lajla: this is kind of the part where you expect a bug to kick in so that it doesn't work. 13:33 Lajla: The Scheme spec is also not extremely unambiguous about that it _must_ evaluate to to the same. 13:33 Lajla: All they say is that ' is considered the same as (quote ) 13:34 jonrafkind: right.. 13:34 jonrafkind: so '3 is the same as (quote 3) 13:34 Lajla: Yeah, but also in let, like (let ('/) ...) is the same as (let ((quote /)) ...) 13:35 Lajla: The specs were not explictly that it's the same as (quote 3) as in the semantics of (quote 3) or just, a list whose first element is the symbol quote, and whose second element is 3. 13:35 (join) moghar 13:37 jonrafkind: ah it seems to bind quote to the operator, then apply quote to whatever the body evaluates to 13:38 jonrafkind: actually its rebinding qoute in (#%app quote '3) 13:38 jonrafkind: so its (#%app / '3) 13:38 jonrafkind: because let decosntructs hte input, so it sees (quote /) and turns that into (let ([quote /]) '3) 13:39 Lajla: jonrafkind, I have no idea what you just said, can you rephrase it into directions like 'turn your click wheel right, then left, then right, then centre click'? 13:39 Lajla: jonrafkind, well, yeah, I imagined that. 13:39 Lajla: I think that it should 13:39 jonrafkind: i guess its technically correct, but thats extremely wierd behavior 13:39 Lajla: but what I'm saying is that R5RS is not extremely explicit and a bit ambiguous about it. 13:39 Lajla: Yeah. 13:39 Lajla: I like trying out these things to see if they work. 13:40 jonrafkind: heh 13:41 Lajla: I was just wondering if the 'x / (quote x) aequivalence was still in place if you changed the meaning of quote locally. 13:41 Lajla: But apprently it does, spot on job. 13:42 jonrafkind: yea, 'x is a reader level thing (in racket at least), so before any macro processing even occurs you get (quote x) 13:47 Lajla: Yeah, I had that idea. 13:47 Lajla: I'm not sure they wanted you to use (let ('3) ...) though to use that, but it's cool that it works. 13:47 Lajla: Handy for when I ever want to join obfuscated scheme contests 13:54 (join) dzhus 14:38 (join) waltermai 15:50 (join) Dranik 15:50 Dranik: hi 15:50 Dranik: does racket support reader macros like in CL to change the language syntax? 15:51 jonrafkind: you acn change the reader in racket 15:52 chandler: Yes, though it works a little differently because Racket doesn't co-mingle phases. 15:52 jonrafkind: http://docs.racket-lang.org/reference/reader.html?q=reader#(idx._(gentag._203._(lib._scribblings/reference/reference..scrbl))) 15:52 Dranik: thanks 15:53 Dranik: and one more 15:53 chandler: You might also want to look at the documentation on creating languages, as that's the most useful way to expose a custom reader: http://docs.racket-lang.org/guide/languages.html 15:53 Dranik: oh, great!! 15:53 Dranik: thanks!! 15:54 Dranik: I've just launched DrRacket. It has asked me what language to choose. Which should I to use racket? 15:54 chandler: "Use the language declared in the source" 15:55 Dranik: ok. On macross: is it possible to develop a language which uses infix notation and does not use parenthesis? 15:56 Dranik: I mean if I need such a DSL 15:56 chandler: I'm not sure how to interpret that - "is it possible to create a language using Racket which has infix syntax", or "is it possible to create a language with infix syntax that supports macros". 15:56 chandler: The answer to both is "yes". 15:57 jonrafkind: Dranik, i am working on such a language 15:57 Dranik: Thanks, it was helpful! 15:57 Dranik: I guess I will give Racket a try! 15:58 Dranik: i tried Clojure but it was a bit limited with macros. Clojure does not allow changing syntax... :'-( 16:37 (quit) waltermai: Ping timeout: 265 seconds 16:37 Dranik: how is GUI enabled in racked? is it a racket on widget set or wxWidgets or something else? 16:37 Dranik: *racket own widgets 16:38 chandler: It's a forked version of wxWidgets. 16:40 (quit) Dranik: Remote host closed the connection 17:25 (quit) alexsuraci: Ping timeout: 265 seconds 17:29 (join) alexsuraci 17:54 (join) jao 17:54 (quit) moghar: Ping timeout: 265 seconds 17:58 (quit) lisppaste: Ping timeout: 258 seconds 18:28 (quit) dzhus: Ping timeout: 276 seconds 18:47 (join) shkk 19:08 (quit) hanDerPeder: Quit: hanDerPeder 19:37 (quit) masm: Quit: Leaving. 19:58 (quit) shkk: Quit: Page closed 20:15 (join) hanDerPeder 20:22 (quit) hanDerPeder: Quit: hanDerPeder 21:24 (join) lisppaste 21:38 (join) walt_ 21:41 (quit) lisppaste: Ping timeout: 258 seconds 22:08 (join) byrongibson 22:11 (part) byrongibson 22:13 (join) Byron 22:40 (join) lisppaste 22:41 (join) aeouhtns 22:42 aeouhtns: hello 22:52 askhader: hi 23:26 (quit) walt_: Quit: Leaving 23:34 (part) Byron