00:01 (quit) manud: Quit: Leaving 00:05 (quit) igstan: Quit: igstan 00:17 (join) dauterive 00:24 (quit) ambrosebs: Remote host closed the connection 00:29 (join) ambrosebs 00:31 (quit) greghendershott: Ping timeout: 252 seconds 00:32 (quit) paddymahoney: Remote host closed the connection 00:41 (join) bjz 00:51 (quit) jao: Ping timeout: 252 seconds 00:53 (quit) Fare: Ping timeout: 260 seconds 00:54 (quit) karswell`: Ping timeout: 252 seconds 01:06 (join) Fare 01:07 (quit) kvda: Quit: z____z 01:12 (quit) vu3rdd: Remote host closed the connection 01:15 (join) pierpaolo 01:15 (join) Icarot 01:17 (join) pierpa 01:17 (quit) pierpa: Client Quit 01:19 (quit) Fare: Ping timeout: 258 seconds 01:21 (join) vkz 01:28 (quit) vkz: Quit: vkz 01:32 (join) noam_ 01:36 (quit) noam: Ping timeout: 252 seconds 01:39 (quit) Icarot: Ping timeout: 260 seconds 01:41 (join) kvda 01:45 (quit) ambrosebs: Remote host closed the connection 01:58 (join) ambrosebs 01:58 (quit) dauterive: Quit: Leaving 02:06 (join) dyoo 02:09 (quit) dyoo: Client Quit 02:14 (join) asvil 02:25 (quit) dnolen: Ping timeout: 245 seconds 02:28 (quit) kvda: Quit: x___x 02:34 (quit) mceier: Quit: leaving 02:47 (quit) noam_: Ping timeout: 240 seconds 02:55 (join) noam 02:59 (join) jao 02:59 (quit) jao: Changing host 02:59 (join) jao 03:02 (join) karswell 03:18 (join) noam_ 03:21 (quit) noam: Ping timeout: 245 seconds 03:25 (join) mceier 03:37 (quit) jonrafkind: Ping timeout: 260 seconds 03:38 (quit) tcsc: Quit: computer sleeping 03:44 (quit) wsun: Ping timeout: 256 seconds 03:49 (quit) racycle: Quit: racycle 03:57 (join) hkBst 04:11 (quit) rohni: Quit: Leaving. 04:27 (join) basdirks 04:31 (quit) ASau`: Ping timeout: 255 seconds 04:43 (quit) bjz: Quit: Leaving... 04:53 (quit) jao: Ping timeout: 252 seconds 05:14 (join) ambroseb_ 05:14 (quit) ambrosebs: Ping timeout: 245 seconds 05:16 (join) egnarts-ms 05:23 (quit) shriphani: Quit: shriphani 05:31 (quit) yacks: Ping timeout: 260 seconds 05:31 (join) bitonic 05:34 (join) BakaKuna1 05:36 (join) vkz 05:39 (join) yacks 06:20 (join) Kaylin 06:22 (quit) egnarts-ms: Ping timeout: 245 seconds 06:34 (join) egnarts-ms 06:35 (quit) vkz: Quit: vkz 06:57 (quit) oev: Quit: Leaving 06:58 (join) momo-rei` 07:00 (quit) momo-rei`: Remote host closed the connection 07:04 (join) momo-reina 07:20 (quit) bitonic: Ping timeout: 245 seconds 07:21 (quit) momo-reina: Remote host closed the connection 07:28 (quit) asvil: Read error: Connection reset by peer 07:33 (join) bjz 07:46 (join) asvil 07:53 (join) bitonic 08:11 (quit) Kaylin: Read error: Connection reset by peer 08:19 (join) vkz 08:20 (join) mizu_no_oto 08:32 (join) walter 08:33 (join) soegaard 08:36 (join) samth 08:37 (join) Fare 08:49 (quit) soegaard: Quit: soegaard 08:55 (join) Kaylin 08:57 (join) serhart 08:58 (join) soegaard 08:58 (quit) soegaard: Client Quit 09:00 (quit) samth: Ping timeout: 260 seconds 09:00 (join) samth 09:00 (quit) yacks: Ping timeout: 260 seconds 09:04 (join) soegaard 09:05 (quit) pierpaolo: Ping timeout: 245 seconds 09:19 (quit) soegaard: Quit: soegaard 09:35 (quit) samth: Ping timeout: 276 seconds 09:35 (join) yacks 09:50 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 09:50 (join) olopierpa 09:54 (quit) bitonic: Ping timeout: 245 seconds 09:56 (quit) cdidd: Ping timeout: 246 seconds 10:03 (join) igstan 10:06 (quit) BakaKuna1: Read error: Connection reset by peer 10:12 (quit) Kaylin: Read error: Connection reset by peer 10:14 (join) racycle 10:17 (join) Icarot 10:22 (quit) Icarot: Ping timeout: 258 seconds 10:25 (join) mizu_no_oto 10:40 (join) Icarot 10:41 (join) didi` 10:42 (join) greghendershott 10:46 (join) bitonic 10:51 (part) greghendershott: "rcirc on GNU Emacs 24.2.1" 10:56 (join) anRch 11:06 (quit) Icarot: Ping timeout: 255 seconds 11:15 (join) Icarot 11:18 (nick) didi` -> didi 11:20 (quit) Icarot: Ping timeout: 260 seconds 11:20 (quit) anRch: Quit: anRch 11:21 (join) anRch 11:23 (quit) mceier: Quit: leaving 11:27 (quit) asvil: Ping timeout: 252 seconds 11:29 (join) rndnick42 11:30 (nick) samth_away -> samth 11:30 (quit) bitonic: Ping timeout: 264 seconds 11:35 (join) bitonic 11:39 (quit) anRch: Quit: anRch 11:47 (join) ijp 11:54 (quit) rndnick42: Remote host closed the connection 11:56 (quit) egnarts-ms: Ping timeout: 245 seconds 12:07 (quit) basdirks: Ping timeout: 264 seconds 12:10 (join) jbclements 12:11 (quit) bitonic: Read error: Operation timed out 12:14 (quit) hkBst: Quit: Konversation terminated! 12:15 (join) basdirks 12:16 (quit) merijn: Quit: leaving 12:19 (join) bitonic 12:24 (quit) yacks: Quit: Leaving 12:25 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 12:29 (join) yacks 12:33 (join) sstrickl 12:36 (join) mceier 12:36 (join) jeapostrophe 12:38 (join) Kaylin 12:39 (quit) Kaylin: Read error: Connection reset by peer 12:45 (join) soegaard 12:46 (quit) walter: Quit: This computer has gone to sleep 12:47 (join) anRch 12:59 (join) didi 13:00 (quit) anRch: Quit: anRch 13:12 (join) dauterive 13:13 (quit) bitonic: Read error: Connection reset by peer 13:13 (join) bitonic` 13:19 (join) Aune 13:28 (quit) soegaard: Quit: soegaard 13:30 (join) jonrafkind 13:33 (quit) Aune: Remote host closed the connection 13:38 (join) netrino 13:45 (join) ASau 13:46 (quit) didi: Ping timeout: 245 seconds 13:47 (nick) bitonic` -> bitonic 14:00 (join) ijp` 14:03 (quit) ijp: Ping timeout: 264 seconds 14:03 (nick) ijp` -> ijp 14:08 (join) tcsc 14:09 (quit) igstan: Quit: igstan 14:17 (join) jao 14:17 (quit) jao: Changing host 14:17 (join) jao 14:23 (quit) jao: Ping timeout: 245 seconds 14:24 (join) anRch 14:38 (join) greghendershott 14:43 (join) deathgaze 14:44 deathgaze: Quick question: Is there a way to key in a repeating decimal to DrRacket's definition or REPL as a constant value? 14:44 (quit) basdirks: Ping timeout: 248 seconds 14:45 stamourv: rudybot: 1/3 14:45 rudybot: stamourv: your sandbox is ready 14:45 rudybot: stamourv: ; Value: 1/3 14:45 stamourv: deathgaze: Not exactly what you asked for, but does that help? 14:46 deathgaze: Yesh, that'll probably get me there. ^_^ 14:49 stamourv: deathgaze: If you want, you could probably write that as a reader extension. 14:49 dented42: how would I implement something like #%datum that is used to tag certain syntax objects that defaults to nothing but the user can create her own macro for to do whatever she wants? Not sure if I'm explain this very well but if I did it the naive way then whenever I generate my tag it would be bound to the default macro and hygiene would ensure that it is always bound to the default and not to the users override. 14:49 stamourv: Bonus points for using Unicode overbar as the syntax. :D 14:50 stamourv: dented42: Do you have an example? 14:50 deathgaze: stamourv: That sounds like a fun project! How would I get started working on a reader extension? 14:51 stamourv: dented42: My first thoughts would be to use either syntax parameters, or just use a generated name for the macro (as in `generate-temporary') that only you have access to. 14:51 stamourv: deathgaze: 1 sec, looking up the docs. 14:52 deathgaze: stamourv: Got it. Google ftw 14:52 deathgaze: http://docs.racket-lang.org/reference/Reader_Extension.html 14:52 stamourv: deathgaze: You're faster than I am. :) 14:52 deathgaze: lol 14:52 stamourv: For your use case, I think that readtables may be the best approach. 14:53 dented42: well, #%datum. the reader inserts it into the syntax objects and by default does something like (syntax-rules () [(#%datum . thing) (quote thing)]) but I can override later with something like (syntax-rules () [(#%datum . thing) (quote anne-datum)]) 14:54 (quit) eikonos: Quit: Leaving. 14:54 (join) eikonos 14:54 (quit) eikonos: Changing host 14:54 (join) eikonos 14:54 stamourv: dented42: Right, so you want to define your own macro, and make it unshadowable? 14:55 (join) dyoo 14:55 dented42: if unshadowable means what I think it means then yes 14:55 stamourv: I don't think you can have anything that's unshadowable. 14:55 stamourv: However, 14:56 (quit) yacks: Quit: Leaving 14:56 dented42: what does unshadowable mean? that it can be dynamically overridden? 14:56 stamourv: if you bind your macro transformer to a private identifier, in addition to the user-visible one, you know that the private id will always be bound to it, so you can use it without fear. 14:57 stamourv: rudybot: (let ([x 1]) (let ([x 2])) x) 14:57 rudybot: stamourv: error: #:1:13: let: bad syntax (missing binding pairs or body) in: (let ((x 2))) 14:57 stamourv: rudybot: (let ([x 1]) (let ([x 2]) x)) 14:57 rudybot: stamourv: ; Value: 2 14:57 stamourv: dented42: That's shadowing. 14:57 dented42: oh, right 14:57 stamourv: I don't think there's a way to have an identifier that can't be shadowed. 14:58 stamourv: But if you expand into a fresh identifier (à la `generate-temporaries'), no user can type that id, so you can keep it for private use. 15:00 dented42: right 15:01 dented42: but how do I generate an identifier that the user can override, or rebind I guess could be a better word. It's my understanding that hygiene prevents that sort of thing from happening 15:02 dyoo: dented42: perhaps syntax parameters are what you're asking then? 15:02 asumu: dented42: what do you mean override? 15:02 jbclements: dented42: no, I think you're mistaken. Hygiene does not prevent users from overriding iden… I think a gist would be very useful here. 15:03 dyoo: dented42: http://docs.racket-lang.org/reference/stxparam.html 15:08 (quit) anRch: Quit: anRch 15:10 (quit) deathgaze: Quit: Leaving 15:12 (quit) dyoo: Quit: dyoo 15:12 (join) soegaard 15:12 (join) ncw 15:13 dented42: like this sort of thing http://paste.lisp.org/+2WZ8 15:30 (join) ryan_c 15:35 ozzloy: is there a built in function for substituting environment variables into bash-like strings? eg "$PWD/${FOO}/asdf" -> "/home/ozzloy/project/foo-value/asdf" 15:35 ozzloy: ? 15:36 (quit) jonrafkind: Ping timeout: 246 seconds 15:44 (quit) olopierpa: Ping timeout: 245 seconds 15:50 (quit) ncw: Remote host closed the connection 15:51 (join) basdirks 15:56 (quit) basdirks: Ping timeout: 248 seconds 15:59 (join) didi 16:00 dented42: syntax parameters seems very similar to what I want, however I would the user to be able to rebind it using a normal define-syntax instead. It's not a huge deal, but I'd like it to work that way if possible. 16:01 dented42: is the way that #%datum works implemented on the C side of racket? 16:02 jbclements: dented42: I think you might be able to change the meaning of #%datum by writing your own "language"; that is, a racket lang that's just like #lang racket but provides your binding for #%datum. Apologies if this isn't clear. I'm talking about a relatively small amount of code, and all in Racket. 16:04 dented42: jbclements: what you are describing is what I am trying to do, except I don't want to change the meaning of #%datum, I want to have my own similar 'tagging' macro, I just don't know how I should go about doing it. 16:05 jbclements: dented42: if I understand correctly, though, you want to grab all of the "literals", right? 16:05 dented42: no 16:05 jbclements: so… are you all right with having an explicit macro invocation? 16:05 dented42: I want to tag all of the lists that are defined with square brackets 16:06 dented42: I'm already doing a reader extension, I'm just not sure how to make the 'tagging' overridable by the user 16:07 (join) jonrafkind 16:07 jbclements: urm… sorry, your paste made it look like you were trying to override #%datum. Two things: 16:07 jbclements: 1) yes, I agree with everyone else that you should look at syntax parameters, and 16:07 jbclements: 2) you know that there's a bunch of machinery in place to deal with square-vs-round parens, right? 16:08 dented42: my paste is demonstrating the behavior of #%datum that I am trying to emulate. 16:10 dented42: 1) that's what I've been looking at and 2) I am aware of that, I am planning on using that existing machinery so that I don't end up duplicating a lot of effort. 16:14 jbclements: awesome! Sorry to have misunderstood you earlier. Let me know if you need me to confuse you any more :). 16:14 dented42: of course! and thank you for being so unenlightening ;) 16:18 ryan_c: dented42, it sounds like you might want to override #%app instead 16:19 dented42: why? I didn't think that I want to override any of them 16:20 ryan_c: If you made a reader extension do something to []s, then it would affect []s in positions other than expression position. For example, you might turn (cond [Q A]) into (cond [square-list Q A]), which is probably not what you want. 16:20 (quit) soegaard: Quit: soegaard 16:21 ryan_c: When the racket expander sees a form like (a b c)---or [a b c]---where a is not an identifier bound to a syntactic form (primitive or macro), then it turns in into (#%app a b c) and expands that. 16:23 ryan_c: So if you want to do something to expressions like [a b c], then you should write your own #%app macro that checks for square brackets (there's a syntax property for that). If it had square brackets, then make a list; if it had parens, then just expand into racket's #%app. 16:23 dented42: no, I want to mark all occurances if [] 16:23 dented42: s/if/of/ 16:24 dented42: including conds, matches, lets, and whatnot 16:27 (join) dyoo 16:28 dyoo: ozzloy: I'm looking at http://docs.racket-lang.org/reference/Manipulating_Paths.html#%28def._%28%28quote._~23~25kernel%29._expand-user-path%29%29 now to see how it expands stuff like "~". 16:28 rudybot: http://tinyurl.com/a522lq5 16:30 ryan_c: dented42, oh, okay, then changing the reader is probably your best bet 16:30 dented42: yes 16:31 (quit) jeapostrophe: Ping timeout: 260 seconds 16:31 dyoo: ozzloy: hmm… sorry, I don't see anything built-in to parse and expand out environmental variables in strings. It would be something you should be able to cook up, though. 16:32 dented42: I want to add #%brace, #%bracket, and #%paren tags (similar to #%app and #%datum) so that I can write multiple languages that distinguish between the different kind of delimiters without having to extend the reader each time, and just have different macros for #%brace etc. 16:33 (quit) Nisstyre: Quit: Leaving 16:34 (join) ncw 16:34 ozzloy: dyoo, cool. thanks for checking. i'm guessing it wouldn't be too hard to write one. just thought maybe that wheel had been invented already 16:35 samth: dented42: can you use the `paren-shape` syntax property for this? 16:36 dyoo: ozzloy: the beginnings of it would probably look something like https://gist.github.com/dyoo/5172930 16:37 dented42: samth: to implement the reader part, yes. What I am having trouble with is having a default transformer for #%brace and the others that a requiring module can override 16:38 (join) RacketCommitBot 16:38 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/MC8coQ 16:38 RacketCommitBot: racket/master ac93509 Robby Findler: sorry, didn't mean to push this... 16:38 RacketCommitBot: racket/master 551150e Robby Findler: tweaks to option contract usage 16:38 (part) RacketCommitBot 16:38 samth: dented42: i don't think you can "override" things in the sense you're describing, but maybe i'm not understanding 16:39 dented42: then how is #%datum able to do what it does? 16:41 samth: #%datum is not wrapped around arguments to macros 16:41 samth: dented42: it only applies in expression positions (roughly) 16:42 dented42: oh 16:43 samth: for example: 16:43 samth: rudybot: (define-syntax (m stx) (syntax-case stx () [i (displayln (syntax-e i)) #'(void)])) 16:43 rudybot: samth: your sandbox is ready 16:43 rudybot: samth: error: #:1:67: i: pattern variable cannot be used outside of a template in: i 16:43 samth: rudybot: (define-syntax (m stx) (syntax-case stx () [i (displayln (syntax-e #'i)) #'(void)])) 16:43 rudybot: samth: Done. 16:43 samth: rudybot: (m "foo") 16:43 rudybot: samth: ; stdout: "(# #)\n" 16:44 samth: dented42: note that #%datum is not involved 16:52 dented42: ah 16:53 samth: dented42: in general, macros have total control over their arguments 16:53 (quit) bjz: Ping timeout: 260 seconds 16:57 (join) jao 16:57 (quit) jao: Changing host 16:57 (join) jao 17:01 (join) DanBurton 17:10 (join) brianmwaters 17:11 (nick) brianmwaters -> Guest35512 17:16 (quit) serhart: Quit: Leaving. 17:18 (quit) greghendershott: Ping timeout: 264 seconds 17:23 (join) cdidd 17:25 (quit) jao: Ping timeout: 252 seconds 17:27 (quit) ncw: Remote host closed the connection 17:42 (join) ncw 17:42 (quit) vkz: Quit: vkz 17:49 (quit) ncw: Remote host closed the connection 18:13 (join) mizu_no_oto 18:25 (quit) dyoo: Quit: dyoo 18:27 (join) basdirks 18:31 (quit) sstrickl: Quit: sstrickl 18:38 (join) rich1 18:42 (join) greghendershott 18:44 (quit) ryan_c: Quit: Ex-Chat 18:45 (join) jeapostrophe 18:45 (quit) jeapostrophe: Changing host 18:45 (join) jeapostrophe 18:50 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 18:53 (join) bitonic 18:56 (quit) greghendershott: Quit: Leaving. 19:00 (quit) basdirks: Ping timeout: 276 seconds 19:03 dented42: oh 19:03 dented42: hang on 19:04 dented42: this should use units, then everything fits together nicely. ^_^ 19:09 (join) ncw 19:14 (quit) ncw: Remote host closed the connection 19:15 (quit) jonrafkind: Ping timeout: 240 seconds 19:16 (join) mizu_no_oto 19:16 (join) gridaphobe 19:17 (join) serhart 19:18 (join) Kaylin 19:21 (quit) serhart: Ping timeout: 264 seconds 19:22 (join) greghendershott 19:25 (quit) Kaylin: Quit: Leaving. 19:26 rich1: cool - i just used http://www.neilvandyke.org/racket-csv/ for the 1st time - drracket auto downloaded and installed it 19:27 rich1: and it worked as a normal user (non-admin) on windows - great 19:43 (quit) rich1: Quit: Leaving. 19:58 (join) anonymou1 19:58 anonymou1: Hello everyone 19:59 anonymou1: I googled racket jobs 19:59 anonymou1: but I didn't find much interesting :( at least yet 20:00 anonymou1: Is it possible to get a good freelance Racket job? 20:27 (quit) anonymou1: Ping timeout: 246 seconds 20:48 (join) Raynes 20:48 (quit) jbclements: Quit: jbclements 20:49 (quit) greghendershott: Quit: Leaving. 20:55 (quit) Fare: Ping timeout: 256 seconds 20:56 (join) bjz 21:01 (join) jao 21:01 (quit) jao: Changing host 21:01 (join) jao 21:07 (quit) netrino: Remote host closed the connection 21:13 (quit) bitonic: Remote host closed the connection 21:16 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 21:26 (join) yacks 21:28 (quit) yacks: Remote host closed the connection 21:30 (quit) jao: Ping timeout: 245 seconds 21:36 (quit) jeapostrophe: Ping timeout: 252 seconds 21:48 (quit) sirdancealo2: Read error: Operation timed out 22:00 (quit) dauterive: Quit: Leaving 22:05 (join) sirdancealo2 22:06 (join) paddymahoney 22:24 asumu: http://r-wos.org/blog/tacit-racket & http://r-wos.org/blog/tacit-racket-2 22:24 (quit) DanBurton: Remote host closed the connection 22:53 (quit) didi: Ping timeout: 245 seconds 23:15 (quit) gridaphobe: Ping timeout: 252 seconds 23:23 (join) mithos28 23:31 (join) dauterive 23:50 (join) olopierpa 23:53 (quit) ambroseb_: Remote host closed the connection 23:57 (quit) sirdancealo2: Ping timeout: 252 seconds