05:25 (topic) -: Racket -- http://racket-lang.org/ (logs at http://racket-lang.org/irc-logs/ ) 05:25 (names) -: gabot eli ukl RaceCondition mceier friscosam martinhex qha DT`` zugthor evhan em rien mario-goulart bremner_ _p4bl0 askhader stamourv cpach tewk zakwilson petey-away shachaf mattmight offby1 rudybot cow-orker abbe lisppaste clklein jeapostrophe cky danking hyko jackhill_ fmu @ChanServ samth 05:58 (join) lucian 06:36 bremner_: ukl: most of the work is actually done in the install step, so that part is not unexpected. I seem to recall there is some way to build without the docs, that might help. Unfortunately I don't remember the specifics 06:37 ukl: bremner_: well, actually, {,g,dr}racket all work, I'm just a little concerned knowing I didn't build everything correctly. 06:38 ukl: I'll probably just run 'make install' again when I have lots of time... 06:39 bremner_: ukl: most of the libraries are in collects, and they can be extremely slow if not compiled 06:39 bremner_: which happens in the install step 06:39 ukl: bremner_: oh, ok. so I'm probably missing some things 06:40 bremner_: well, hard to say, but yeah, I guess it depends how the install was interrupted 06:40 ukl: (well, not missing, but it'd be better compiled.) 06:41 ukl: ok, thanks. 06:55 (quit) ukl: Quit: Lost terminal 07:48 (quit) lucian: Ping timeout: 250 seconds 07:53 (join) lucian 07:54 (join) masm 08:05 (join) mheld 08:31 (join) dnolen 08:53 (quit) masm: Quit: Leaving. 08:55 (join) tildedave 08:59 (quit) tildedave: Quit: Leaving 09:00 (join) tildedave 09:14 (quit) mceier: Quit: leaving 09:34 (quit) mheld: Quit: mheld 09:57 (quit) zugthor: Remote host closed the connection 09:57 (join) tauntaun 10:02 (quit) dnolen: Quit: dnolen 10:14 (join) seus 10:14 (quit) seus: Client Quit 10:32 (join) mheld 10:36 samth: bremner_, to build without docs: make plain-install && raco setup -D 10:37 samth: RaceCondition, yes, the difference between mcons and cons is deliberate 10:38 RaceCondition: samth: yes, I know that, but mcons is an identical structure from the point of view of accessing it — why make it not accessible using car and cdr? 10:38 RaceCondition: to avoid exposing it to parts of the program that expect immutable data structures? 10:38 samth: RaceCondition, there's a long discussion of this here: http://blog.racket-lang.org/2007/11/getting-rid-of-set-car-and-set-cdr.html 10:38 rudybot: http://tinyurl.com/2bws4fr 10:38 RaceCondition: I have read it 10:39 samth: so, that's why not 10:39 RaceCondition: okay, well, no probs.. I just use unsafe-set-mcar! and unsafe-set-mcdr! now 10:39 samth: you really shouldn't do that 10:40 samth: it will produce the segfaults that blog post describes 10:40 RaceCondition: what am I supposed to do if I have a bunch of functions that I need to work on both conses and mconses? 10:40 RaceCondition: segfaults are produced only if I do things that the blog post talks about 10:40 RaceCondition: i.e. modifying a list while iterating over it at the same time 10:40 RaceCondition: and accidentally modifying a shared data structure 10:41 samth: why do you need to work w/ both conses and mconses? 10:41 RaceCondition: because I normally use conses as much as possible, but I'm playing with the examples in SICP and need to define stuff like mutable deques etc 10:42 RaceCondition: and in general, it annoys me that I have a perfectly valid cons structure, and I can use my existing cycle detector on it 10:42 samth: if you're writing a mutable dequeue, then you should have only mconses 10:44 RaceCondition: nah, that'll screw up the way the data structure is printed, in addition to forcing me think whether I have to use mcar or car 10:45 samth: "forcing me think whether I have to use mcar or car" -- that is the whole point 10:45 samth: using a mutable data structure is something you should think about 10:45 (join) tomppa 10:52 RaceCondition: samth: not when doing SICP examples 10:53 RaceCondition: otherwise, agreed 10:53 samth: if SICP encourages you to think of all pairs as mutable, then use mcons everywhere 10:55 RaceCondition: SICP actually teaches using Scheme not Racket, so it's a bit irrelevant anyway 10:55 RaceCondition: I know that the principles are universal, but still 10:55 DT``: SICP actually is not about Scheme. 10:55 RaceCondition: of course it's not, but it's not about Racket either 10:56 RaceCondition: I said "using Scheme" btw 10:56 RaceCondition: i.e. "teaches what it teaches with the help of Scheme" 11:20 (quit) mheld: Quit: mheld 11:23 (join) ckrailo 11:23 (join) MayDaniel 11:41 (join) anRch 11:44 (quit) MayDaniel: 12:02 (quit) tomppa: Quit: Ex-Chat 12:06 (quit) RaceCondition: Quit: RaceCondition 12:11 (quit) anRch: Quit: anRch 12:12 (join) PLT_Notify 12:12 PLT_Notify: racket: master Vincent St-Amour * 0641d7b (1 files in 1 dirs): Handle more accented characters in Scribble. - http://bit.ly/g8218w 12:12 (part) PLT_Notify 12:18 (join) anRch 12:44 (quit) anRch: Quit: anRch 12:46 tauntaun: Any heavy users of rackunit here? 13:22 (join) RaceCondition 13:24 (join) mceier 13:33 (join) tomppa 13:49 (join) jonrafkind 14:13 (join) anRch 14:16 samth: tauntaun, yes 14:18 tauntaun: samth: Is there a way to make an entire test-case evaluate to something, and then pass that value to a subsequent test-case or test-suite? 14:18 (quit) tomppa: Ping timeout: 246 seconds 14:18 samth: wrap it in `test-suite' 14:18 samth: i think 14:18 tauntaun: I did that, but no luck. 14:18 (join) tomppa 14:18 tauntaun: Do you see why it would be a nice feature? 14:18 samth: yes 14:19 tauntaun: (I'm having to do a lot of redefinition of test objects, just to take the tests to the next level.) 14:19 samth: tauntaun, take a look at : https://github.com/plt/racket/blob/master/collects/tests/typed-scheme/main.rkt 14:19 rudybot: http://tinyurl.com/4mekv5c 14:21 samth: that encapsulates most of what i know about schemeunit 14:22 tauntaun: thanks 14:52 (quit) tauntaun: Quit: Ex-Chat 15:04 (quit) anRch: Quit: anRch 16:07 (join) PLT_Notify 16:07 PLT_Notify: racket: master Vincent St-Amour * 60cc8c4 (1 files in 1 dirs): Fix type of sqr. - http://bit.ly/hwiK0u 16:07 (part) PLT_Notify 16:31 (quit) ckrailo: Quit: Computer has gone to sleep. 16:33 (nick) samth -> samth_away 16:34 jonrafkind: would anyone refuse to use scheme/racket if it did not enforce tail call elimination? 16:34 (join) tauntaun 16:36 (join) acon 16:44 (quit) tauntaun: Quit: Ex-Chat 16:51 DT``: jonrafkind, I would. 16:51 jonrafkind: can you explain why you need it? 16:53 DT``: mutual tail recursion is handy when defining finite state machines, it's fundamental when writing code in functional style, and imho writing loops via TR is cleaner than writing the usual for/while loop. 16:54 DT``: in a language that claims to encourage a functional style, it's a must. 16:55 jonrafkind: but that assumes you would run out of stack space without it 16:55 jonrafkind: which I'm wondering how true that is for most programs 16:56 jonrafkind: whats the loop in TR? (let loop ...) ? 16:56 DT``: yeah. 16:56 jonrafkind: oh you like that style? I sort of hate it.. 16:57 DT``: for short loops/looping for side effects I use do, though. 17:01 (join) ckrailo 17:07 (quit) acon: Quit: acon 17:08 (join) saint_cypher 17:09 (join) acon 17:12 (join) tauntaun 17:21 (quit) tomppa: Quit: Ex-Chat 17:25 (join) lucian_ 17:26 (quit) lucian: Ping timeout: 264 seconds 17:26 (quit) jonrafkind: Ping timeout: 264 seconds 17:31 (nick) lucian_ -> lucian 17:32 (quit) acon: Quit: acon 17:36 (quit) ckrailo: Remote host closed the connection 17:36 (join) Fare 17:51 (quit) lucian: Ping timeout: 252 seconds 17:57 (join) lucian 17:57 (quit) lucian: Remote host closed the connection 18:02 (join) shadgregory 18:05 (quit) saint_cypher: Ping timeout: 255 seconds 18:15 (quit) martinhex: Read error: Connection reset by peer 18:22 (join) saint_cypher 18:30 (part) shadgregory 18:35 (join) martinhex 18:36 (join) ckrailo 18:41 (quit) Fare: Quit: Leaving 19:06 (quit) tauntaun: Quit: Ex-Chat 19:17 (quit) saint_cypher: Ping timeout: 248 seconds 19:47 (quit) ckrailo: Quit: Computer has gone to sleep. 20:26 (quit) mceier: Quit: leaving 20:41 (quit) RaceCondition: Quit: RaceCondition 20:44 (join) ckrailo 22:01 (join) mheld 22:27 (join) isak_ 22:30 isak_: hey, anyone know how to access html attributes of an html-element (using the html library)? 22:45 offby1: I assume html-element-attributes 22:46 offby1: the procedure for accessing struct elements have predictable names 22:48 isak_: ah, you're right, thanks 22:58 (join) shofetim 23:00 (join) jonrafkind 23:20 (quit) ckrailo: Remote host closed the connection 23:29 (join) rrenaud 23:29 rrenaud: i am trying to go through the quick intro to racket, i built it from source, but it doesn't seem to want to find the slideshow package 23:29 rrenaud: #lang slideshow 23:29 rrenaud: click run 23:29 rrenaud: module: name is not defined, not a parameter, and not a primitive name 23:30 jonrafkind: what language setting is it on? 23:30 jonrafkind: "use module declared in source" ? 23:30 rrenaud: thanks, that fixed it ;) 23:56 (join) ckrailo