00:00 (quit) ghosting: Client Quit 00:15 (quit) karswell: Ping timeout: 248 seconds 00:43 (join) jonrafkind 00:45 (quit) alkoma: Ping timeout: 258 seconds 00:49 (quit) jeapostrophe: Quit: jeapostrophe 00:58 (join) karswell 01:05 (join) dmac1 01:16 (quit) dnolen: Quit: dnolen 02:06 (join) alkoma 02:07 (quit) alkoma: Remote host closed the connection 02:25 (quit) realitygrill: Quit: realitygrill 02:26 (join) bluezenix 02:26 (quit) bluezenix: Remote host closed the connection 02:28 (quit) dmac1: Ping timeout: 252 seconds 02:29 mithos28: is there a way to use raco to compile with errortrace? 02:53 (quit) jonrafkind: Ping timeout: 258 seconds 03:22 (join) dmac1 03:50 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/1Tk5nw 03:50 RacketCommitBot: [racket/master] New Racket version 5.2.0.1. - Eli Barzilay 03:58 (join) superjudge 04:09 (quit) mithos28: Quit: mithos28 04:58 (join) masm 05:18 (quit) dmac1: Ping timeout: 252 seconds 05:40 (join) MayDaniel 06:03 (join) dmac1 06:49 (quit) MayDaniel: Read error: Connection reset by peer 08:24 (join) MayDaniel 08:56 (quit) MayDaniel: Ping timeout: 260 seconds 09:53 Gertm: If I define a struct in one module, add it to the (provide ..) line, what could prevent it from being seen in another module where I (require..)'d the first module? 10:04 (join) jeapostrophe 10:23 (quit) jeapostrophe: Quit: jeapostrophe 10:31 (join) bluezenix 10:35 (quit) bluezenix: Client Quit 10:41 Gertm: found it, had to use (struct-out ..) 10:52 (join) Burlingk 11:02 (quit) superjudge: Read error: No route to host 11:02 (join) superjudge 11:02 (quit) superjudge: Client Quit 11:03 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/46hFYA 11:03 RacketCommitBot: [racket/master] fix ffi retain of callbacks - Matthew Flatt 11:06 (join) jonrafkind 11:07 (join) jrslepak_ 11:23 (join) jeapostrophe 11:23 (quit) jeapostrophe: Client Quit 11:28 (quit) dmac1: Ping timeout: 276 seconds 11:43 (join) dnolen 11:57 (quit) karswell: Remote host closed the connection 12:11 (join) a3nm 12:12 a3nm: hi 12:13 (join) realitygrill 12:13 (join) bluezenix 12:17 _p4bl0: Hi everyone, I have a module which provides a macro which expands to a lambda expression. When I require this first module in a second one, and use this macro, if the expansion of the macro contains references to identifiers defined in the second module, I have an error saying that these identifiers are unbound, and that's a problem for me. 12:17 _p4bl0: It seems as if the code created by the macro expansion lives in the first module instead of where I used the macro. 12:18 jonrafkind: yes, thats hygiene 12:18 _p4bl0: jonrafkind: but the identifiers are not "created" by the macro, they are given to it 12:18 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/KEFs8A 12:18 RacketCommitBot: [racket/master] Change basic-top-level-window% to support `set-icon', and use to set icon for splash screen. - Sam Tobin-Hochstadt 12:18 RacketCommitBot: [racket/master] docs and release notes for `set-icon' change - Matthew Flatt 12:18 jonrafkind: if you want to use identifiers from the first macro there are a number of options, one is to break hygiene and to give the identifiers the lexical context from the 2nd module 12:19 jonrafkind: hygiene says if you have a macro that refers to +, then it will refer to exactly the + that is bound when the macro is created 12:19 _p4bl0: jonrafkind: I know, but here the macro refers to + only because I told it to when I called it. 12:20 jonrafkind: can you give an example 12:20 _p4bl0: okay, I'll try to have a minimal case and come back with it :-) 12:28 (join) mithos28 12:29 (quit) bluezenix: Quit: Leaving. 12:41 _p4bl0: jonrafkind: http://pastie.org/2666387 here, sorry it's not that small. 12:41 jonrafkind: ok 12:42 _p4bl0: you see, my problem is that the "plus" identifier is given in second.rkt to the macro, so it should be okay, but I guess the level of indirection cause the problem 12:43 jonrafkind: do you want to define name as an identifier macro? 12:43 jonrafkind: or just a regular macro 12:44 jonrafkind: oh you are trying to put that value into name and then get it out later.. 12:44 jonrafkind: thats pretty wierd :p 12:44 _p4bl0: :-p 12:44 _p4bl0: yea that's what I'm doing 12:45 jonrafkind: most likely the syntax->datum is screwing things up 12:45 _p4bl0: maybe I could have the define-foo macro attach the lexical context of it argument to the syntax object it creates? 12:45 _p4bl0: ah right 12:45 jonrafkind: you should extract the syntax objects with stx-car or whatever 12:45 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/aSZD9g 12:45 RacketCommitBot: [racket/master] fix QNX sconfig entry - Matthew Flatt 12:45 RacketCommitBot: [racket/master] mark OS jmpbuf as GC-ignored - Matthew Flatt 12:46 jonrafkind: what are you trying to accomplish anyway? 12:47 _p4bl0: I'm doing a tool to make RESTful APIs with the racket web server 12:47 jonrafkind: ok but more low level what are you trying to do with syntax here 12:48 (quit) masm: Read error: Operation timed out 12:50 _p4bl0: I want to be able to define resources and then have a macro which takes those resources as an argument and generate a lambda expression wrapping a big match which does the dispatch given the route and the HTTP method of the request. This lambda expression will be the argument to serve/servelet 12:51 _p4bl0: So I want to generate a single match form given data from difference define-foo macros 12:51 (join) karswell 12:51 _p4bl0: that works, except this hygiene problem 12:51 jonrafkind: do you plan on using define-match-expander ? 12:51 _p4bl0: nope 12:51 jonrafkind: do you know of its existence? 12:51 _p4bl0: yes 12:52 _p4bl0: but I don't really get how to use it 12:52 jonrafkind: aha 12:52 _p4bl0: ^^ 12:52 jonrafkind: its just a macro that is invoked by match to do whatever you want 12:52 jonrafkind: so you can do (match foo [(my-foo x y z) ...]) 12:53 jonrafkind: where my-foo is a macro that checks if foo is a foo? and maybe some other stuff, then pulls out the x/y/z attribuets from x 12:53 jonrafkind: i mean from foo 12:54 _p4bl0: okay, but that won't solve my problem, because my problem is only for the body part of the match clauses 12:54 _p4bl0: but thanks for the tip, I'm pretty sure it can help me clean a bit my current code 12:57 (join) Demosthenes 12:57 _p4bl0: w00t, it seems to be working if I use stx-car and stx-cdr 12:58 _p4bl0: "it seems" because I only tried on my minimal example 12:58 _p4bl0: jonrafkind: (btw, I did not came across stx-car and stx-cdr before you mentionned it, thanks a lot) 12:58 jonrafkind: cool 12:59 jonrafkind: you could have also destructured the syntax-local-value with syntax-case or whatever, thats what I would have done 13:03 _p4bl0: yea I just have to, cddddr is kinda okay, but (stx-cdr (stx-cdr (stx-cdr (stx-cdr ... is not. (using with-syntax) 13:04 (quit) jonrafkind: Ping timeout: 256 seconds 13:12 (quit) realitygrill: Quit: realitygrill 13:12 (join) masm 13:17 (join) jonrafkind 13:43 (quit) masm: Ping timeout: 255 seconds 14:20 (join) srolls 14:42 (join) kenjin2201 14:43 (join) kenjin2202 14:43 (quit) kenjin2201: Client Quit 14:46 (join) mceier 15:01 (join) jeapostrophe 15:02 (quit) jeapostrophe: Client Quit 15:04 (join) jao 15:07 (quit) mceier: Ping timeout: 244 seconds 15:07 (join) mceier 15:11 (join) jeapostrophe 15:16 (join) masm 15:19 (quit) kenjin2202: Read error: Connection reset by peer 15:26 (quit) jeapostrophe: Quit: jeapostrophe 15:50 (join) bluezenix 15:56 (join) anRch 15:59 (join) jeapostrophe 16:00 (quit) jeapostrophe: Client Quit 16:05 (join) anRch_ 16:05 (quit) anRch: Read error: Connection reset by peer 16:05 (nick) anRch_ -> anRch 16:27 (join) jeapostrophe 16:30 (quit) jeapostrophe: Client Quit 16:40 (quit) dnolen: Quit: dnolen 16:47 (quit) jonrafkind: Ping timeout: 256 seconds 16:55 (quit) anRch: Quit: anRch 17:00 (quit) jao: Ping timeout: 248 seconds 17:01 (join) jeapostrophe 17:02 (quit) jeapostrophe: Client Quit 17:10 (join) jeapostrophe 17:11 (quit) jeapostrophe: Client Quit 17:17 (join) zort- 17:17 zort-: How do you retrieve the "foo" in "'foo"? That is, the symbol "foo" has a value which I want but I don't know how to get it out of the quote. 17:22 (join) dnolen 17:25 (quit) dnolen: Client Quit 17:30 (join) alkoma 17:34 (quit) a3nm: Quit: Coyote finally caught me 17:34 (quit) mceier: Quit: leaving 17:48 (quit) alkoma: Quit: ERC Version 5.3 (IRC client for Emacs) 18:05 (join) dmac1 18:29 (join) a3nm 18:30 a3nm: zort-: eval ? 18:45 zort-: yay 19:20 (join) jonrafkind 19:45 (quit) masm: Quit: Leaving. 19:48 (quit) zort-: 20:17 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/hkci5Q 20:17 RacketCommitBot: [racket/master] history for release - Matthias Felleisen 20:17 (join) bmp 20:29 (quit) bmp: Quit: Bye! 20:31 (quit) bluezenix: Quit: Leaving. 21:10 (quit) offby1: Remote host closed the connection 21:10 (join) offby1 21:11 (quit) offby1: Changing host 21:11 (join) offby1 21:15 (quit) dmac1: Ping timeout: 255 seconds 21:23 (join) alkoma 21:35 (join) dmac1 21:46 (join) jeapostrophe 21:46 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/GGO1AQ 21:46 RacketCommitBot: [racket/master] fix compiler confusion: non-mutating vs reorderable unsafe ops - Matthew Flatt 21:51 (quit) alkoma: Remote host closed the connection 21:55 (join) rsimoes 22:18 (quit) dmac1: Ping timeout: 255 seconds 22:28 (quit) karswell: Ping timeout: 248 seconds 22:54 (quit) jeapostrophe: Quit: jeapostrophe 22:55 (join) karswell 23:01 (quit) Lajla: Ping timeout: 260 seconds 23:19 (quit) jrslepak_: Quit: Leaving 23:22 (join) alkoma 23:31 (quit) alkoma: Quit: ERC Version 5.3 (IRC client for Emacs) 23:33 (join) dmac1 23:41 (join) realitygrill