00:07 (quit) jeapostrophe: Read error: Operation timed out 00:32 (join) jrslepak 00:56 (quit) jeremyheiler: Quit: Computer has gone to sleep. 01:01 (quit) Kaylin: Quit: Leaving. 01:07 (quit) dnolen: Ping timeout: 244 seconds 01:18 (quit) jonathansizz: Ping timeout: 245 seconds 01:18 (quit) getpwnam: Ping timeout: 244 seconds 01:18 (quit) hash_table: Ping timeout: 245 seconds 01:41 (join) rbarraud 02:07 (join) mceier 02:08 (join) jyc 02:27 (quit) jacius: Remote host closed the connection 02:29 (join) hkBst 03:03 (join) adu 03:19 (join) jesyspa 03:26 (quit) adu: Quit: adu 03:47 (quit) jonrafkind: Ping timeout: 255 seconds 04:07 (quit) errstr: *.net *.split 04:10 (join) _tca 04:10 (join) banseljaj 04:10 (join) samth_away 04:10 (join) errstr 04:13 (quit) _tca: *.net *.split 04:13 (quit) banseljaj: *.net *.split 04:13 (quit) samth_away: *.net *.split 04:13 (quit) errstr: *.net *.split 04:13 (quit) karswell: Remote host closed the connection 04:15 (join) _tca 04:15 (join) banseljaj 04:15 (join) samth_away 04:15 (join) errstr 04:24 (join) karswell 04:34 (join) noelw 04:35 (join) bitonic 04:37 (join) gciolli 04:38 (quit) bitonic: Remote host closed the connection 04:41 (join) bitonic 04:47 (join) soegaard 04:48 (quit) bitonic: Remote host closed the connection 04:48 (join) gciolli1 04:49 (join) bitonic 04:51 (quit) gciolli: Ping timeout: 255 seconds 04:52 (quit) bitonic: Remote host closed the connection 04:54 (quit) gciolli1: Ping timeout: 250 seconds 04:54 (quit) soegaard: Read error: Connection reset by peer 04:54 (join) soegaard_ 05:08 (join) bitonic 05:11 (quit) bitonic: Remote host closed the connection 05:14 (join) gciolli 05:19 (join) bitonic 05:31 (quit) jyc: Quit: Leaving 05:43 (quit) jrslepak: Quit: What happened to Systems A through E? 05:43 (join) jrslepak_ 05:51 (quit) bitonic: Remote host closed the connection 05:53 (nick) banseljaj -> imami|afk 06:18 (quit) gciolli: Ping timeout: 240 seconds 06:18 (quit) karswell: Remote host closed the connection 06:19 (join) gciolli 06:25 (quit) gciolli: Ping timeout: 265 seconds 06:27 (join) cdidd 06:29 (join) karswell 06:41 (quit) mceier: Read error: Connection reset by peer 06:41 (join) gciolli 06:46 (join) mceier 06:50 (join) bitonic 07:15 (join) MightyFoo 07:23 (join) antithesis 07:25 (quit) soegaard_: Quit: soegaard_ 07:28 (join) masm 07:36 (quit) gciolli: Quit: Leaving. 07:46 (quit) rbarraud: Ping timeout: 246 seconds 07:50 (join) gciolli 08:02 (quit) Shviller: Ping timeout: 246 seconds 08:03 (join) Shviller 08:05 (join) soegaard 09:39 (join) jonathansizz 09:39 (join) getpwnam 09:40 (join) hash_table 09:45 (join) adu 09:54 (join) anRch 09:57 (quit) mceier: Quit: leaving 10:04 (quit) anRch: Read error: Connection reset by peer 10:04 (join) anRch 10:06 (quit) anRch: Read error: Connection reset by peer 10:06 (join) anRch 10:21 (join) dnolen 10:29 (quit) anRch: Read error: Connection reset by peer 10:29 (join) anRch_ 10:36 (nick) samth_away -> samth 10:37 (join) Kaylin 10:46 (quit) gciolli: Ping timeout: 264 seconds 10:48 (join) gciolli 10:55 (join) mceier 10:57 (quit) anRch_: Quit: anRch_ 11:13 (nick) jrslepak_ -> jrslepak 11:13 (quit) noelw: Quit: noelw 11:16 (quit) gciolli: Quit: Leaving. 11:23 (quit) vu3rdd: Ping timeout: 245 seconds 11:37 (join) dzhus 11:42 (join) RacketCommitBot 11:42 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/UcS4ew 11:42 RacketCommitBot: [racket/master] shifted eval code, probably not needed - Matthias Felleisen 11:42 RacketCommitBot: [racket/master] added some more format examples; Closes PR 9879 - Matthias Felleisen 11:42 (part) RacketCommitBot 11:48 (quit) MightyFoo: Quit: WeeChat 0.3.8 11:56 (join) RacketCommitBot 11:56 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/ojU17A 11:56 RacketCommitBot: [racket/master] provide the color structs using (provide (struct-out ...)) - Robby Findler 11:56 (part) RacketCommitBot 11:59 (join) jacius 12:18 (quit) hkBst: Quit: Konversation terminated! 12:21 (join) MayDaniel 12:35 (join) jonrafkind 12:35 (quit) jonrafkind: Changing host 12:35 (join) jonrafkind 13:12 (join) jeapostrophe 13:12 (quit) jeapostrophe: Changing host 13:12 (join) jeapostrophe 13:20 (quit) Shvillr: Ping timeout: 250 seconds 13:21 (join) yoklov 13:23 yoklov: well, i have fallen in love with match. 13:23 yoklov: it makes my code so much cleaner. 13:24 (join) Shvillr 13:31 adu: yoklov: :) 13:34 (quit) jeapostrophe: Ping timeout: 265 seconds 13:35 yoklov: it made short work of some truly horrifying nested conditionals. 13:45 (join) anRch 13:45 asumu: Yep, match is great. Match expanders make it even better. 13:50 yoklov: haha, to be honest i've only been doing list, list*, and (? pred? pat …). match expanders allow you do define new ways of matching things? 13:51 asumu: Yep 13:51 asumu: e.g., I wrote one for objects 13:51 yoklov: oh 13:51 yoklov: that definitely sounds useful 14:00 (quit) anRch: Quit: anRch 14:03 (join) __rahul__ 14:03 stamourv: yoklov: Another cool match feature: 14:03 stamourv: rudybot: (match '(1 2 3) [`(,a ,b ,c) (+ a b c)]) 14:03 rudybot: stamourv: your sandbox is ready 14:03 rudybot: stamourv: ; Value: 6 14:03 stamourv: I prefer quasiquote and unquote to `list' patterns. 14:04 yoklov: i think that it can be hard to read 14:04 stamourv: rudybot: (match '(1 2 3) [`(a ,b ,c) (+ a b c)] [_ (error "head not 'a")]) 14:04 rudybot: stamourv: error: head not 'a 14:04 yoklov: and when i'm unquoting all of them 14:04 yoklov: i feel like i might as well just use list 14:05 yoklov: (or list*) 14:05 asumu: Yeah, it can be a bit line-noisy, but I like the symmetry when the pattern and the result are both lists. 14:05 yoklov: hm. 14:05 yoklov: that is the case for me. 14:05 asumu: rudybot: (match '(1 2 3) [`(1 ,b ,c) `(2 ,b ,c)]) 14:05 rudybot: asumu: your sandbox is ready 14:05 rudybot: asumu: ; Value: (2 2 3) 14:05 stamourv: But hey, `match' lets us have both. :D 14:06 stamourv: Extensible pattern matching is awesome. 14:06 yoklov: definitely :) 14:06 stamourv: Haskell/ML pattern matching feels crippled in comparison. 14:06 stamourv: s/feels/is/ :P 14:07 asumu: Though one thing that I find awkward is matching multiple things. 14:08 asumu: e.g. in Haskell you can do f x:xs y:ys = ... 14:08 stamourv: rudybot: doc match* 14:08 rudybot: stamourv: http://docs.racket-lang.org/reference/match.html#(form._((lib._racket%2Fmatch..rkt)._match*)) 14:08 stamourv: asumu: ^ 14:08 (join) anRch 14:10 asumu: Oh. I have wanted that for a while and there it was. 14:10 asumu: Just under my nose (or whatever the idiom is) 14:20 (quit) bitonic: Remote host closed the connection 14:39 (quit) anRch: Read error: Connection reset by peer 14:39 (join) anRch 14:51 (quit) Kaylin: Read error: Connection reset by peer 15:02 (join) sstrickl 15:09 (quit) anRch: Quit: anRch 15:12 (quit) stamourv: Read error: Connection reset by peer 15:15 (join) stamourv 15:15 (quit) stamourv: Changing host 15:15 (join) stamourv 15:19 (quit) karswell: Remote host closed the connection 15:24 (quit) adu: Quit: adu 15:29 (join) karswell 15:33 (join) gciolli 15:42 (quit) gciolli: Ping timeout: 240 seconds 15:50 (quit) karswell: Ping timeout: 265 seconds 15:52 (quit) yoklov: Quit: computer sleeping 15:58 (quit) __rahul__: Ping timeout: 244 seconds 16:01 (join) jyc 16:06 (join) yoklov 16:20 (quit) yoklov: Quit: bye! 16:25 (join) karswell 16:29 (quit) MayDaniel: Read error: Connection reset by peer 16:36 (quit) antithesis: Quit: antithesis 16:37 (join) Kaylin 16:38 (join) noam_ 16:39 (quit) noam: Quit: Leaving 16:39 (nick) noam_ -> noam 16:46 (quit) dnolen: Ping timeout: 240 seconds 16:48 (join) bitonic 17:04 (quit) bitonic: Remote host closed the connection 17:09 (join) __rahul__ 17:10 (join) bitonic 17:29 (quit) mceier: Quit: leaving 17:38 (quit) __rahul__: Ping timeout: 265 seconds 17:46 (quit) masm: Quit: Leaving. 17:46 (quit) Myk267: Quit: Myk267 18:07 (join) __rahul__ 18:40 (join) RacketCommitBot 18:40 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/Hs83xQ 18:40 RacketCommitBot: [racket/master] document the fact that resolve-planet-path is exported from - Robby Findler 18:40 (part) RacketCommitBot 18:41 (quit) bitonic: Remote host closed the connection 18:41 (join) bitonic 18:43 (quit) __rahul__: Quit: Leaving 18:44 (quit) bitonic: Remote host closed the connection 18:52 (quit) Kaylin: Read error: Connection reset by peer 18:56 (quit) jacius: Quit: Leaving 19:03 (quit) soegaard: Quit: soegaard 19:18 (quit) dzhus: Read error: Operation timed out 19:27 (join) jeapostrophe 19:27 (quit) jeapostrophe: Changing host 19:27 (join) jeapostrophe 19:28 (join) rbarraud 19:44 (join) RacketCommitBot 19:44 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/3jMsng 19:44 RacketCommitBot: [racket/master] fixed promise/c so it creates chaperone contracts when its - Robby Findler 19:44 (part) RacketCommitBot 19:56 (join) yoklov 19:58 yoklov: so, I'm working on a toy lisp, and I'm wondering if I can implement let* as (let* ((var val) …) . body) => (lambda () (define var val) … . body) 19:58 yoklov: or rather ((lambda () …)) 20:01 jonrafkind: if the define's are mutually inclusive then i guess its ok 20:02 jonrafkind: oh wait nevermind, thats letrec 20:02 yoklov: oh, so it's not okay? 20:02 jonrafkind: it should work the way you do it 20:03 jonrafkind: i haven't used let/let*/letrec in so long.. 20:03 yoklov: cool, it seemed silly to create a new env. frame each time 20:03 jonrafkind: bygones of a past era! 20:03 yoklov: err, you haven't/ 20:03 yoklov: *? 20:03 jonrafkind: no i just use define 20:04 jonrafkind: occasionally I use `let' to create a definition context, but thats about it. i do (let () (define x ...) (define y ...) ...) 20:04 (join) bitonic 20:04 yoklov: i guess that keeps the nesting down 20:05 yoklov: i guess because it seems less idiomatic 20:06 jonrafkind: whats less idiomatic, using define instead of let? 20:06 yoklov: yeah, at least if you're doing it most of the time 20:07 jonrafkind: well thats why I claim let is a bygone of a past era. the new idiomatic way is define 20:07 yoklov: though, if it means you don't have to sometimes use letrec 20:07 yoklov: err, is it? 20:07 jonrafkind: i mean let is just a cute way to get "normal" programming if all you have is lambda 20:08 jonrafkind: but if you aren't shackled to lambda as your only form that can bind variables then you can use different forms 20:09 yoklov: hasn't scheme always had lexically scoped define though? 20:10 yoklov: so its not like they were ever really that shackled by lambda 20:11 (quit) bitonic: Remote host closed the connection 20:12 (join) bitonic 20:15 jonrafkind: well thats true, i suppose the difference is being able to mix define's with expressions 20:15 jonrafkind: although i dont remember the exact semantics of define in r5rs 20:20 yoklov: racket still complains if i use a define in an expression context though 20:20 yoklov: at least, it sometimes does. 20:20 yoklov: (begin (define x 5) x) seems to work, but i know it's complained about this recently to me. 20:27 jonrafkind: i mean you can do (let () (+ 1 2) (define x 5) (+ x 12)) 20:27 jonrafkind: begin doesnt create a definition context 20:27 yoklov: yeah 20:29 yoklov: but there are some places you can't have defines, right? or does http://docs.racket-lang.org/reference/__expression.html never actually go anywhere 20:42 (quit) bitonic: Remote host closed the connection 20:53 (join) Kaylin 20:58 (join) bitonic 21:02 (quit) jeapostrophe: Ping timeout: 248 seconds 21:09 (quit) jsnikeris: Remote host closed the connection 21:12 (quit) bitonic: Remote host closed the connection 21:13 (join) lewis1711 21:16 (join) carleastlund 21:16 (quit) carleastlund: Client Quit 21:55 (quit) jesyspa: Quit: leaving 21:57 (quit) Nisstyre: Ping timeout: 246 seconds 22:10 (join) jeapostrophe 22:11 (join) Nisstyre 22:27 (join) Myk267 23:00 (join) vu3rdd 23:00 (quit) vu3rdd: Changing host 23:00 (join) vu3rdd 23:10 (quit) jeapostrophe: Ping timeout: 246 seconds 23:15 (join) jrslepak