00:04 (quit) getpwnam: Ping timeout: 246 seconds 00:04 (quit) hash_table: Ping timeout: 250 seconds 00:11 (quit) jimmypk: Quit: leaving 00:13 (join) RacketCommitBot 00:13 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/R2L5Lw 00:13 RacketCommitBot: [racket/master] Provide `main' too, since it's used by redex/tests/run-tests. - Eli Barzilay 00:13 (part) RacketCommitBot 00:22 (join) rbarraud__ 00:25 (quit) rbarraud__: Remote host closed the connection 00:28 (join) rbarraud__ 00:28 mithos28: Are there any good docs on how to implement a good hashcode for prop:equal+hash? Especially with regards to combining hashes of subparts. 00:31 (quit) rbarraud__: Read error: Connection reset by peer 00:31 (join) rbarraud 00:33 (quit) rbarraud: Max SendQ exceeded 00:33 (quit) Kaylin1: Ping timeout: 250 seconds 00:34 (join) rbarraud 00:38 (quit) rbarraud: Client Quit 00:39 (join) rbarraud 00:43 (quit) rbarraud: Excess Flood 00:46 (join) rbarraud 00:47 (join) yoklov 00:49 (quit) yoklov: Client Quit 00:52 mithos28: Does (and (not (chaperone? a)) (not (chaperone? b)) (equal? a b)) imply (chaperone-of? a b)? The docs seem to imply that but I am not getting that in my program 00:54 mithos28: It looks like it might be related to my custom equality function, as the type of objects I am comparing are structs with prop:equal+hash. 00:57 (quit) rbarraud: Quit: Konversation terminated! 00:58 (join) rbarraud 00:59 (join) Kaylin 01:02 (quit) eli: Ping timeout: 244 seconds 01:03 (quit) stchang: Read error: Operation timed out 01:04 (join) stchang 01:04 (quit) stamourv: Ping timeout: 244 seconds 01:12 (quit) rbarraud: Ping timeout: 245 seconds 01:17 (join) bjorkintosh 01:17 (part) bjorkintosh: "Leaving" 01:17 (quit) mithos28: Read error: Connection reset by peer 01:17 (join) mithos28 01:29 (join) vu3rdd 01:29 (quit) vu3rdd: Changing host 01:29 (join) vu3rdd 01:30 (join) kvda 01:31 (join) eli 01:31 (quit) eli: Changing host 01:31 (join) eli 01:32 adu: hi! 01:32 mithos28: adu: hello 01:33 adu: mithos28: equal+hash is a nice place to be 01:33 adu: are you talking about racket? 01:33 mithos28: yes 01:33 adu: oh I'm talking about #scheme 01:34 adu: I know a tiny bit of racket 01:34 adu: but mostly scheme 02:09 (quit) adu: Quit: adu 02:11 (quit) Kaylin: Quit: Leaving. 02:22 (join) mceier 02:39 (join) hkBst 02:39 (quit) hkBst: Changing host 02:39 (join) hkBst 02:50 (join) rbarraud 02:51 (quit) rbarraud: Read error: No route to host 02:52 (join) rbarraud 02:53 (join) djcoin 02:56 (quit) rbarraud: Client Quit 02:56 (join) rbarraud 03:03 (quit) rbarraud: Quit: Konversation terminated! 03:03 (join) rbarraud 03:04 (quit) mithos28: Quit: mithos28 03:09 (quit) rbarraud: Ping timeout: 245 seconds 03:58 (quit) kvda: Quit: -___- 04:20 (quit) hkBst: Remote host closed the connection 04:20 (join) antithesis 04:21 (join) hkBst 04:21 (quit) hkBst: Changing host 04:21 (join) hkBst 04:31 (join) tfb 04:35 (quit) antithesis: Quit: antithesis 04:35 (join) antithesis 04:35 (quit) antithesis: Remote host closed the connection 04:44 (join) soegaard 04:51 (join) noelw 05:01 (join) josdeha_rt 05:29 (join) masm 05:31 (join) jyc_ 05:34 (quit) jyc: Ping timeout: 246 seconds 05:48 (quit) tfb: Quit: gone 05:59 (quit) josdeha_rt: Remote host closed the connection 06:06 (quit) noelw: Quit: noelw 06:07 (quit) soegaard: Quit: soegaard 06:19 (join) noelw 06:21 (quit) noelw: Client Quit 06:22 (join) rbarraud 06:22 (join) bitonic 06:23 (quit) rbarraud: Client Quit 06:24 (join) rbarraud 06:29 (join) noelw 06:31 (quit) noelw: Client Quit 06:36 (join) noelw 06:42 (quit) noelw: Quit: noelw 06:46 (join) noelw 06:48 (quit) noelw: Client Quit 06:49 (join) noelw 06:54 (quit) rbarraud: Quit: Konversation terminated! 06:54 (quit) noelw: Quit: noelw 06:54 (join) rbarraud 06:57 (quit) rbarraud: Read error: Connection reset by peer 06:57 (join) rbarraud 07:03 (join) noelw 07:06 (quit) noelw: Client Quit 07:13 (join) soegaard 07:28 (quit) m4burns: Ping timeout: 246 seconds 07:35 (join) m4burns 07:45 (quit) basepi: Ping timeout: 246 seconds 07:45 (quit) surrounder: Quit: "latuh" 07:45 (join) surrounder 07:46 (join) basepi 07:58 (quit) rbarraud: Read error: Operation timed out 08:07 (quit) vu3rdd: Ping timeout: 248 seconds 08:08 (join) noelw 08:11 (quit) Shviller: Ping timeout: 264 seconds 08:12 (join) Shviller 08:19 (quit) jyc_: Read error: Connection reset by peer 08:19 (join) gciolli 08:34 (quit) gciolli: Quit: Leaving. 08:40 (join) getpwnam 08:41 (join) hash_table 09:03 (quit) hash_table: Ping timeout: 240 seconds 09:03 (quit) getpwnam: Ping timeout: 240 seconds 09:10 (quit) hkBst: Read error: Connection reset by peer 09:10 (join) hkBst 09:10 (quit) hkBst: Changing host 09:10 (join) hkBst 09:12 (join) banseljaj 09:15 (quit) Demosthenes: Ping timeout: 250 seconds 09:15 (quit) hkBst: Ping timeout: 246 seconds 09:17 (join) hkBst 09:27 (quit) noelw: Quit: noelw 09:30 (nick) banseljaj -> imami|afk 09:31 (quit) hkBst: Ping timeout: 244 seconds 09:33 (join) gciolli 09:33 (join) hkBst 09:33 (quit) hkBst: Changing host 09:33 (join) hkBst 09:36 (join) vu3rdd 09:36 (quit) vu3rdd: Changing host 09:36 (join) vu3rdd 09:37 (quit) hkBst: Ping timeout: 246 seconds 09:40 (join) jeapostrophe 09:40 (quit) jeapostrophe: Changing host 09:40 (join) jeapostrophe 09:46 (quit) gf3: Ping timeout: 264 seconds 09:57 (join) dzhus 10:05 (join) noelw 10:07 (join) Kaylin 10:13 (quit) Shambles_1: Quit: Leaving. 10:13 (quit) mceier: Quit: leaving 10:13 (join) getpwnam 10:13 (join) hash_table 10:17 (join) Shambles_ 10:19 (quit) Kaylin: Read error: Connection reset by peer 10:34 (join) dnolen 10:39 (join) stamourv 10:39 (quit) stamourv: Changing host 10:39 (join) stamourv 11:06 (join) RacketCommitBot 11:06 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/Wd1aGA 11:06 RacketCommitBot: [racket/master] Fix future visualizer not showing requested size for allocation events - James Swaine 11:06 (part) RacketCommitBot 11:09 (join) mceier 11:14 (quit) surrounder: Ping timeout: 246 seconds 11:16 (join) surrounder 11:25 (quit) masm: Ping timeout: 265 seconds 11:25 (join) nilyaK 11:25 (quit) gciolli: Quit: Leaving. 11:28 (quit) surrounder: Read error: Connection reset by peer 11:28 (join) surrounder 11:37 (quit) dnolen: Ping timeout: 246 seconds 11:48 (quit) soegaard: Quit: soegaard 11:51 (join) soegaard 11:55 (quit) soegaard: Ping timeout: 240 seconds 11:58 (join) anRch 11:58 (join) soegaard 11:58 (quit) soegaard: Client Quit 12:03 (quit) djcoin: Quit: WeeChat 0.3.2 12:06 (join) soegaard 12:08 (quit) getpwnam: Ping timeout: 240 seconds 12:09 (quit) hash_table: Ping timeout: 240 seconds 12:11 (join) gciolli 12:14 (quit) noelw: Quit: noelw 12:15 (join) snearch 12:17 (quit) jrslepak: Quit: This computer has gone to sleep 12:21 (quit) gciolli: Ping timeout: 246 seconds 12:44 (join) RacketCommitBot 12:44 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/mTs29A 12:44 RacketCommitBot: [racket/master] Disable Optimization Coach in the student languages. - Vincent St-Amour 12:44 (part) RacketCommitBot 12:45 (join) jao 12:46 (quit) jao: Changing host 12:46 (join) jao 12:55 (quit) soegaard: Quit: soegaard 13:00 (join) jrslepak 13:02 (quit) anRch: Quit: anRch 13:17 (join) soegaard 13:27 (quit) snearch: Ping timeout: 246 seconds 13:41 (join) snearch 13:41 (quit) jeapostrophe: Ping timeout: 248 seconds 13:44 (quit) vu3rdd: Remote host closed the connection 13:46 (join) masm 13:48 (join) RacketCommitBot 13:48 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/3QpbFg 13:48 RacketCommitBot: [racket/master] [Distributed Places] place functions now work with distributed places - Kevin Tew 13:48 (part) RacketCommitBot 13:49 (join) soegaard_ 13:51 (quit) soegaard: Ping timeout: 240 seconds 13:51 (nick) soegaard_ -> soegaard 13:53 (quit) jeremyheiler: Quit: Computer has gone to sleep. 14:04 (join) MayDaniel 14:14 (join) gf3 14:14 (quit) snearch: Quit: Verlassend 14:14 (join) noelw 14:16 (topic) -: Racket -- http://racket-lang.org -- logs at http://racket-lang.org/irc-logs/ 14:16 (names) -: gabot jtpercon gf3 MayDaniel soegaard masm jrslepak jao surrounder nilyaK mceier stamourv Shambles_ dzhus imami|afk Shviller basepi m4burns bitonic eli stchang eMBee cdidd danl_ndi BeLucid_ ivan\ DrDuck1 asumu mario-goulart DraX Nisstyre peeeep sizz em ppilate rapacity noam ivan` cataska acarrico elliottcable Guest56248 SeanTAllen dsantiago SHODAN samth jrslepak_neu ski Araq karswell Shvillr errstr hyko danking ozzloy rotty dspt offby1 igibson @ChanServ 14:16 (names) -: anonus sethalves Cryovat jamessan friscosam rudybot chandler bremner cky antono bartbes otterdam lusory tewk spanner s_p_a_c_e_d_o_u_ 14:31 (join) bitonic` 14:32 (quit) bitonic: Disconnected by services 14:33 (nick) bitonic` -> bitonic 14:43 (join) noelw 14:46 (join) jacius 15:11 (nick) imami|afk -> banseljaj 15:14 (join) jeremyheiler 15:16 (quit) noelw: Quit: noelw 15:21 (join) noelw 15:30 (quit) noelw: Ping timeout: 265 seconds 15:33 (quit) SHODAN: Remote host closed the connection 15:35 (join) SHODAN 15:44 (join) noelw 15:55 (join) bitonic 15:58 (quit) jeremyheiler: Quit: Computer has gone to sleep. 15:59 (join) jeremyheiler 16:08 (quit) noelw: Quit: noelw 16:14 (quit) bitonic: Remote host closed the connection 16:14 (join) bitonic 16:24 (quit) bitonic: Remote host closed the connection 16:24 (join) bitonic 16:26 (join) noelw 16:26 (quit) MayDaniel: Read error: Connection reset by peer 16:33 (quit) jeremyheiler: Quit: ["Textual IRC Client: www.textualapp.com"] 16:38 (quit) noelw: Ping timeout: 265 seconds 16:38 (quit) nilyaK: Quit: Leaving. 16:39 (join) antithesis 16:46 (join) noelw 16:55 (join) jeapostrophe 16:55 (quit) jeapostrophe: Changing host 16:55 (join) jeapostrophe 16:59 (join) nilyaK 17:03 (quit) noelw: Quit: noelw 17:05 (quit) nilyaK: Read error: Connection reset by peer 17:05 (quit) cdidd: Quit: Leaving 17:05 (quit) bitonic: Remote host closed the connection 17:06 (join) bitonic 17:08 (join) getpwnam 17:08 (quit) soegaard: Quit: soegaard 17:12 (part) jtpercon 17:13 (join) anRch 17:15 (join) jyc 17:26 (quit) antithesis: Quit: antithesis 17:31 (join) gciolli 17:32 (quit) gciolli: Client Quit 17:33 (quit) mceier: Quit: leaving 17:41 (join) RacketCommitBot 17:41 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/4xlxjw 17:41 RacketCommitBot: [racket/master] Add scribble support for additional letters from the Czech alphabet. - Vincent St-Amour 17:41 (part) RacketCommitBot 17:42 (join) RacketCommitBot 17:42 RacketCommitBot: [racket] plt pushed 4 new commits to master: http://git.io/VKU03w 17:42 RacketCommitBot: [racket/master] Rename `type-decl` submodule to `#%type-decl`. - Sam Tobin-Hochstadt 17:42 RacketCommitBot: [racket/master] Delay actual initialization of type environment. - Sam Tobin-Hochstadt 17:42 RacketCommitBot: [racket/master] Reduce some dependencies of Typed Racket prims. - Sam Tobin-Hochstadt 17:42 (part) RacketCommitBot 17:43 (join) RacketCommitBot 17:43 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/5GWBkA 17:43 RacketCommitBot: [racket/master] futures: fix a problem related to lightweight continuations - Matthew Flatt 17:43 (part) RacketCommitBot 18:03 (join) tonyg 18:03 tonyg: How do I use quasipatterns in match with unquote-splicing? 18:04 tonyg: I'm trying the following: 18:04 tonyg: (match `(1 2 3) [`(1 ,@(list-rest vs)) vs]) 18:04 tonyg: ... expecting vs to contain '(2 3) 18:04 tonyg: but it complains with 18:04 tonyg: match: non-list pattern inside unquote-splicing 18:05 stamourv: rudybot: (match `(1 2 3) [`(1 . ,(list-rest vs)) vs]) 18:05 rudybot: stamourv: your sandbox is ready 18:05 rudybot: stamourv: ; Value: (2 3) 18:05 stamourv: tonyg: ^ 18:06 (quit) surrounder: Ping timeout: 246 seconds 18:10 (join) soegaard 18:12 (quit) ski: Ping timeout: 246 seconds 18:14 (join) ski 18:18 (quit) anRch: Quit: anRch 18:22 (join) mattmight 18:33 tonyg: stamourv: thanks. hmm still can't figure out how to use ,@ in match but now i have a workaround so that's ok 18:33 (quit) soegaard: Quit: soegaard 18:34 samth: tonyg: ,@x ... 18:34 tonyg: with literal ... ? 18:35 tonyg: it's weird that there's no symmetry (match `(,a ,@as) [`(,a ,@as) ...]) 18:37 samth: i didn't design this syntax 18:37 tonyg: heh 18:38 (nick) samth -> samth_away 18:53 (quit) jacius: Read error: Connection reset by peer 18:55 (join) rbarraud 19:00 (quit) rbarraud: Read error: No route to host 19:00 (join) rbarraud_ 19:06 (quit) rbarraud_: Quit: Konversation terminated! 19:07 (join) rbarraud_ 19:10 (join) Shambles_1 19:13 (quit) Shambles_: Ping timeout: 248 seconds 19:14 (quit) jrslepak: Quit: This computer has gone to sleep 19:15 (join) surrounder 19:15 (quit) rbarraud_: Read error: Connection reset by peer 19:15 (join) rbarraud__ 19:18 jeapostrophe: asumu: ping? 19:21 (quit) rbarraud__: Quit: Konversation terminated! 19:21 (join) rbarraud__ 19:24 (quit) rbarraud__: Read error: Connection reset by peer 19:24 (join) rbarraud__ 19:29 jeapostrophe: asumu: nevermind :) 19:31 (join) jrslepak 19:32 (join) RacketCommitBot 19:32 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/WPnhOQ 19:32 RacketCommitBot: [racket/master] Changing contracts on gl-context<%> and applying it to the gl-context% object. - Jay McCarthy 19:32 RacketCommitBot: [racket/master] new email setup - Jay McCarthy 19:32 (part) RacketCommitBot 19:39 (quit) dzhus: Read error: Connection reset by peer 19:40 (join) dzhus 19:43 (quit) dzhus: Read error: Connection reset by peer 19:43 (join) dzhus 19:50 (quit) rbarraud__: Read error: Connection reset by peer 19:50 (join) rbarraud 19:52 (quit) rbarraud: Client Quit 19:52 (join) rbarraud 19:55 (quit) bitonic: Ping timeout: 246 seconds 19:56 (quit) rbarraud: Client Quit 19:56 (quit) dzhus: Ping timeout: 252 seconds 19:57 (join) rbarraud 19:57 asumu: jeapostrophe: I sent an e-mail response. 20:07 (quit) rbarraud: Quit: Konversation terminated! 20:08 (join) rbarraud 20:09 (quit) rbarraud: Read error: Connection reset by peer 20:10 (join) rbarraud 20:13 (join) rbarraud_ 20:14 (quit) rbarraud: Read error: No route to host 20:15 (quit) rbarraud_: Remote host closed the connection 20:18 (join) rbarraud_ 20:25 (quit) rbarraud_: Excess Flood 20:25 (join) rbarraud_ 20:26 (part) tonyg 20:27 (quit) rbarraud_: Client Quit 20:29 (join) rbarraud_ 20:30 (quit) jrslepak: Quit: This computer has gone to sleep 20:32 (quit) rbarraud_: Read error: Connection reset by peer 20:33 asumu: jeapostrophe: ah, thanks for catching the mis-interfacing. 20:33 jeapostrophe: very good :) 20:33 (join) rbarraud_ 20:43 (join) Demosthenes 20:55 (join) random_malice 20:56 (quit) getpwnam: Ping timeout: 265 seconds 20:59 (quit) rbarraud_: Ping timeout: 272 seconds 21:04 (join) BeLucid 21:05 (quit) BeLucid_: Read error: Connection reset by peer 21:08 (join) jrslepak 21:14 (quit) acarrico: Ping timeout: 265 seconds 21:19 (join) acarrico 21:22 (quit) jeapostrophe: Ping timeout: 248 seconds 21:36 (join) chimeracoder 21:40 (quit) masm: Quit: Leaving. 21:56 (quit) mattmight: *.net *.split 21:56 (quit) rapacity: *.net *.split 21:56 (quit) ppilate: *.net *.split 21:56 (quit) hyko: *.net *.split 21:56 (quit) offby1: *.net *.split 21:56 (quit) dspt: *.net *.split 21:56 (quit) rotty: *.net *.split 21:56 (join) rapacity 21:59 (join) ghozi 22:08 (quit) Demosthenes: Ping timeout: 246 seconds 22:14 (join) mattmight 22:14 (join) ppilate 22:14 (join) hyko 22:14 (join) offby1 22:14 (join) dspt 22:14 (join) rotty 22:18 (quit) surrounder: Ping timeout: 246 seconds 22:24 (quit) ivan\: Ping timeout: 244 seconds 22:25 chimeracoder: I've never really used Racket/Scheme-style macros before... could someone tell me the way to modify function definitions something like this? http://pastebin.com/mWkxA6iM 22:26 chimeracoder: (type signatures just for clarity) 22:26 offby1: I'd consider trying "define-syntax-rule"; it's super-easy 22:27 chimeracoder: You know, I just realized that's not a great example; what I'm trying to do actually involves a recursive call 22:27 (join) lewis1711 22:28 chimeracoder: hmm, maybe macros aren't what I'm looking for... 22:28 lewis1711: sometimes I dunno when to use macros and when not to 22:28 chimeracoder: Okay, here's a better example 22:30 (join) ivan\ 22:30 offby1: lewis1711: if you don't need a macro, don't use one. 22:30 offby1: Just say "no" to macros. 22:30 chimeracoder: offby1: well, the point is I'm not sure :-p 22:30 offby1: This is your brain on drugs. etc. 22:30 offby1: chimeracoder: given an example. 22:30 offby1: I shall enlighten you because I'm bored :) 22:31 (join) mithos28 22:31 lewis1711: but abusing macros is the whole point of dynamically typed languages 22:31 chimeracoder: http://pastebin.com/DnPEtFcr 22:31 chimeracoder: Now there, I know it's kind of too magick-y 22:31 offby1: lewis1711: most dynamically typed languages don't _have_ macros 22:32 (join) jacius 22:32 lewis1711: yeah but they're not worth using 22:32 chimeracoder: but in this context, it makes more sense to be able to apply a function to an atom or to a list, the way a language like R does 22:32 offby1: OK, what am I looking at? 22:32 chimeracoder: offby1: ah, crap, I messed up the arguments >.< 22:33 chimeracoder is tired 22:33 chimeracoder: one second 22:33 offby1: rudybot: (define (automap func thing) (if list? thing) (map func thing) (func thing)) 22:33 rudybot: *offby1: your sandbox is ready 22:33 rudybot: *offby1: error: #:1:29: if: bad syntax (must have an "else" expression) in: (if list? thing) 22:33 offby1: rudybot: (define (automap func thing) (if list? thing (map func thing) (func thing)) ) 22:33 rudybot: *offby1: error: #:1:29: if: bad syntax (has 4 parts after keyword) in: (if list? thing (map func thing) (func thing)) 22:33 offby1: *sigh 22:33 offby1: rudybot: (define (automap func thing) (if (list? thing) (map func thing) (func thing)) ) 22:33 rudybot: *offby1: Done. 22:33 chimeracoder: offby1: okay, but what I want to do is have the if-else inserted into the function definition 22:34 offby1: rudybot: (automap add1 3) 22:34 rudybot: *offby1: ; Value: 4 22:34 offby1: rudybot: (automap add1 (list 3 4 5)) 22:34 rudybot: *offby1: ; Value: (4 5 6) 22:34 offby1: chimeracoder: I have no idea what you mean. Give an example or something. 22:35 mithos28: Note that auto map is a bad idea because it dosen't allow you to apply length to a list of numbers 22:35 chimeracoder: Alright, so in R (language for statistics), you can have an operation that is applied either to an atom (scalar) or to a vector 22:35 chimeracoder: without prior knowledge of which it is 22:35 offby1 stares blankly 22:35 mithos28: can you have vectors of vectors? 22:36 offby1: of course 22:36 chimeracoder: mithos28: absolutely 22:36 lewis1711: does R even have scalars then? maybe they just treat scalars as vectors of length 1 22:36 chimeracoder: lewis1711: that's how MATLAB does it 22:36 lewis1711: what, so how does function application work? 22:37 lewis1711: f(x) - if x is a vector, does it map? 22:37 chimeracoder: lewis1711: not all functions implicitly map 22:37 mithos28: If I have a function which works on a vector, and I apply it to a vector of vectors, What happens? 22:37 chimeracoder: mithos28: it is implicitly mapped over the vector of vectors, so it's applied to each vector and returns a vector of whatever type the function returns 22:38 (join) ambrosebs 22:38 mithos28: but if it was a vector of numbers it wouldn't? 22:39 chimeracoder: er, then it would throw an error, I guess 22:39 chimeracoder: it's not defined for all operations 22:39 mithos28: But I gave it a vector, and it works on vectors 22:39 chimeracoder: it's been a while since I dove that deep into R, so I'm a bit hazy on the details, but it works well for basic things, like 22:39 chimeracoder: x <- c(1,2,3,4,5) 22:40 chimeracoder: x is now a list 22:40 chimeracoder: y <- x + 1 22:40 mithos28: what is c? 22:40 chimeracoder: y is now c(2,3,4,5,5) 22:40 chimeracoder: mithos28: just concatenate - list creation 22:40 chimeracoder: or like 22:40 chimeracoder: I can do 22:40 chimeracoder: x && y 22:41 chimeracoder: and if x and y are boolean (scalars), I get a single boolean response 22:41 chimeracoder: if they're boolean vectors, I get a vector of booleans, which is the result of applying n && m pairwise for each n,m pair in x,y 22:41 mithos28: does length(x) => 5 22:42 chimeracoder: sorry, I meant y results in c(2,3,4,5,6) 22:42 chimeracoder: but yes, the length of the result is the same 22:42 mithos28: what about length(c(x,y))? Does it go to 2 or c(5,5). 22:42 chimeracoder: neither; I think that's undefined 22:43 chimeracoder: but on the other hand 22:43 chimeracoder: x <- TRUE 22:43 chimeracoder: y <- c(TRUE, TRUE, FALSE, FALSE, TRUE) 22:43 chimeracoder: x && y ----- this would return the pairwise application of (TRUE && z) for all z in y 22:44 mithos28: This doesn't seem to scale well, it assumes that lists are different than other kinds of values. 22:45 (quit) ambrosebs: Ping timeout: 248 seconds 22:45 chimeracoder: mithos28: it doesn't work for arbitrary functions, no, but it works well in specific domains 22:45 chimeracoder: which is why it would be helpful here 22:45 mithos28: ok, I buy that 22:49 lewis1711: someone should make a java port of racket so I can use something better than ruby 22:49 mithos28: lewis1711: Use rhino and whalesong 22:49 (quit) chimeracoder: Ping timeout: 246 seconds 22:49 lewis1711: huh, look at that 22:50 lewis1711: I wonder if that's feasible 22:50 mithos28: well whalesong doesn't support racket/base yet, but its pretty good other than that 22:51 asumu: Is it just #%kernel or a different subset? 22:51 asumu: (i'm guessing smaller since there are like 1064 primitives there) 22:51 mithos28: its larger than #%kernel, in terms of syntax 22:51 mithos28: but not all the primitives 22:52 mithos28: I think it is enough to run world/universe programs 22:52 asumu: Nice. 22:52 mithos28: but I haven't talked with danny about it in a year 22:52 mithos28: but the page still says support for racket/base coming 22:54 mithos28: asumu: I figured out that my solution for dict/c on immutable dictionaries won't work 22:55 mithos28: chaperones are wierd, and treat hashes specially 22:55 lewis1711: wonder how hard it'd be to write a jvm backend 22:55 lewis1711: I mean there are programemrs now who think clojure is a good language 22:55 mithos28: lewis1711: Depends on what you want to be able to support 22:55 asumu: IIRC, it has been tried and it's not easy. 22:55 lewis1711: imagine if they had racket 22:55 mithos28: continuations are hard to implement on most machines 22:55 lewis1711: ah 22:55 asumu: Oh, actually I think they tried .NET. Not JVM. 22:56 mithos28: unless it was designed for it 22:56 lewis1711: some poor grad student should do it. hell I'd volunteer that for a project if my marks weren't so bad 22:56 (quit) jao: Ping timeout: 246 seconds 22:57 mithos28: The hard part is higher order functions (going racket -> native -> racket) and then capturing the continuation 22:58 mithos28: You need to be able to have a machine which supports that 22:59 asumu: mithos28: what's the special handling of hashes? 22:59 mithos28: Did you see my post to the list? 23:00 mithos28: dev-list 23:00 mithos28: (chaperone-of? (hash 'a 'b) (hash 'a 'b)) => #t 23:00 mithos28: But that is not true for other data types if they define their own equality 23:02 mithos28: in particular free-id-tables need their own custom equality check, to not check equality of the identifiers but free-id=? 23:02 (join) Demosthenes 23:04 asumu: Ah, hadn't read that e-mail yet. Will read it now. 23:05 (join) chimeracoder 23:07 (join) ghozi_ 23:07 (quit) ghozi: Disconnected by services 23:08 (part) ghozi_ 23:08 (join) ghozi 23:19 (join) ambrosebs 23:28 (join) vu3rdd 23:28 (quit) vu3rdd: Changing host 23:28 (join) vu3rdd 23:28 (join) jeapostrophe 23:29 (join) cdidd 23:30 (join) Kaylin 23:35 (join) snearch 23:40 (quit) snearch: Client Quit 23:43 (quit) ambrosebs: Ping timeout: 252 seconds