00:00 (join) mithos28_ 00:02 (quit) mithos28: Quit: Computer has gone to sleep. 00:02 (quit) mithos28_: Client Quit 00:02 (quit) ambrosebs: Quit: ambrosebs 00:02 (join) ambrosebs 00:03 (quit) jackhammer2022: Ping timeout: 244 seconds 00:05 (join) jhemann 00:37 (join) mithos28 00:37 (quit) mithos28: Client Quit 00:37 (quit) ambrosebs: Ping timeout: 246 seconds 00:47 (join) ambrosebs 01:05 (quit) jyc: Read error: Connection reset by peer 01:11 (quit) bro_grammer: Ping timeout: 246 seconds 01:11 (quit) getpwnam: Ping timeout: 256 seconds 01:43 (quit) bjz: Quit: Leaving... 01:52 (quit) jao: Ping timeout: 276 seconds 01:58 (join) bjz 02:00 (quit) bjz: Client Quit 02:00 (join) bjz 02:04 (join) Guest5975 02:06 (join) jyc 02:11 (join) jeapostrophe 02:11 jyc: is there any way to limit raco setup to the current directory only? 02:12 (part) RylandAlmanza 02:29 (quit) jeapostrophe: Ping timeout: 240 seconds 02:30 (quit) Guest5975: Quit: ChatZilla 0.9.88.2 [Firefox 13.0.1/20120615233552] 02:38 (join) mithos28 02:39 (quit) bjz: Quit: Leaving... 02:57 (join) bjz 03:15 (quit) jonrafkind: Ping timeout: 245 seconds 03:19 jyc: alright, sorted that problem out, but now I have another question - raco setup builds the html documentation, but how can I use the search feature? is there some built-in server for that? 03:19 mithos28: It should just work 03:19 mithos28: Does it not? 03:20 jyc: hm, maybe it has to do with being on windows 03:20 jyc: seems like the doc/search/index.html file isn't created 03:20 mithos28: I think the search is done entirely in JS 03:38 jyc: hm, so is there a reason my project would build a doc folder with `raco setup -l scrbl-test` but not a search directory? 03:39 mithos28: I always use 'raco setup -j 10', and everything gets built 03:39 mithos28: but I am working in the core system 03:40 mithos28: You might need to add it as a collection somehow, or as a planet development link 03:40 (quit) bjz: Ping timeout: 265 seconds 03:42 jyc: hm, I will try again in linux - thanks for the help 03:50 (quit) mithos28: Quit: mithos28 03:54 (quit) Kaylin: Quit: Leaving. 04:16 (join) soegaard 04:31 (quit) close-paren: Ping timeout: 244 seconds 04:34 (join) close-paren 04:58 (quit) jhemann: Ping timeout: 272 seconds 05:27 (quit) jyc: Read error: Connection reset by peer 05:38 (join) Jeanne-Kamikaze 05:56 (join) MayDaniel 06:24 (join) masm 06:34 (join) jesyspa 07:03 (quit) ambrosebs: Ping timeout: 245 seconds 07:43 (quit) soegaard: Quit: soegaard 07:50 (join) DT``` 08:06 (nick) DT``` -> DT`` 08:27 (join) bjz 08:49 (join) soegaard 08:52 (join) jhemann 08:53 (join) pierre__ 08:55 (quit) nowhere_man: Ping timeout: 245 seconds 08:59 (join) jeapostrophe 08:59 (quit) jeapostrophe: Changing host 08:59 (join) jeapostrophe 09:05 (join) jao 09:06 (quit) jao: Changing host 09:06 (join) jao 09:27 (join) DT``` 09:28 (quit) MayDaniel: Read error: Connection reset by peer 09:30 (join) DT`` 09:30 (quit) s_p_a_c_e_d_o_u_: *.net *.split 09:31 (join) s_p_a_c_e_d_o_u_ 09:34 (quit) DT```: Ping timeout: 276 seconds 09:53 (quit) Jeanne-Kamikaze: Quit: Leaving 09:58 (join) Jeanne-Kamikaze 09:58 (quit) jeapostrophe: Ping timeout: 260 seconds 10:05 (join) jeapostrophe 10:05 (quit) jeapostrophe: Changing host 10:05 (join) jeapostrophe 10:19 (quit) pierre__: Ping timeout: 252 seconds 10:20 (join) pierre__ 10:27 (quit) kampr: Remote host closed the connection 10:28 (join) kampr 10:42 (quit) pierre__: Ping timeout: 240 seconds 10:45 (quit) soegaard: Quit: soegaard 10:45 (join) ambrosebs 10:48 (join) getpwnam 10:48 (join) hash_table 10:56 (quit) bjz: Quit: Leaving... 11:05 (quit) masm: Quit: Leaving. 11:14 (quit) jeapostrophe: Ping timeout: 240 seconds 11:20 (join) soegaard 11:26 (quit) close-paren: Ping timeout: 272 seconds 11:30 (join) close-paren 11:38 (join) bitonic 11:40 (join) anRch 11:43 (quit) close-paren: Read error: Connection reset by peer 11:43 (join) close-paren 12:03 (join) mithos28 12:04 (quit) Jeanne-Kamikaze: Quit: Did you hear that ? 12:05 (quit) close-paren: Ping timeout: 276 seconds 12:28 (join) close-paren 12:35 (quit) anRch: Quit: anRch 12:50 (quit) soegaard: Quit: soegaard 12:55 (quit) vu3rdd: Remote host closed the connection 13:02 (join) jonrafkind 13:11 (quit) ambrosebs: Ping timeout: 248 seconds 13:21 (quit) close-paren: Ping timeout: 245 seconds 13:26 (join) soegaard 13:35 (join) jackhammer2022 13:37 (join) close-paren 13:53 (join) Kaylin 14:02 (join) MayDaniel 14:04 (quit) close-paren: Read error: Connection reset by peer 14:05 (join) close-paren 14:07 (quit) bitonic: Ping timeout: 244 seconds 14:09 (join) neilv 14:12 (join) masm 14:29 (quit) cdidd: Read error: Connection reset by peer 14:31 (join) vkz 14:35 vkz: Hi. If I put the following in definitions area of DrRacket: #!r5rs 14:35 vkz: (* 5 6) and run the program no result appears in the interactions area. Is that a bug or a feature? If I choose R5RS from the language menu REPL works as expected. Can anyone comment pls? 14:40 neilv: i don't know. i could make a plausible argument for why it should be that way, but it might be an accident 14:41 neilv: you are sure you need to use r5rs and not the racket language, correct? 14:42 vkz: Also there's no way I can turn drracket into R6RS repl, is there? 14:42 mithos28: I bet it is because the r5rs language is not adding the print-values call around every module-level expression 14:43 mithos28: vkz: I don't think there is such thing as an r6rs repl 14:43 neilv: mithos28: yes, but the question is whether that's intended 14:44 neilv: vkz: if you have a good reason to use r5rs, like you are using drracket to develop for some funky embedded scheme or something, then use r5rs. but if you want to be using the "standard", i suggest just using racket 14:45 neilv: oops, gotta go 14:45 (quit) neilv: Quit: Leaving 14:45 mithos28: neilv: I doubt it, as most module languages keep that behaviour 14:49 close-paren: meh, i always use #!r5rs when i use racket, but that's just because I'm adicted to set-car! 14:49 close-paren: (kidding) 14:50 mithos28: close-paren: set-car! isn't nearly as bad as set-cdr! 14:50 (quit) vkz: Quit: vkz 14:50 mithos28: 'oh, you thought this was a list? Not anymore.' 14:51 (join) vkz 14:58 (quit) close-paren: Ping timeout: 245 seconds 14:59 (part) vkz 15:01 (join) vkz 15:02 soegaard: vkz: Should that be #lang r5rs instead of #!r5rs ? 15:03 soegaard: See http://docs.racket-lang.org/guide/standards.html?q=r5rs#(part._r5rs) 15:03 mithos28: soegaard: I know that works for r6rs 15:03 soegaard: r5rs is different 15:04 mithos28: its an alias 15:04 mithos28: for #lang if it is followed by ascii letter/number,+,- or _ 15:05 mithos28: http://docs.racket-lang.org/reference/reader.html?q=%23%21&q=r5rs#(part._parse-reader) 15:05 mithos28: end of that block 15:05 vkz: my IRC client works in mysterious ways. Sorry about that. I see your replies in logs but not in my client … 15:06 soegaard: hmm 15:07 vkz: have no need for r5rs specifically. Was actually looking for a scheme repl that'd support r6rs so I can work through Dybvig's texbook 15:07 soegaard: I can't remember but perhaps r5rs doesn't specify values to be displayed? 15:07 soegaard: Try (display (* 5 6)) instead. 15:08 mithos28: how does an r6rs repl work? Don't all forms have to be in a library form? 15:08 soegaard: Don't know. 15:11 mithos28: vkz: are you sure that Dybvig's book works with r6rs? 15:15 soegaard: mithos28: Yep : http://www.scheme.com/tspl4/libraries.html#./libraries:h0 15:15 (part) vkz 15:18 mithos28: soegaard: But that book doesn't talk about a repl or a read-eval-print-loop at all. At least not in the index 15:19 mithos28: so I'm not sure why vkz, needs a repl to use that version 15:19 (join) vkz 15:20 soegaard: You do have a point. 15:20 mithos28: except that the index is awful, and it does talk about repls 15:21 vkz: I need it to easily work through examples 15:21 vkz: just as I used one working through HTdP 15:21 mithos28: vkz: I may be wrong, but I don't think there is such a thing as an r6rs repl 15:22 mithos28: Everything is a library or a toplevel program 15:22 soegaard: At least not specified :-) 15:22 mithos28: and even a top level program needs to know all the forms before hand, so that macros work correctly 15:23 soegaard: Most examples in the book will work fine with #lang racket . 15:24 soegaard: Except the module related ones. 15:24 mithos28: except mutable lists 15:24 mithos28: and then use (require racket/mlist) 15:24 soegaard: Yes. 15:24 mithos28: sorry racket/mpair 15:26 mithos28: http://www.r6rs.org/final/r6rs-rationale.pdf, section 8 15:27 mithos28: no repl for r6rs, you might find implementations that make something close to what you would expect though 15:29 vkz: I see. Will just work with #lang racket. Thx! 15:35 (join) Shviller 15:36 (quit) vkz: Quit: vkz 15:47 soegaard: Hmm. http://lmf-ramblings.blogspot.sg/2011/07/why-not-use-scheme-more.html 15:49 (join) close-paren 15:49 (join) Jeanne-Kamikaze 15:49 close-paren: mithos28: very true 15:50 close-paren: but who says the cdr was a list in the first place? 15:51 mithos28: close-paren: Because you checked it 15:51 mithos28: try to implement map with mlists, and have the function you call on each element mutate the mlist 15:51 close-paren: what i really want is (become! o o2) 15:52 mithos28: how is that different than set! 15:53 mithos28: actually I have to leave, sorry to cut the discussion short 15:57 close-paren: oh, ok 15:57 close-paren: become! would be smalltalk's become method 15:57 close-paren: it swaps object identity 15:59 close-paren: (let* ((a (list 1)) (b a)) (become! a (list 2)) b) would eval to (2) 16:01 close-paren: I'm kidding of course. This operator gives me small nightmares. :-) 16:21 (quit) close-paren: Ping timeout: 276 seconds 16:21 (join) jeapostrophe 16:21 (quit) jeapostrophe: Changing host 16:21 (join) jeapostrophe 16:28 (join) nowhere_man 16:44 (quit) soegaard: Quit: soegaard 16:54 (quit) mithos28: Quit: mithos28 16:57 (quit) mceier: Quit: leaving 17:03 (quit) jrslepak: Quit: What happened to Systems A through E? 17:15 (join) mithos28 17:17 (join) close-paren 17:24 (quit) jeapostrophe: Ping timeout: 240 seconds 17:57 (quit) hash_table: Quit: No Ping reply in 180 seconds. 17:57 (join) hash_table 18:02 (quit) hash_table: Client Quit 18:02 (join) hash_table 18:07 (quit) close-paren: Ping timeout: 245 seconds 18:09 (join) close-paren 18:15 asumu: close-paren: oh, it extends to aliases? Yeah, that's terrifying. I think also incompatible with the semantics of let*. 18:23 (quit) MayDaniel: Read error: Connection reset by peer 18:23 (join) anRch 18:29 (join) pierre__ 18:30 (quit) mithos28: Quit: mithos28 18:32 (quit) nowhere_man: Ping timeout: 245 seconds 18:34 (join) jrslepak 18:35 (join) yoklov 18:41 (join) bjz 18:51 close-paren: asumu: how incompatible? 18:53 (quit) anRch: Quit: anRch 18:56 (quit) Jeanne-Kamikaze: Quit: Did you hear that ? 19:18 (join) cdidd 19:26 (quit) dnolen: Ping timeout: 245 seconds 19:35 (join) jhemann_ 19:39 (quit) jhemann: Ping timeout: 260 seconds 19:47 asumu: close-paren: let* is just a macro over lambda, and the parameters of a lambda expression copy on reference, not alias like boxes. 19:48 asumu: So this become! thing would only work if variables in Racket worked like boxes. 19:49 asumu: rudybot: (let* ([a (box 3)] [b a]) (set-box! a 5) b) 19:49 rudybot: asumu: ; Value: #&5 19:49 (join) RacketCommitBot 19:49 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/t9nboQ 19:49 RacketCommitBot: [racket/master] improve the menu redundancy test so it reports when there are - Robby Findler 19:49 RacketCommitBot: [racket/master] change the new 'find from selection' menu item so that it uses - Robby Findler 19:49 (part) RacketCommitBot 19:50 close-paren: asumu: become! works on references 19:51 close-paren: given two references, it exchanges all occurances of those references in all contexts, including those that can't be named 19:51 close-paren: yes, that's really what the Smalltalk method become: is. 19:54 asumu: Yes, but 'b' here is a different reference from 'a' so it doesn't really make sense for the modification to 'a' to affect 'b' in Racket. 19:54 asumu: They don't actually alias. 'b' just contains the value that was stored in 'a' when the let* is evaluated. 19:55 asumu: So adding become! is quite a fundamental change. That's all I meant. 20:04 close-paren: agreed 20:05 close-paren: I'm pretty sure, in the presence of continuations, that it changes literally *everything*. e.g. (become! #t #f) would be a bad idea. 20:06 close-paren: but c, 20:07 close-paren: but you must grant that if you have become! , you can leave out set-car! etc 20:08 close-paren: (define (set-car! pair newcar) (become! pair (cons newcar (cdr pair)))) 20:28 (quit) jesyspa: Quit: leaving 20:31 (join) lewis1711 20:32 lewis1711: is there a way to import procedures from a module in a qualified way? like say I had some list module with "map" and didn't want it to clash wtih map from a vector module. or should I just prefix procedures with their module names? 20:35 (quit) jackhammer2022: Quit: Textual IRC Client: http://www.textualapp.com/ 20:36 (join) jackhammer2022 20:37 offby1: lewis1711: you can prefix them any way you like. 20:38 (quit) DrDuck1: Read error: Connection reset by peer 20:38 offby1: (require (prefix-in db: db)) e.g. 20:38 offby1: or just as valid: 20:38 offby1: (require (prefix-in fred-loves-cinfy: db)) e.g. 20:38 offby1: er, s/cinfy/cindy/, of course. 20:38 (join) DrDuck 20:41 lewis1711: offby1: so that prefixes everything in db with db? 20:41 offby1: yep 20:41 offby1: Try It And See™. 20:41 offby1: it's meant to solve (what I am pretty sure is) your problem. 20:49 (join) sstrickl 20:50 (quit) sstrickl: Client Quit 21:02 (quit) lewis1711: Ping timeout: 245 seconds 21:11 (quit) Kaylin: Read error: Connection reset by peer 21:51 (quit) yoklov: Quit: computer sleeping 22:02 (quit) karswell: Remote host closed the connection 22:06 (quit) masm: Quit: Leaving. 22:07 (join) karswell 22:13 (join) close-paren` 22:21 (join) ambrosebs 22:36 (quit) scott_: Quit: Leaving 22:37 (quit) bjz: Quit: Leaving... 22:40 (join) bjz 22:50 (join) Kaylin 22:59 (join) yoklov 23:08 (quit) Kaylin: Quit: Leaving. 23:08 (quit) jhemann_: Ping timeout: 244 seconds 23:19 (quit) ambrosebs: Quit: ambrosebs 23:19 (join) ambrosebs 23:20 (quit) getpwnam: Ping timeout: 245 seconds 23:20 (quit) hash_table: Ping timeout: 252 seconds 23:22 (quit) bjz: Quit: Leaving... 23:22 (quit) close-paren`: Read error: Connection reset by peer 23:25 kampr: Just curious.. how could I rewrite the following using a for loop? (foldl + 0 (map (lambda (x) (* x x)) '(1 2 3 4 5 6 7 8 9 10 11 12))) 23:25 jonrafkind: (for/fold ([sum 0]) ([number '(1 2 3 ...)]) (+ sum number)) 23:25 jonrafkind: oh wait *x x 23:26 jonrafkind: (for/fold ([sum 0]) ([number '(1 2 3 ...)]) (+ sum (* number number)))