01:04 (quit) realitygrill: Quit: realitygrill 01:49 (quit) mithos28: Quit: mithos28 01:52 (quit) littlebobby: Quit: Ex-Chat 01:54 (quit) ohwow-: Read error: Operation timed out 02:17 (quit) dnolen_: Quit: dnolen_ 02:19 (quit) jonrafkind: Ping timeout: 260 seconds 03:01 (quit) rekahsoft: Read error: Operation timed out 03:02 (join) rekahsoft 03:06 eli: gf3: The thing is that it has a different reader, so you can't really use it with s-expressions. 03:06 eli: You might be able to get what you want by (make-module-evaluator "#lang scribble/text\nyour code in a string") 03:07 eli: But just requiring scribble/text is not working because the module itself is intended to be used as a library. 03:08 eli: (Having `#lang scribble/text' not use `scribble/text' as a base module directly is a little weird, but there are a few such things around.) 06:27 (quit) DT``: Read error: Connection reset by peer 06:28 (join) DT`` 07:09 (join) bluezenix 07:55 (join) jeapostrophe 08:01 (quit) bluezenix: Quit: Leaving. 08:22 (join) blippy 08:22 blippy: I need a quick help 08:23 blippy: (require srfi/48) 08:23 blippy: module: identifier already imported from a different source 08:23 blippy: "format" clashes 08:24 (join) bluezenix 08:24 blippy: Using v 5.1.1 08:25 blippy: What is the workaround? 08:30 DT``: blippy, (rename-in srfi/48 (format some-other-name)) 08:31 DT``: or (except-out racket/base format) 08:31 blippy: OK. Thanx :) 08:49 (quit) jeapostrophe: Quit: jeapostrophe 08:51 (nick) elliottcable -> ec|fkn_away_nick 08:51 (nick) ec|fkn_away_nick -> elliottcable 09:01 blippy: Racket is quite a lot of fun, actually. 09:03 blippy: Liking the way I can create distributable executables. 09:33 (join) mithos28 09:37 (join) jonrafkind 09:42 (join) lucian 09:55 gf3: eli: okay, thanks, I'll give it a shot 09:59 (quit) blippy: Quit: Make it idiot proof and someone will make a better idiot. 10:04 dsp_: hi folks 10:04 dsp_: how does one disable JIT in DrRacket? 10:05 (join) tzhuang 10:06 dsp_: ah, found it. (eval-jit-enabled #f) 10:07 (join) masm 10:10 jonrafkind: or pass -j 10:12 (join) anRch 10:14 (join) racket 10:14 racket: [racket] plt pushed 2 new commits to master: http://bit.ly/naWnCs 10:14 racket: [racket/master] fix `enter!' to set module source name - Matthew Flatt 10:14 racket: [racket/master] fix `get-module-path' and associated exception - Matthew Flatt 10:14 (part) racket 10:19 (join) Daemmeru` 10:22 (quit) tzhuang: Ping timeout: 252 seconds 10:22 (quit) Daemmerung: Ping timeout: 258 seconds 10:24 (join) tzhuang 10:52 (join) jeapostrophe 10:52 (quit) jeapostrophe: Client Quit 11:00 (join) Twey 11:02 (quit) anRch: Quit: anRch 11:28 (quit) mithos28: Quit: mithos28 11:38 (join) mithos28 11:40 (quit) mithos28: Client Quit 12:13 (join) mithos28 12:29 (nick) Daemmeru` -> Daemmerung 12:29 (join) dnolen_ 12:36 (quit) snorble: Ping timeout: 240 seconds 12:42 (join) snorble 12:49 (nick) elliottcable -> d57bfa72c2e4b4a4 12:49 (nick) d57bfa72c2e4b4a4 -> LZ05qOyiJ0CXpo00 12:52 (nick) LZ05qOyiJ0CXpo00 -> twtsqZOWqHlDutmM 12:53 (join) ohwow 12:55 ohwow: Hello, what's difference between (provide ) and (provide (struct-out ))? 12:55 ohwow: http://fpaste.org/n780/ 13:04 jonrafkind: i think (struct-out ) provides all the bindings you get from a struct 13:04 jonrafkind: the struct name itself is just the constructor 13:04 jonrafkind: but struct-out gives you struct? and all the accessor/mutators 13:04 (join) tolgagoren 13:04 ohwow: oh 13:04 ohwow: true, i forgot to try those 13:05 ohwow: thanks 13:05 ohwow: you are absolutely right 13:06 tolgagoren: hi, i am confused about something in the docs, is this the place to ask for help? 13:06 jonrafkind: sure 13:06 tolgagoren: great :) 13:06 tolgagoren: so I am just starting to use Typed racket 13:06 tolgagoren: and I can't figure out how to coerce an exact-positive-integer to a fixnum 13:07 tolgagoren: a positive fixnum to be precise 13:07 tolgagoren: i tried using min with an appropriate number 13:07 tolgagoren: to make sure it couldn't actually exceed fixnum 13:08 tolgagoren: but the typing system didn't notice 13:10 jonrafkind: good question, im not sure. stamourv samth ? 13:12 tolgagoren: hmm ok here's something that got it through the typing system 13:12 tolgagoren: I required racket/fixnum and used fxmin 13:12 tolgagoren: instead of just min 13:13 jonrafkind: oh nice 13:13 tolgagoren: I don't know if I just fooled the typesystem or if that's inded safer 13:13 jonrafkind: so just (fxmin x)? 13:13 jonrafkind: supposedly there is no way to break the type system 13:13 jonrafkind: so if it worked then i guess its safe 13:13 tolgagoren: hmm ok in fact even this worked : (fxmax 1 x) 13:13 tolgagoren: where you can replace x with my calculation 13:14 tolgagoren: so I can do it without a min 13:14 tolgagoren: which is weird 13:14 tolgagoren: but maybe just using fxmax automatically checks or coerces 13:14 tolgagoren: let's try some values, hang on 13:14 jonrafkind: yea probably it will throw a runtime error (through a contract) 13:15 tolgagoren: well that's fine 13:15 tolgagoren: it can't possibly exceed fixnum 13:15 tolgagoren: and I'm the only one coding here 13:16 tolgagoren: so let's say problem solved :) 13:16 tolgagoren: thanks! 13:20 tolgagoren: hmm I also wanted to mention, maybe this is the right place 13:20 tolgagoren: the typed racket guide doesn't give any examples of defining a function with two arguments 13:21 tolgagoren: so to calculate the distance between two points would be (: distance (pt pt -> Positive-Fixnum)) 13:21 tolgagoren: but it only gives examples with one argument so I had to try (: distance ((pt pt) -> Positive-Fixnum)) and other stupid stuff 13:22 tolgagoren: probably the formal definition in the reference says it but I'm not smart enough to read that yet 13:22 tolgagoren: *shrug* 13:30 jonrafkind: good point, ill make sure that gets fixed 13:32 tolgagoren: :) 13:57 (quit) masm: Ping timeout: 252 seconds 14:09 (nick) twtsqZOWqHlDutmM -> Du07okDjKfe0X4qF 14:22 (quit) tzhuang: Read error: Connection reset by peer 14:33 (quit) dnolen_: Quit: dnolen_ 14:36 (join) isohead 14:40 (quit) isohead: Client Quit 14:51 (quit) Daemmerung: Read error: Connection reset by peer 14:54 (nick) Du07okDjKfe0X4qF -> G0EleimMoNF4WDUO 14:58 (nick) Lajla -> anti-anti-helix 15:02 (join) Daemmerung 15:07 (join) bugQ 15:08 bugQ: DrRacket doesn't indent for/fold correctly 15:09 bugQ: AFAICS this is because indentation is pigeonholed into only 3 types 15:09 bugQ: seems like so much more could be done 15:31 jonrafkind: which 3 types is that 15:32 rapacity: begin define lambda kind of indentation 15:33 bugQ: what rap said 15:33 (join) tzhuang 15:33 jonrafkind: for/fold seems ok to me, what do you think is wrong about it? 15:39 (nick) G0EleimMoNF4WDUO -> lx5daVLzXAYWRFzQ 15:42 (join) MayDaniel 15:50 (quit) MayDaniel: Read error: Connection reset by peer 15:56 (join) misterm 16:00 bugQ: jonrafkind: try putting both the accumulators and the iterators on their own lines 16:01 jonrafkind: oh yea i see 16:01 bugQ: *iterand 16:02 (quit) misterm: Ping timeout: 255 seconds 16:05 (quit) bugQ: Ping timeout: 252 seconds 16:11 (quit) tolgagoren: Quit: Page closed 16:38 (nick) lx5daVLzXAYWRFzQ -> r3wPYEWNrKkAPAVO 16:48 (nick) r3wPYEWNrKkAPAVO -> elliottcable 17:02 (join) rachekhan 17:09 (part) rachekhan 18:10 (quit) lucian: Remote host closed the connection 18:12 (join) racket 18:12 racket: [racket] plt pushed 1 new commit to master: http://bit.ly/n1vm20 18:12 racket: [racket/master] Undoes the 'produces -> return' part of commit c31d352f, keeping the 'changes -> mutates' change and the assorted bug fixes it contained. - Guillaume Marceau 18:12 (part) racket 18:14 (join) bmp 18:15 (quit) bluezenix: Ping timeout: 252 seconds 19:24 (quit) tzhuang: Ping timeout: 276 seconds 19:47 (join) realitygrill 19:47 (quit) bmp: Quit: Leaving... 20:03 (quit) tauntaun: Ping timeout: 240 seconds 20:13 (quit) mithos28: Quit: mithos28 20:15 (join) tauntaun 20:38 (join) bmp 20:39 (join) mithos28 20:48 (quit) mithos28: Quit: mithos28 20:49 (join) mithos28 20:49 (quit) mithos28: Client Quit 20:58 (quit) martinhex: Remote host closed the connection 21:09 (join) martinhex 21:15 (join) mithos28 21:16 (join) misterm 21:16 (join) Penten 21:17 (join) tzhuang 21:18 tzhuang: hello guys 21:19 tzhuang: how do i load a teachpack from REPL 21:19 tzhuang: im trying to load draw.ss 21:19 tzhuang: (require "draw.ss") gives default-load-handler: cannot open input file: "/home/tzhuang/world.rkt" (No such file or directory; errno=2) 21:21 (quit) tauntaun: Ping timeout: 258 seconds 21:22 (quit) jonrafkind: Ping timeout: 258 seconds 21:30 (join) tauntaun 21:34 (quit) mithos28: Quit: mithos28 21:35 (join) mithos28 21:39 (quit) tauntaun: Read error: Connection reset by peer 21:41 (join) tauntaun 21:50 (quit) mithos28: Quit: mithos28 21:50 (join) dherman 22:05 (quit) tauntaun: Remote host closed the connection 22:08 (join) racket 22:08 racket: [racket] plt pushed 1 new commit to master: http://bit.ly/nOsnmA 22:08 racket: [racket/master] fix "block cache" layer to handle allocation failure - Matthew Flatt 22:08 (part) racket 22:23 (join) taun 22:23 (join) tauntaun 22:23 (quit) tauntaun: Remote host closed the connection 22:24 (join) Guest3561 22:24 (quit) Guest3561: Remote host closed the connection 22:26 (quit) taun: Client Quit 22:30 (join) tauntaun` 22:30 (nick) tauntaun` -> tauntaun 22:58 (quit) tzhuang: Ping timeout: 250 seconds 23:11 (join) mithos28 23:15 (quit) dherman: Quit: dherman 23:35 (join) tomku|two 23:36 (quit) tomku: Ping timeout: 240 seconds 23:42 (nick) tomku|two -> tomku 23:52 (join) hakkum 23:55 hakkum: hey guys, i'm working through htdp using emacs and quack... 23:55 hakkum: however when I use the htdp-beginner language, hitting C-x C-e and/or C-c C-e says cannot define in interactions menu. is there a way to use emacs/quack while in htdp-beginner?