00:21 (join) veer 00:26 (quit) veer: Client Quit 00:44 (quit) jrslepak_neu: Ping timeout: 240 seconds 00:48 (join) jrslepak_neu 01:04 (quit) nilyaK: Quit: Leaving. 01:05 (quit) stchang: Read error: Operation timed out 01:08 (join) stchang 01:10 (quit) getpwnam: Ping timeout: 252 seconds 01:11 (quit) hash_table: Ping timeout: 252 seconds 01:19 (join) antithesis 01:24 (quit) stchang: Read error: Operation timed out 01:27 (join) stchang 01:28 (quit) noam__: Ping timeout: 245 seconds 01:35 (quit) stchang: Read error: Operation timed out 01:37 (join) stchang 01:39 (quit) wtetzner: Ping timeout: 246 seconds 01:39 (join) noam 01:45 (quit) stchang: Read error: Operation timed out 01:45 (join) Shambles_1 01:48 (join) stchang 01:52 (nick) Shambles_1 -> Shambles_ 02:06 (quit) stchang: Read error: Operation timed out 02:08 (join) nilyaK 02:08 (join) stchang 02:32 jesyspa: What value should I use when I'd like to represent the absence of a struct? null? 02:32 mithos28: false 02:32 (quit) antithesis: Quit: antithesis 02:33 mithos28: you then get the niceities like (or maybe-struct default-value) 02:33 jesyspa: Alright, thanks. 02:34 (join) antithesis 02:34 jesyspa: Ah, nice. Didn't realise null evaluates to true. 02:35 jesyspa: Oh yes, this isn't common lisp, everything except #f evaluates to true. 02:35 mithos28: everything but #f does which is much nicer than having 0 '() "" all be false aswell 02:36 jesyspa: Hmm, is (or/c env? false?) a reasonable left-hand side of a contract, or should I make it (or/c env? (and/c boolean? false?))? 02:37 mithos28: the only false value is false, so those are equivalent 02:37 jesyspa: Ah, okay. Was worried about false?'s contract complaining. 02:37 jesyspa: Oh, hang on, read it backwards. 02:38 jesyspa: Never mind, thanks. 02:38 mithos28: I'd actually use (option/c env?) 02:38 mithos28: where option/c is from unstable/contract 02:38 jesyspa: Didn't know about option, will take a look. 02:39 (quit) nilyaK: Read error: Connection reset by peer 02:43 (quit) antithesis: Remote host closed the connection 02:44 (join) antithesis 02:48 (join) mye 02:48 (quit) stchang: Read error: Operation timed out 02:50 (quit) antithesis: Remote host closed the connection 02:51 (join) stchang 03:02 (quit) jonrafkind: Ping timeout: 245 seconds 03:05 (quit) stchang: Read error: Operation timed out 03:08 (join) stchang 03:14 (quit) mithos28: Quit: mithos28 03:14 (quit) stchang: Read error: Operation timed out 03:17 (join) stchang 03:54 (quit) stchang: Read error: Operation timed out 03:57 (join) stchang 04:01 (quit) jeapostrophe: Ping timeout: 265 seconds 04:13 (join) antithesis 04:15 (quit) stchang: Read error: Operation timed out 04:17 (join) stchang 04:25 (quit) stchang: Read error: Operation timed out 04:27 (join) stchang 04:35 (quit) stchang: Read error: Operation timed out 04:37 (join) stchang 04:44 (join) bitonic 05:14 (quit) stchang: Read error: Operation timed out 05:14 (join) kvda 05:17 (join) stchang 05:20 (join) rsimoes 05:30 (quit) jyc: Read error: Connection reset by peer 05:31 (join) jyc 05:46 (join) gciolli 05:49 (quit) gciolli: Client Quit 05:56 (quit) stchang: Ping timeout: 250 seconds 05:57 (join) stchang 06:02 (join) mye_ 06:06 (quit) mye: Ping timeout: 260 seconds 06:23 (quit) kvda: Quit: Computer has gone to sleep. 06:23 (quit) jyc: Read error: Connection reset by peer 06:24 (quit) stchang: Read error: Operation timed out 06:27 (join) stchang 06:29 (join) kvda 06:31 (quit) antithesis: Remote host closed the connection 07:01 (quit) kvda: Quit: Computer has gone to sleep. 07:02 (quit) stchang: Read error: Operation timed out 07:07 (join) stchang 07:34 (quit) stchang: Read error: Operation timed out 07:36 (join) stchang 07:59 (join) masm 08:08 (join) Shvillr_ 08:08 (quit) Shviller: Disconnected by services 08:09 (nick) Shvillr_ -> Shviller 08:15 (quit) stchang: Read error: Operation timed out 08:17 (join) stchang 08:32 (join) dzhus 08:33 (quit) stchang: Read error: Operation timed out 08:34 (join) antithesis 08:36 (join) stchang 08:50 (quit) cdidd: Remote host closed the connection 09:04 (quit) stchang: Read error: Operation timed out 09:05 (join) RacketCommitBot 09:05 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/yAGBRw 09:05 RacketCommitBot: [racket/master] adjust datalog so that syntax objects are not used as source location - Robby Findler 09:05 (part) RacketCommitBot 09:06 (join) stchang 09:07 (join) zyoung 09:14 (join) getpwnam 09:15 (join) hash_table 09:15 (quit) stchang: Read error: Operation timed out 09:18 (join) stchang 09:18 (quit) dzhus: Read error: Connection reset by peer 09:41 (join) anRch 09:48 (join) nilyaK 10:18 (join) wtetzner 10:18 (quit) zyoung: Remote host closed the connection 10:23 (quit) stchang: Read error: Operation timed out 10:26 (join) jeapostrophe 10:26 (quit) jeapostrophe: Changing host 10:26 (join) jeapostrophe 10:26 (join) stchang 10:28 (join) mithos28 10:33 (quit) stchang: Read error: Operation timed out 10:36 (join) stchang 10:51 (quit) snorble_: Ping timeout: 272 seconds 10:53 (quit) stchang: Read error: Operation timed out 10:56 (join) stchang 11:11 (quit) anRch: Quit: anRch 11:12 (join) RacketCommitBot 11:12 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/W04UrQ 11:12 RacketCommitBot: [racket/master] Revert "Test results from DrDr" - Robby Findler 11:12 (part) RacketCommitBot 11:40 (quit) stchang: Read error: Operation timed out 11:40 (join) dnolen 11:43 (join) stchang 11:46 (join) random_malice 11:47 (join) bro_grammer 11:47 (quit) jrslepak: Quit: This computer has gone to sleep 11:49 (quit) hash_table: Ping timeout: 245 seconds 11:49 (quit) getpwnam: Ping timeout: 245 seconds 12:25 (quit) stchang: Read error: Operation timed out 12:27 (join) stchang 12:31 (join) yoklov 12:33 yoklov: so, I'm trying to make an editor for befunge in racket (just for fun). I've been reading the docs for text%, but the automatic paragraph positioning, etc. make it seem unsuitable for this. Should I give up and just write it from scratch using canvas%? 12:36 yoklov: for the unfamiliar, befunge is a language where the 2d positioning of the code determines the program flow, so line wrapping would be extremely annoying 12:36 samth: yoklov: drracket uses text% and doesn't line-wrap 12:36 samth: so that can certainly be done 12:38 yoklov: hm, it does wrap for me when it goes off the edge, but maybe that's just a setting 12:45 yoklov: i mean, what i'd like to do is have it so wherever the user clicks the cursor goes (e.g. not end of line/nearest pos. of text) 12:47 samth: yoklov: the wrapping in drracket is just in the display, and i think that's a pref 12:49 (join) snearch 12:52 yoklov: hrm. yeah, everything i want to do seems possible 12:54 samth: stamourv: ping 12:59 (quit) jeapostrophe: Ping timeout: 245 seconds 13:02 yoklov: is the order of evaluation in let guaranteed? e.g. if i do (let ([a (pop! stk)] [b (pop! stk)]) …) will those happen in the right order, or should i use let* 13:07 (quit) nilyaK: Quit: Leaving. 13:12 samth: yoklov: the order of evaluation is guaranteed 13:13 samth: http://pre.racket-lang.org/docs/html/reference/let.html?q=let#%28form._%28%28lib._racket/private/letstx-scheme..rkt%29._let%29%29 13:13 rudybot: http://tinyurl.com/7fxbtlr 13:17 (quit) yoklov: Quit: computer sleeping 13:18 (join) yoklov 13:21 (quit) dnolen: Ping timeout: 252 seconds 13:26 (join) paidhi 13:28 (part) paidhi 13:31 mithos28: samth: what are the reasons that TR cannot do inference at polymorphic function-application? Are they problems with the type system that make it impossible, or is it an artifact of the current engine? 13:32 samth: mithos28: a combination of both 13:32 samth: full ml-style type inference is impossible 13:32 samth: but we could be doing better than we are 13:32 samth: scala has the best current system in this space 13:32 samth: and it's something i want to pursue at some point 13:32 mithos28: is there any work being done on it, or is it in the future? 13:35 samth: no one that i know of is working on it 13:35 samth is currently working on keyword arguments 13:36 mithos28: would it be something that I could make some headway on? or is it more of a massive overhaul required? 13:36 samth: mithos28: i'm unsure 13:37 samth: but probably significant surgery would be required 13:40 mithos28: I found http://lampwww.epfl.ch/~odersky/papers/mfcs06.pdf on scala's type system, was this what you were refering to or are there more recent works? 13:46 (join) Kaylin 13:46 samth: mithos28: the most relevant paper is 'colored local type inference' by odersky 13:48 mithos28: Ok, I'll do some reading and see if I think I can tackle it. 13:54 samth: mithos28: the big change will be altering what 'expected type' means throughout the type checker 13:54 samth: ok, off to lunch 13:57 (join) tuor 14:31 (quit) em: Ping timeout: 244 seconds 14:34 (join) em 14:36 (join) jyc 14:43 (join) snorble_ 14:44 (join) RacketCommitBot 14:44 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/5yfkfg 14:44 RacketCommitBot: [racket/master] adjust the check for multiple-file debugging so that it happens - Robby Findler 14:44 (part) RacketCommitBot 14:45 (join) jacius 14:47 tuor: Can I ask a WeScheme question here? 14:50 (quit) snearch: Quit: Verlassend 14:50 tuor: I'm working on programs using big-bang, and usually when I make a change to the program and rerun it, the pop-up window comes up too small and nothing happens. Sometimes click Save fixes it, other times I close the program and reopen it to fix it. Am I doing something wrong? 15:01 (quit) mye_: Read error: Connection reset by peer 15:02 (join) zyoung 15:04 (quit) noam: Read error: Connection reset by peer 15:04 (join) noam 15:06 (quit) Kaylin: Quit: Leaving. 15:12 (join) jeapostrophe 15:32 (quit) Fare: Ping timeout: 248 seconds 15:33 (quit) stchang: Read error: Operation timed out 15:34 (join) Fare 15:38 (join) stchang 15:39 (quit) Fare: Ping timeout: 240 seconds 15:46 (quit) jeapostrophe: Ping timeout: 250 seconds 16:10 (join) cdidd 16:52 (join) netrino 16:52 (quit) antithesis: Quit: antithesis 17:10 (join) jeapostrophe 17:10 (quit) jeapostrophe: Changing host 17:10 (join) jeapostrophe 17:10 (join) jonrafkind 17:25 (join) RacketCommitBot 17:25 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/UorLdQ 17:25 RacketCommitBot: [racket/master] adjust `racket/generic' documentation style - Matthew Flatt 17:25 RacketCommitBot: [racket/master] clarifications and additions to style guide - Matthew Flatt 17:25 RacketCommitBot: [racket/master] Solaris 5.10 has poll(), so set try_poll_syscall="yes" in configure - Tim Brown 17:25 (part) RacketCommitBot 17:37 Cryovat: Is there any function to list all of the identifiers exported from a given module? 17:37 (join) RacketCommitBot 17:37 RacketCommitBot: [racket] plt pushed 6 new commits to master: http://git.io/S2F5bA 17:37 RacketCommitBot: [racket/master] [honu] use sandbox evaluator to test honu code - Jon Rafkind 17:37 RacketCommitBot: [racket/master] [honu] analyze macro parameters at phase 2. temporarily break patterns - Jon Rafkind 17:37 RacketCommitBot: [racket/master] [honu] pass the original name being defined to get the proper lexical context - Jon Rafkind 17:37 (part) RacketCommitBot 17:37 jonrafkind: there is in fact 17:37 jonrafkind: i wrote a script to do it 17:38 jonrafkind: just a sec 17:38 Cryovat: Is it published anywhere? 17:38 jonrafkind: ill throw it on github 17:39 Cryovat: Awesome, thanks :) 17:40 (join) vkz 17:40 Sgeo: How can I fprintf or similar such that 1 in the argument becomes 001? 17:40 (quit) vkz: Client Quit 17:41 jonrafkind: ugh, the script is currently broken because unstable/generics just moved, but anyway ill put it on github and fix it later 17:41 Cryovat: Ah 17:41 jonrafkind: anyway the function you want is module->exports 17:42 jonrafkind: gabot should respond to '? module->exports' queries and link to the relevant documentation 17:42 jonrafkind: theres a bot in other channels im in that does a similar thing 17:43 Cryovat: Thanks 17:45 jonrafkind: https://gist.github.com/2860053 17:46 bremner: jonrafkind: you mean rudybot? doesn't he have doc command 17:46 jonrafkind: rudybot: doc module->exports 17:46 rudybot: jonrafkind: http://docs.racket-lang.org/reference/Module_Names_and_Loading.html#(def._((quote._~23~25kernel)._module-~3eexports)) 17:46 jonrafkind: ah cool 17:46 jonrafkind: well it would be easier if it responded to '?' as well 17:47 Cryovat: Wow 17:47 Cryovat: That's a pretty long script 17:47 jonrafkind: yea the first giant macro is about making struct-field names available 17:47 jonrafkind: so if you have an instance of struct X named foo, with fields a, b, c then it makes foo.a, foo.b, foo.c 17:48 jonrafkind: that script does a bunch of stuff like searching for identifiers using levenshtien distance to find the closest match 17:50 jonrafkind: bah i have to do major surgery to get this script working again 17:50 Cryovat: Ah, the generics change is that significant? 17:51 jonrafkind: yea 17:52 jonrafkind: i guess the spirit of generics was retained but the api changed quite a bit 17:52 jonrafkind: i mean i was using unstable/generics so this is how things go.. 17:52 jonrafkind: i never actually use this script :p 17:52 Cryovat: Ah 17:52 (quit) stchang: Read error: Operation timed out 17:53 Cryovat: It was more a "can I do this?" kind of enterprise? 17:53 jonrafkind: i mean i used to use it 17:53 jonrafkind: 2 years ago 17:53 Cryovat: Ah 17:53 Cryovat: I'm pretty new to Racket, and I jumped onto TR almost immediately 17:54 Cryovat: So haven't fiddled with generics yet 17:56 (join) stchang 18:06 (quit) netrino: Quit: Ave! 18:20 (join) Fare 18:24 (join) RacketCommitBot 18:24 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/GsUOVA 18:24 RacketCommitBot: [racket/master] Support definitions of keyword functions in Typed Racket. - Sam Tobin-Hochstadt 18:24 (part) RacketCommitBot 18:25 Cryovat: I've been wondering 18:25 Cryovat: How old is Typed Racket? 18:25 jonrafkind: like 4 years or so 18:26 Cryovat: Was just wondering, since it seems like there's a lot of commits related to it lately 18:29 samth: Cryovat: some of us have had some free time recently 18:29 samth: and i started work on what became typed racket in late 2005 18:30 samth: so almost 7 years 18:30 samth: first release in fall 2006 18:31 (join) sstrickl 18:33 Cryovat: Ah, I see 18:34 Cryovat: I'm a fan of the syntax it uses 18:34 Cryovat: And the type checking has been a big help 18:39 samth: Cryovat: glad you like it 18:51 (quit) jeapostrophe: Ping timeout: 248 seconds 18:54 (join) RacketCommitBot 18:54 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/ViG-Dg 18:54 RacketCommitBot: [racket/master] Improve type of `identity`. - Sam Tobin-Hochstadt 18:54 (part) RacketCommitBot 18:59 (join) Girffe 19:16 (join) Kaylin 19:18 (quit) tuor: Quit: tuor 19:19 asumu: jonrafkind: it shouldn't be that much effort to port. 19:19 asumu: The major thing that changed is #:struct prop:foo (define-methods ...) => #:methods gen:foo [(define m ...) ...] 19:20 asumu: And define-generics takes fewer arguments. 19:25 (quit) zyoung: Remote host closed the connection 19:25 jonrafkind: yes i ran into exactly that issue and had no idea what the fix was 19:25 jonrafkind: uh do you know exactly the set of things that need to be updated? 19:26 jonrafkind: possibly just that one.. let me implement it 19:27 jonrafkind: define-methods is unbound 19:27 jonrafkind: oh just define 19:31 asumu: IIRC, those are the things that need to be updated: arguments for define-generics, #:struct => #:methods 19:32 asumu: Note that define-generics will automatically add the gen: prefix for you. 19:33 jonrafkind: wtf, i have (define-generics symbol (print)) and later (define/generics my-print print) but it says print is not a method of symbol 19:34 jonrafkind: well of gen:symbol 19:34 asumu: Does (define-generics symbol (print symbol)) work? 19:35 jonrafkind: well im not getting an error about it.. 19:35 jonrafkind: works on the repl 19:54 (join) tuor 20:05 (quit) stchang: Read error: Operation timed out 20:08 (join) stchang 20:15 (join) jrslepak 20:36 (quit) stchang: Read error: Operation timed out 20:38 (join) stchang 20:40 (quit) jesyspa: Quit: leaving 20:45 (quit) stchang: Read error: Operation timed out 20:47 (join) stchang 20:50 (quit) SHODAN: *.net *.split 20:55 (join) SHODAN 20:56 (quit) bitonic: Ping timeout: 260 seconds 21:07 (quit) masm: Quit: Leaving. 21:09 (join) zyoung 21:11 (quit) zyoung: Remote host closed the connection 21:20 (quit) Girffe: Quit: Page closed 21:42 (join) kvda 21:45 (quit) stchang: Read error: Operation timed out 21:48 (join) stchang 21:55 (quit) kvda: Quit: Computer has gone to sleep. 22:05 (quit) stchang: Read error: Operation timed out 22:08 (join) stchang 22:30 (quit) cdidd: Remote host closed the connection 22:32 (join) cdidd 22:33 (quit) stchang: Read error: Operation timed out 22:36 (join) stchang 22:41 (quit) cdidd: Remote host closed the connection 22:41 (join) kvda 22:43 (join) cdidd 22:51 (part) tuor 22:52 (join) tuor 22:53 (quit) tuor: Remote host closed the connection 22:53 (join) tuor 22:57 (quit) tuor: Client Quit 23:00 (quit) kvda: Ping timeout: 260 seconds 23:09 (join) RacketCommitBot 23:09 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/WbFajw 23:09 RacketCommitBot: [racket/master] remove extra space in some error messages - Matthew Flatt 23:09 RacketCommitBot: [racket/master] adjust *SL error-message rewriting - Matthew Flatt 23:09 (part) RacketCommitBot 23:23 (quit) cdidd: Read error: Connection reset by peer 23:24 (quit) stchang: Read error: Operation timed out 23:27 (join) stchang 23:35 (quit) stchang: Read error: Operation timed out 23:37 (join) stchang 23:39 (join) kvda 23:39 (quit) Fare: Quit: Leaving 23:45 (join) jeapostrophe 23:45 (quit) jeapostrophe: Changing host 23:45 (join) jeapostrophe 23:47 (quit) kvda: Quit: Computer has gone to sleep.