00:11 (quit) stchang: Ping timeout: 240 seconds 00:11 (join) stchang 00:11 (quit) ianj: Ping timeout: 260 seconds 00:11 (quit) danking: Ping timeout: 260 seconds 00:11 (join) danking 00:11 (quit) stamourv: Ping timeout: 252 seconds 00:12 (join) stamourv 00:36 (quit) dnolen: Quit: dnolen 00:50 (quit) jeapostrophe: Quit: jeapostrophe 00:57 (join) hussaibi 00:57 (join) hussaibi_ 00:58 (join) hussaibi__ 01:02 (quit) hussaibi: Ping timeout: 250 seconds 01:02 (quit) hussaibi_: Ping timeout: 260 seconds 01:03 (join) hussaibi 05:20 (topic) -: Racket -- http://racket-lang.org -- logs @ http://racket-lang.org/irc-logs 05:20 (names) -: gabot jekor stamourv danking stchang soegaard DGASAU samth_away martinhex si14 ohwow_ Lajla ohwow jamessan Demosthenes Lycurgus snorble rapacity Utkarsh blomqvist dsp_ tunes tomku clklein mooglenorph stride zakwilson mario-goulart asumu rudybot ozzloy offby1 shachaf elliottcable bohanlon em svk_ tauntaun drhodes Twey cipher tewk cky janne gf3 hyko fmu ve askhader _p4bl0 mattmight @ChanServ tonyg 05:22 (join) eli 05:34 (join) RacketCommitBot 05:34 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://bit.ly/p3M2Ve 05:34 RacketCommitBot: [racket/master] Changes example from arithmetic to pairs - Casey Klein 05:34 (part) RacketCommitBot 05:41 (join) mceier 06:42 (join) jeapostrophe 07:34 (join) littlebobby 07:38 (join) tfb 07:40 (join) dnolen 07:49 (quit) jeapostrophe: Quit: jeapostrophe 07:59 (join) lucian 08:24 (join) jeapostrophe 09:05 (join) MayDaniel 09:05 (join) masm 09:15 (join) MayDaniel_ 09:16 (quit) MayDaniel: Read error: Connection reset by peer 09:35 (join) dherman 09:41 (join) ChibaPet 09:45 (quit) DGASAU: Remote host closed the connection 09:46 (join) DGASAU 09:48 (quit) dherman: Quit: dherman 09:49 (quit) jeapostrophe: Quit: jeapostrophe 10:00 (join) RacketCommitBot 10:00 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://bit.ly/nWsze5 10:00 RacketCommitBot: [racket/master] fix bug in keyword-argument calls - Matthew Flatt 10:00 (part) RacketCommitBot 10:21 (join) jeapostrophe 10:26 (quit) dnolen: Quit: dnolen 10:32 (join) anRch 11:00 (nick) samth_away -> samth 11:32 clklein: samth: Can you point me at the example that motivated reduction relations with ordered cases? 11:32 samth: clklein: one sec 11:36 (join) RacketCommitBot 11:36 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://bit.ly/q1vKir 11:36 RacketCommitBot: [racket/master] Use syntax-track-origin more pervasively to get the right arrows in check syntax. - Sam Tobin-Hochstadt 11:36 (part) RacketCommitBot 11:42 (quit) ohwow: Quit: leaving 11:46 samth: clklein: the original motivating example is lost to the mists of refactoring 11:46 samth: here's an example, though: https://github.com/samth/var/blob/master/step.rkt#L252 11:46 clklein: OK, any will do 11:47 (join) ohwow 11:48 (quit) anRch: Quit: anRch 11:49 clklein: samth: thanks 11:53 (join) anRch 12:03 clklein: samth: Have you seen cases where this kind of refactoring would be too painful? http://paste.lisp.org/display/123991 12:04 samth: clklein: i think it's way too painful in that case 12:04 samth: i would never write the code that way; i'd just add side conditions 12:06 clklein: seems less painful to me 12:06 clklein: and less copied code :) 12:06 clklein: I'd use a meaningful name for RHS if I had any idea what it was doing. 12:07 (join) dnolen 12:09 (join) dyoo 12:10 dyoo: Macro question: within the context of a macro's body, I want to be able to emit something to the toplevel context, something like mzscheme's begin-lifted, I think. Is there a good way to do this in Racket? 12:11 dyoo: specifically, I'm trying to use (begin-for-syntax), but my macro is being used in expression position. 12:16 (quit) MayDaniel_: Read error: Connection reset by peer 12:23 (quit) anRch: Quit: anRch 12:24 ohwow: http://repository.readscheme.org/ftp/papers/sw2003/Unwind.pdf found this in the mailing list, kinda interesting i should say 12:27 (quit) tfb: Quit: sleeping 12:42 (quit) ohwow: Quit: leaving 12:43 (quit) dyoo: Quit: Page closed 12:51 (join) jonrafkind 13:20 asumu: clklein: While we're giving you Redex ideas, would it be possible to make side-conditions have an optional failure term? 13:21 asumu: (e.g. to make reduction to errors easier) 13:22 asumu: Though maybe from a type-setting point of view that doesn't make much sense though. 13:24 clklein: asumu: I don't know what you mean. 13:25 clklein: If a term matches the LHS but fails the side-condition, then the term reduces to somethign specified along side the side-condition? 13:25 asumu: Right, so I could put several of these side-conditions (w/alternates) to specify all the error cases for a particular pattern. 13:26 clklein: ahh 13:27 clklein: I'm generally reluctant to add anything that doesn't correspond to standard pencil-and-paper notation. 13:27 clklein: But I'll think about it more. I need to go to a meeting now. 13:27 asumu: Right, I see what you mean. It looks more like reduction semantics when you specify all the cases. 13:27 asumu: Okay, cya. 13:40 (join) anRch 13:56 samth: clklein: i'd never write it the metafunction-way on paper 14:27 (join) dsrguru 14:29 dsrguru: in cases where tail recursion on a list requires a reverse call afterwards, would body recursion have the same cpu and space complexity as calling reverse on the result of tail recursion? 14:29 askhader: dsrguru: I'm sure you know how to find out trivially. 14:30 askhader: But it will ultimately depend upon what reverse is doing 14:31 dsrguru: do you mean it depends on how racket's reverse procedure is implemented? 14:31 askhader: I believe so. 14:31 dsrguru: I guess I'll test both ways 14:31 (join) MayDaniel 14:32 askhader: Also, how are you gauging cpu complexity? 14:32 dsrguru: I guess I was wondering more if one way was much more idiomatic in racket than the other 14:33 dsrguru: if their big O values only differ by a constant factor, then which has the smaller factor 14:33 dsrguru: as in just which runs in less time 14:33 askhader: Oh 14:33 askhader: Then they're the same at worst. 14:33 samth: it tends to be faster to do the non-tail-recursion in racket 14:33 samth: b/c racket is fast at traversing the stack 14:34 askhader: dsrguru: I say that knowing very little about racket implementations. 14:34 dsrguru: samth: thanks 14:34 askhader: I thought tail-call optimization was racket's bread and butter. 14:34 askhader: Perhaps that was r5rs 14:35 dsrguru: askhader: well the issue here is whether TCO saves more time than reversing the list 14:37 dsrguru: samth: would it be correct to assume that racket's looping constructs like for are equivalent to reversing the result of tail recursion? 14:38 dsrguru: samth: and if so, that body recursion would outperform said looping constructs 14:41 samth: askhader: racket certainly performs proper tail-calls 14:41 samth: but that's a question of space, not time 14:41 samth: dsrguru: `for/list' does do the cons/reverse 14:42 samth: as to what's faster, i've seen hand-coded loops be faster than `for', but i'd test the particular case myself 14:43 dsrguru: all right thanks 14:43 (quit) dsrguru: Quit: leaving 14:44 (quit) mooglenorph: Quit: Lost terminal 14:55 (quit) MayDaniel: Read error: Connection reset by peer 15:00 (quit) anRch: Quit: anRch 15:24 ChibaPet: yes 15:36 ohwow_: What does `fluid' mean in this context: http://repository.readscheme.org/ftp/papers/sw2003/Unwind.pdf ? 15:41 samth: ohwow_: fluids are variables that change their value for a particular well-defined region 15:41 samth: ohwow_: they're like parameters 15:42 ohwow_: I see, thanks 15:44 (quit) samth: Remote host closed the connection 15:53 (quit) em: Ping timeout: 240 seconds 15:56 (join) samth 16:09 (quit) jekor: Ping timeout: 252 seconds 16:30 (join) em 16:35 (quit) em: Ping timeout: 276 seconds 16:36 (join) em 16:42 (quit) em: Read error: Connection reset by peer 16:46 (join) emma 16:57 jonrafkind: how do you write a literal | symbol 16:59 ohwow_: huh? 16:59 jonrafkind: | is used as a special character to delimit symbols that can't normally be written 17:00 jonrafkind: like '| | is the literal space symbol 17:01 samth: rudybot: eval (define \| 1) 17:01 rudybot: samth: Done. 17:01 samth: rudybot: eval \| 17:01 rudybot: samth: ; Value: 1 17:01 samth: jonrafkind: as above 17:02 jonrafkind: word 17:02 jonrafkind: rudybot: eval '\| 17:02 rudybot: jonrafkind: your sandbox is ready 17:02 rudybot: jonrafkind: ; Value: \| 17:02 jonrafkind: shouldnt it print just | ? 17:03 jonrafkind: ah i guess it always prints the \ 17:03 ohwow_: rudybot: eval '| 17:03 rudybot: ohwow_: your sandbox is ready 17:03 rudybot: ohwow_: error: eval:1:1: read: unbalanced `|' 17:03 ohwow_: rudybot: eval '|\|| 17:03 rudybot: ohwow_: error: eval:1:4: read: unbalanced `|' 17:03 ohwow_: rudybot: eval '||\| 17:03 rudybot: ohwow_: ; Value: \| 17:04 ohwow_: rudybot: eval (string->symbol "|") 17:04 rudybot: ohwow_: ; Value: \| 17:04 ohwow_: yeah 17:10 tauntaun: thunk/c is still in unstable. Any recommendations for an alternative? 17:13 tauntaun: Ah, I assume I should just use (-> any). 17:14 stamourv: tauntaun: That should work. 17:17 (join) RacketCommitBot 17:17 RacketCommitBot: [racket] plt pushed 4 new commits to master: http://bit.ly/okoAKx 17:17 RacketCommitBot: [racket/master] [honu] use brackets to do list lookup instead of using dot - Jon Rafkind 17:17 RacketCommitBot: [racket/master] [honu] add structs and use . to lookup the field names in a struct instance - Jon Rafkind 17:17 RacketCommitBot: [racket/master] [honu] add flow operator which composes functions from right to left - Jon Rafkind 17:17 (part) RacketCommitBot 17:18 (quit) ChibaPet: Quit: Leaving. 17:31 (quit) _p4bl0: Remote host closed the connection 17:58 (join) hussaibi 17:58 (join) hussaibi_ 18:06 (join) lucian_ 18:09 (quit) lucian: Ping timeout: 264 seconds 18:18 (join) _p4bl0 18:27 (quit) mceier: Quit: leaving 18:27 (quit) Lycurgus: Remote host closed the connection 18:45 (quit) hussaibi_: Ping timeout: 264 seconds 18:45 (quit) hussaibi: Ping timeout: 276 seconds 18:53 (join) 14WABXH70 18:53 (join) 18VAAJ7C4 18:55 (quit) dnolen: Ping timeout: 252 seconds 18:59 (quit) 14WABXH70: Ping timeout: 260 seconds 18:59 (quit) 18VAAJ7C4: Ping timeout: 258 seconds 19:00 tauntaun: Racket has met its nemesis. It's called "Wilfred". 19:10 (quit) jeapostrophe: Quit: jeapostrophe 19:18 (join) hussaibi 19:18 (join) 77CAA010P 19:19 (join) hussaibi_ 19:20 (join) hussaibi__ 19:21 (join) RacketCommitBot 19:21 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://bit.ly/qnDHJo 19:21 RacketCommitBot: [racket/master] detect __sync_bool_compare_and_swap() via `configure' - Matthew Flatt 19:21 RacketCommitBot: [racket/master] fix `refresh' on `window<%>'s other than `canvas%'s - Matthew Flatt 19:21 (part) RacketCommitBot 19:23 (quit) 77CAA010P: Ping timeout: 240 seconds 19:24 (quit) hussaibi: Ping timeout: 276 seconds 19:24 ohwow_: chat 19:24 ohwow_: s 19:24 ohwow_: hello :) 19:27 (nick) emma -> em 19:30 (join) hussaibi 19:31 (quit) hussaibi_: Ping timeout: 240 seconds 19:31 (quit) hussaibi__: Ping timeout: 246 seconds 19:44 (join) hussaibi_ 19:48 (join) RacketCommitBot 19:48 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://bit.ly/rnGUBX 19:48 RacketCommitBot: [racket/master] Better randomization of poll dates -- multiply the range by a factor of 1..2. - Eli Barzilay 19:48 RacketCommitBot: [racket/master] Add an email alert whenever an ok mirror link changed to being omitted. - Eli Barzilay 19:48 (part) RacketCommitBot 19:51 eli: tauntaun: wilfred? 19:57 tauntaun: eli: What, you don't watch FX? :) 19:58 (join) jeapostrophe 19:58 eli: tauntaun: No tv... But I saw it on hulu... How is it related to racket? 19:59 tauntaun groans. 19:59 tauntaun: It's just a joke. Nobody gets my jokes! 19:59 jonrafkind: the tennis player? 20:00 (quit) jeapostrophe: Client Quit 20:09 soegaard: Okay. I'll bite. Which tennis player is a joke? 20:11 (join) dnolen 20:20 (quit) masm: Quit: Leaving. 20:22 (join) jeapostrophe 20:30 offby1 doesn't get the "Wilfred" joke, either :-| 20:35 (quit) jonrafkind: Ping timeout: 240 seconds 20:38 tauntaun feels so "in" right now. 20:55 ohwow_: hm 20:55 ohwow_: to my knowledge Wilfred is the name of the comedy tv show 20:55 ohwow_: on australian and american tv 21:39 (quit) jeapostrophe: Quit: jeapostrophe 21:43 (quit) littlebobby: Quit: Ex-Chat 22:11 (join) jeapostrophe 22:20 (quit) jeapostrophe: Quit: jeapostrophe 22:26 (join) dyoo 23:07 (quit) lucian_: Ping timeout: 264 seconds 23:30 (join) jeapostrophe 23:48 (join) dyoo_ 23:50 (part) dyoo_