00:03 (join) ambrosebs 00:03 lewis1711: is there something like "range" that goes to the upper bound? 00:04 (quit) mithos28: Quit: mithos28 00:05 didi: rudybot: (range 10) 00:05 rudybot: didi: your sandbox is ready 00:05 rudybot: didi: ; Value: (0 1 2 3 4 5 6 7 8 9) 00:05 didi: lewis1711: Like that? 00:05 (join) hash_table 00:05 jonrafkind: i guess he wants it to hit 10 00:05 lewis1711: yeah 00:05 jonrafkind: isnt it a trivial problem.. just use add1 00:07 lewis1711: sure, but if it existed I'd used it 00:07 didi: rudybot: (define (enumerate n) (range (add1 n))) 00:07 rudybot: didi: Done. 00:07 didi: rudybot: (enumerate 10) 00:07 rudybot: didi: ; Value: (0 1 2 3 4 5 6 7 8 9 10) 00:07 didi: rudybot: (define (enumerate n) (range 1 (add1 n))) 00:07 rudybot: didi: Done. 00:07 didi: rudybot: (enumerate 10) 00:07 rudybot: didi: ; Value: (1 2 3 4 5 6 7 8 9 10) 00:09 lewis1711: I should've been more clear. It wasn't a problem i was having, more "Does this exist?". but thanks anyway 00:12 (join) RacketCommitBot 00:12 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/x74usQ 00:12 RacketCommitBot: racket/master 73395ee Neil Toronto: Finished and documented counting and binning functions in `math/statistics' 00:12 (part) RacketCommitBot 00:15 (quit) kofno: Remote host closed the connection 00:44 (quit) hash_table: Ping timeout: 255 seconds 00:44 (join) mizu_no_oto 00:51 (join) RacketCommitBot 00:51 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/dkK2rQ 00:51 RacketCommitBot: racket/master af8d021 Neil Toronto: Documented correlation and covariance 00:51 RacketCommitBot: racket/master 04fbb02 Neil Toronto: Changed argument order of binning functions for consistency with other... 00:51 (part) RacketCommitBot 00:53 (quit) didi: Remote host closed the connection 00:58 (join) mithos28 01:04 (join) bjz 01:05 (quit) bjz: Client Quit 01:05 (quit) gridaphobe: Remote host closed the connection 01:25 (quit) jonrafkind: Ping timeout: 244 seconds 01:25 (join) gridaphobe 01:27 (join) sw2wolf 01:29 (part) lewis1711 01:30 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 01:35 (quit) mithos28: Quit: mithos28 01:38 (quit) jeapostrophe: Ping timeout: 252 seconds 01:39 (join) mye 01:42 (join) mithos28 01:45 (join) jonrafkind 01:46 (quit) ambrosebs: Ping timeout: 248 seconds 01:54 (join) ambrosebs 02:04 (quit) rmathews: Quit: ... 02:05 (quit) mithos28: Quit: mithos28 02:06 (join) asvil 02:15 (join) mizu_no_oto 02:21 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 02:49 (quit) gridaphobe: Remote host closed the connection 03:16 (join) kofno 03:25 (quit) kofno: Ping timeout: 240 seconds 03:25 (part) sw2wolf: "ERC Version 5.3 (IRC client for Emacs)" 03:25 (part) ambrosebs 04:22 (quit) shriphani_: Quit: shriphani_ 04:23 (quit) cdidd: Read error: Connection reset by peer 04:26 (join) cdidd 04:27 (join) shriphani_ 04:38 (join) mithos28 04:43 (quit) jonrafkind: Ping timeout: 264 seconds 04:44 (quit) PCChris: Quit: Leaving 04:47 (join) lewis1711 04:47 (quit) Kaylin: Read error: Connection reset by peer 04:50 (quit) tewk: Ping timeout: 252 seconds 04:52 lewis1711: is a built in way to apply a function to a list at only one index? Like a "partial" map? 04:53 mithos28: You want a list of functions afterwards? 04:54 lewis1711: no, say apply a function only ot index one in a list 04:54 lewis1711: (partial-map add1 0 '(1 2)) => '(2 2) 04:54 mithos28: so list-update? 04:54 lewis1711: rudybot: list-update 04:54 rudybot: lewis1711: there is list-update which takes an index not an equality procedure 04:54 mithos28: rudybot: init racket 04:54 rudybot: mithos28: your sandbox is ready 04:55 mithos28: rudybot: (require unstable/list) 04:55 rudybot: mithos28: Done. 04:55 mithos28: rudybot: (list-update '(1 2) 0 add1) 04:55 rudybot: mithos28: error: reference to an identifier before its definition: list-update in module: 'program 04:55 lewis1711: there's a lot of juicy stuff in unstable/list. I hope it stabilises 04:56 mithos28: lewis1711: Unlikely 04:56 mithos28: Just use it as it is now, and if it changes rewrite the small function in your module 04:56 Havvy: Why unlikely? 04:57 mithos28: Because of how long some of those functions have been there without making it in 04:58 lewis1711: I don't have list-update here :/ 04:58 mithos28: lewis1711: Are you not using 5.3.1? 04:58 lewis1711: 5.3 04:59 lewis1711: that'll be it 05:02 (quit) mithos28: Quit: mithos28 05:38 (join) bitonic 06:05 (join) MayDaniel 06:20 (join) ambrosebs 06:22 (part) lewis1711 06:39 (quit) MayDaniel: Read error: Connection reset by peer 06:49 asvil: http://bpaste.net/show/LBVtR9OJPsBReGQfW0NG/ Got this error while (require drracket) 06:49 asvil: hi all. ^ 06:53 (join) MayDaniel 07:20 (join) nathanpc 07:28 (quit) MayDaniel: Read error: Connection reset by peer 07:45 (quit) Nisstyre: Ping timeout: 256 seconds 07:59 (join) Nisstyre 08:20 (join) rmathews 08:33 (quit) Demosthenex: Ping timeout: 244 seconds 08:35 (join) Demosthenex 08:41 (join) MayDaniel 08:44 (quit) sizz: Ping timeout: 248 seconds 08:48 (join) sizz 08:50 (join) masm 08:57 (join) francisl 08:58 (join) anRch 08:59 (join) jeapostrophe 08:59 (quit) jeapostrophe: Changing host 08:59 (join) jeapostrophe 09:11 (quit) rmathews: Quit: ... 09:15 (quit) jeapostrophe: Ping timeout: 252 seconds 09:19 (join) jeapostrophe 09:19 (quit) jeapostrophe: Changing host 09:19 (join) jeapostrophe 09:22 (quit) masm: Ping timeout: 240 seconds 09:23 (join) masm 09:29 (join) soegaard 09:34 (quit) ambrosebs: Ping timeout: 255 seconds 09:42 (join) ambrosebs 09:51 (join) kofno 09:55 (join) RacketCommitBot 09:55 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/pD-y0w 09:55 RacketCommitBot: racket/master 8907daf Robby Findler: make the queue-callback/res function queue low-priority callbacks... 09:55 (part) RacketCommitBot 10:04 (quit) anRch: Quit: anRch 10:26 (quit) bitonic: Ping timeout: 265 seconds 10:27 (join) mizu_no_oto 10:46 (quit) richo: Ping timeout: 245 seconds 10:48 (join) richo 10:48 (quit) richo: Changing host 10:48 (join) richo 10:58 (quit) kofno: Remote host closed the connection 11:05 (join) ijp` 11:07 (quit) ijp: Ping timeout: 264 seconds 11:11 (join) bitonic 11:19 (join) MayDaniel_ 11:22 (quit) MayDaniel: Ping timeout: 259 seconds 11:31 (quit) richo: Read error: Connection reset by peer 11:32 (join) richo 11:57 (join) jao 11:57 (quit) jao: Changing host 11:57 (join) jao 12:09 (join) acarrico 12:26 asvil: It seems that drracket from git repo does not work. 12:26 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 12:30 (quit) myx: Quit: ушёл 12:30 (join) myx 12:33 asumu: asvil: hmm, that's odd. Last I checked it worked for me. I'll pull the most recent changes and see... 12:33 asumu: Probably worth submitting a bug report. 12:35 (join) mithos28 12:36 asvil: asumu: please tell, what is the way to build drracket? I have used "configure && make && gracket/gracket3m (require drracket)" 12:37 mithos28: asvil: you missed make install 12:37 bremner: which actually is the slow step, surprising to some people 12:38 (quit) ambrosebs: Ping timeout: 265 seconds 12:40 (quit) jeapostrophe: Read error: Operation timed out 12:41 asvil: mithos28: make install failed: get-info: info file has illegal #lang or #reader 12:42 mithos28: asvil: I don't know what to do in that case 12:42 (join) jonrafkind 12:57 asumu: asvil: it's easiest if you follow the steps in https://github.com/plt/racket/blob/master/src/README to the t. 12:57 asumu: If that doesn't work, then there might be a bug. 12:57 asvil: after make install (even after make error) drracket feels better, progress bar goes to end, but main windows is not showed. 13:13 (quit) MayDaniel_: Ping timeout: 240 seconds 13:25 (quit) asvil: Ping timeout: 255 seconds 13:27 (join) nejucomo 13:33 (join) Agent-P 13:38 (join) hash_table 13:43 (quit) Agent-P: Quit: Verlassend 13:46 (quit) vu3rdd: Remote host closed the connection 13:46 (join) Kaylin 14:02 (quit) Shviller: Read error: Connection reset by peer 14:03 (join) Shviller 14:36 ozzloy: rudybot, init racket 14:36 rudybot: ozzloy: your sandbox is ready 14:38 ozzloy: rudybot, (define (enumerate n) (map add1 (range n))) 14:38 rudybot: ozzloy: Done. 14:38 ozzloy: (enumerate 10) 14:38 ozzloy: rudybot, (enumerate 10) 14:38 rudybot: ozzloy: ; Value: (1 2 3 4 5 6 7 8 9 10) 14:39 ozzloy: that's what i thought 14:44 (quit) nejucomo: Ping timeout: 276 seconds 14:53 (join) masm1 14:54 (quit) masm: Ping timeout: 260 seconds 14:59 (nick) ijp` -> ijp 15:02 (join) pgiarrusso 15:02 pgiarrusso: Hi all! 15:03 pgiarrusso: I'm confused about installing Racket on Mac OS X (by which I mean, I would argue that the "installer" is not very usable, but I'm not 100% sure). 15:03 pgiarrusso: Is this channel an appropriate place? 15:18 (quit) francisl: Quit: francisl 15:21 (join) mizu_no_oto 15:27 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 15:28 (join) neilv 15:28 (quit) cdidd: Read error: Connection reset by peer 15:33 (quit) mithos28: Quit: mithos28 15:33 (join) mithos28 15:33 Haffe: Sure. 15:34 Haffe: I am running Drracket on Osx. 15:36 soegaard: pgiarrusso: What is the issue? 15:37 pgiarrusso: OK! 15:37 pgiarrusso: The issue is not technical, is basically a usability issue 15:37 pgiarrusso: The installer comes in a DMG without installation instruction 15:37 pgiarrusso: a 15:38 pgiarrusso: and the documentation explains that "installing" DrRacket (in some way) allows me to run the "race" command 15:38 pgiarrusso: without saying how 15:38 Haffe: Mount dmg, drag app to Applications folder? 15:38 pgiarrusso: I know how to get raco to work, but it's not just what you descrybe 15:38 pgiarrusso: *describe 15:39 soegaard: Do you have a link to the documentation in question? 15:39 pgiarrusso: http://docs.racket-lang.org/getting-started/index.html 15:39 mithos28: I don't believe there is any documentation on the 'installing' the command line tools for OSX 15:40 pgiarrusso: Indeed 15:40 soegaard: I see your point. 15:40 pgiarrusso: mithos28, you're right 15:40 pgiarrusso: but the README says "Racket comes with extensive documentation: use DrRacket's `Help' menu, 15:40 pgiarrusso: or run `raco docs'. Also, visit us at http://racket-lang.org/ for more 15:40 pgiarrusso: Racket resources." 15:40 mithos28: The issue is I don't think there is a standard way to install command line tools in os x 15:41 pgiarrusso: mithos28: you can document how to do it manually (and I'd be fine with that) 15:42 pgiarrusso: or have an mpkg installer do it (there are also semi-standard ways to do that, but I'm no expert: http://stackoverflow.com/a/9048601/53974) 15:42 mithos28: pgiarrusso: You need to edit your PATH 15:42 (quit) neilv: Quit: Leaving 15:42 pgiarrusso: Yes, I know that 15:43 pgiarrusso: but I'm just asking for documentation on it 15:44 pgiarrusso: Personally, I can figure it all out, but when I get a DMG I'm usually not *supposed* to figure out anything 15:44 mithos28: Right, which is why adding documentation is the wrong solution 15:44 pgiarrusso: I see two choices: 15:45 pgiarrusso: 1) automate everything with an mpkg installer 15:45 pgiarrusso: (better, if possible) 15:45 pgiarrusso: 2) use a zip instead of a dmg and add documentation. However ridiculous it might sound, I believe the extension has in practice a certain semantics. 15:47 pgiarrusso: Also, as a cosmetic point, am I really supposed to have a bin directory in my /Applications folder? 15:47 pgiarrusso: (yes, under a folder, but still...) 15:47 mithos28: why not? 15:48 pgiarrusso: By convention, within /Applications there are only icons to click 15:48 mithos28: Can you link to an apple doc saying that? 15:49 mithos28: Adobe doesn't follow that last time I used their software 15:49 mithos28: Diablo3 doesn't follow that 15:49 pgiarrusso: On that, I have only anecdotical evidence which includes MacTeX and MacPorts 15:50 pgiarrusso: but well, I guess that I should accept your evidence 15:51 pgiarrusso: I still think it's ugly since those programs are not designed to be clicked from there, but that's just my opinion I guess... 15:52 mithos28: Where should they be installed? 15:53 pgiarrusso: solutions include /opt/racket (my first attempt) or /usr/local (including /usr/local/something) 15:53 mithos28: How does that work with multiple versions of racket? 15:54 mithos28: That loses the fact that currently everything (modulo prefs) is installed in that folder in Applications 15:55 pgiarrusso: If you want multiple versions at the same time from the command line, you need version numbers in the name and some default selection mechanism (as for Python and Java) 15:56 mithos28: and can be installed somewhere else without admin privleges 15:56 pgiarrusso: What I did on my system was simply to hide the bin, etc. folders (from the GUI only), like /bin, /usr and so on 15:57 mithos28: The solution for changing your path, is to add a file in paths.d 15:58 mithos28: in /etc/paths.d 15:58 pgiarrusso: I see, interesting! 15:58 pgiarrusso: But that requires admin privileges, right? 15:59 mithos28: right, blame os x for not having a ~/.paths.d 15:59 mithos28: man path_helper for how it is used 15:59 pgiarrusso: But you have an environment.plist in the home ;-) 16:00 pgiarrusso: the answer I linked suggests altering ~/.MacOSX/environment.plist 16:01 pgiarrusso: which should be doable programmatically with plutil(1) 16:01 pgiarrusso: I retract, plutil can't do that 16:02 mithos28: If you really want this fixed, file a bug report and provide the couple of options we have discussed. 16:02 (quit) myx: Quit: ушёл 16:03 pgiarrusso: mithos28: thanks for the feedback, I'm going to do that 16:04 mithos28: Does anyone know if racket has a multicast queue? I.e. like async-channel but with multiple readers? 16:35 (quit) bitonic: Ping timeout: 260 seconds 16:37 (join) mizu_no_oto 16:42 (quit) mizu_no_oto: Client Quit 16:48 (join) mizu_no_oto 16:49 (quit) mizu_no_oto: Client Quit 16:49 (join) jeapostrophe 16:49 (quit) jeapostrophe: Changing host 16:49 (join) jeapostrophe 16:51 (join) RacketCommitBot 16:51 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/o1ievw 16:51 RacketCommitBot: racket/master 5b016b4 Matthew Flatt: win32: support MinGW build... 16:51 (part) RacketCommitBot 16:51 (join) mizu_no_oto 16:52 (quit) mizu_no_oto: Client Quit 16:58 (quit) jonrafkind: Ping timeout: 260 seconds 17:00 (join) RacketCommitBot 17:00 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/shYl3Q 17:00 RacketCommitBot: racket/master bca4f47 Matthew Flatt: fix `configure' typo for MinGW 17:00 RacketCommitBot: racket/master 8f3cdd3 Matthew Flatt: fix miscapitalization... 17:00 (part) RacketCommitBot 17:01 (join) masm 17:02 (quit) masm1: Ping timeout: 244 seconds 17:09 (join) anRch 17:11 (join) bitonic 17:16 (join) Nisstyre-laptop 17:18 (join) RacketCommitBot 17:18 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/B75Kxw 17:18 RacketCommitBot: racket/master 6aa6dc0 Greg Hendershott: Add a Markdown rendering mode to Scribble.... 17:18 (part) RacketCommitBot 17:23 (join) mye_ 17:27 (quit) mye: Ping timeout: 240 seconds 17:27 (nick) mye_ -> mye 17:32 (join) mizu_no_oto 17:35 (quit) Nisstyre-laptop: Quit: Leaving 17:38 (join) Nisstyre-laptop 17:39 (quit) richo: Ping timeout: 245 seconds 17:44 (join) francisl 17:59 (quit) Kaylin: Read error: Connection reset by peer 18:03 (quit) anRch: Quit: anRch 18:04 (join) mye_ 18:05 (nick) mye_ -> mye 18:07 (quit) karswell: Remote host closed the connection 18:09 (quit) mithos28: Quit: mithos28 18:10 (part) pgiarrusso 18:11 (quit) hash_table: Ping timeout: 260 seconds 18:11 (join) richo 18:12 (join) mithos28 18:17 (join) karswell 18:18 (quit) jeapostrophe: Ping timeout: 250 seconds 18:32 (quit) soegaard: Quit: soegaard 18:34 (quit) shriphani_: Ping timeout: 264 seconds 18:35 (quit) jrslepak: Quit: What happened to Systems A through E? 18:42 (join) shriphani_ 18:43 (quit) otterdam: Quit: ZNC - http://znc.sourceforge.net 18:44 (join) otterdam 18:51 (join) lewis1711 19:00 (join) dyoo 19:03 dyoo: mye: I pushed up new documentation for that ordered set library (https://github.com/dyoo/data-red-black/blob/master/data/red-black/ordered-set.scrbl). You should be able to git pull to grab it. Hope this helps! 19:03 rudybot: http://tinyurl.com/by77n48 19:05 (quit) mithos28: Quit: mithos28 19:05 lewis1711: dyoo: ordered sets? useful :) 19:06 dyoo: I hope so; let me know if you find them handy 19:07 mye: dyoo: Cool. I skimmed the tree code for a bit and wondered about the differences between augmented and positional. They don't seem to share code ?! 19:07 dyoo: mye: specialized. Basically I took positional.rkt, copied and pasted. 19:07 mye: I'm now playing around with annotated parse trees so maybe I can use the augmented version for the annotations. 19:08 dyoo: mye: there are certain optimizations I made in positional, knowing how the update function worked. the augmented version can't make those assumptions 19:09 mye: however, a representation as a hash table where both the parsed values and the vanilla syntax objects are in memory would also allow me to do what I want to do 19:11 dyoo: mye: coo; what will you be doing with the parse trees, out of curiosity? 19:11 dyoo: s/coo/cool 19:11 mye: dyoo: I need idempotent parsing/unparsing 19:11 lewis1711: trying to translate some haskell into racket. http://zvon.org/other/haskell/Outputprelude/iterate_f.html anyone know how to do the equivalent of this list function? 19:12 dyoo: Ah, I remember you were talking about this before. Ok, so whitespace and comments too, right? 19:12 mye: so the first insight was that I want syntax objects and http://www.neilvandyke.org/racket-progedit/ 19:12 lewis1711: (doesn't need to be infinite) 19:12 mye: now I must keep track of the edits, not sure how to do that though 19:13 dyoo: lewis1711: checking the sequence docs to see if someone's already coded it... 19:14 lewis1711: those haskell people may be strange with their monads and purity but they do have some nice list functions 19:14 dyoo: lewis1711: is sequence-fold the same thing? Hmmm... 19:14 dyoo: checking... 19:15 lewis1711: http://docs.racket-lang.org/srfi-std/srfi-41/srfi-41.html?q=iterate#stream-iterate hmm 19:15 rudybot: http://tinyurl.com/bgxbstu 19:15 (join) spiderweb 19:17 dyoo: rudybot: (define my-seq (sequence-fold (lambda (x acc) (* acc 2)) 1 (in-cycle 'dontcare))) 19:17 rudybot: dyoo: your sandbox is ready 19:17 rudybot: dyoo: error: in-cycle: expected argument of type ; given: 'dontcare 19:17 (quit) francisl: Quit: francisl 19:17 dyoo: (define my-seq (sequence-fold (lambda (x acc) (* acc 2)) 1 (in-cycle '(dontcare)))) 19:17 dyoo: gah... 19:18 dyoo: rudybot: (define my-seq (sequence-fold (lambda (x acc) (* acc 2)) 1 (in-cycle '(dontcare)))) 19:18 rudybot: dyoo: error: *: expects type as 1st argument, given: 'dontcare; other arguments were: 2 19:18 lewis1711: the srf-41 thing looks exactly like iterate, except.. are srf-41 streams racket streams? may get confusing 19:21 lewis1711: oh it looks like they are 19:21 dyoo: lewis1711: https://gist.github.com/4247639 19:21 dyoo: here you go 19:22 dyoo: sorry, I'm pretty sure we can stitch it together from existing elements in the sequence library, but I'm practicing writing sequences with the primitive make-do-sequence 19:22 lewis1711: no problem :) 19:22 lewis1711: well I will see what make-do-sequence does before I decide 19:23 dyoo: I'll add this to the reference docs for make-do-sequence when I get the chance. 19:23 dyoo: it's the primitive for making sequences from scratch. Basically, you provide a few functions for determining inital element, how to get to the next, and how to stop. 19:24 dyoo: the problem being it's very general, and the docs don't show simple example usage, so the function's fairly inscrutable. (example: why the heck does it take 3 separate functions to determine sequence termination?!) 19:24 mye: I tried writing sequence-map3 a couple days ago (with make-do-sequence) failed, the discovered sequence-add-between :-) 19:25 mye: it would call the given function with three elements at a time 19:25 dyoo: hmmm... 19:25 mye: but I just wanted it to implement what add-between does so I'm set 19:25 lewis1711: wow, the srfis still have a lot of functionality that racket doesn't. just looking at 43(vectors) now 19:26 lewis1711 still keeps discovering part of racket he didn't know existed every few days 19:27 dyoo: lewis1711: racket is huge. If the intro cs students actually saw that their "toy" language has all of this stuff, I'm not sure if they'd be excited or demoralized. :) 19:27 mye: dyoo: both! 19:28 lewis1711: I am so incredibly jealous that their are CS departments there that start with racket 19:28 dyoo: Yikes; didn't notice it's getting dark here in utah. Better start walking home for dinner. Talk later! 19:28 (quit) dyoo: Quit: dyoo 19:31 (join) mithos28 19:32 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 19:35 (join) mizu_no_oto 19:37 (quit) mizu_no_oto: Client Quit 19:40 (quit) bitonic: Remote host closed the connection 19:40 (join) bitonic 19:43 (join) jonrafkind 19:43 (quit) jonrafkind: Changing host 19:43 (join) jonrafkind 19:45 (join) jeapostrophe 19:45 (quit) jeapostrophe: Changing host 19:45 (join) jeapostrophe 19:47 (quit) mithos28: Quit: mithos28 19:48 (join) jrslepak 19:51 (quit) masm: Quit: Leaving. 19:53 (join) mizu_no_oto 20:01 (join) Kaylin 20:09 (join) kofno 20:12 (join) mithos28 20:18 (quit) jrslepak: Quit: What happened to Systems A through E? 20:37 (join) jrslepak 20:39 (quit) jeapostrophe: Read error: Connection reset by peer 20:39 (join) jeapostrophe 20:39 (quit) jeapostrophe: Changing host 20:39 (join) jeapostrophe 20:40 (quit) rapacity: Remote host closed the connection 20:41 (join) francisl 20:42 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 20:56 (join) rapacity 21:02 (quit) Demosthenex: Quit: leaving 21:02 (join) Demosthenex 21:04 (quit) mithos28: Quit: mithos28 21:07 (join) mithos28 21:19 (quit) jeapostrophe: Ping timeout: 250 seconds 21:19 (quit) mithos28: Quit: mithos28 21:50 (join) hash_table 21:58 lewis1711: I think I think it's better to write out complicated procedures the long way first rather than trying to factor away repetition into separate procedures too early. 22:09 (quit) hash_table: Ping timeout: 256 seconds 22:22 (join) gridaphobe 22:36 (quit) richo: Ping timeout: 245 seconds 22:37 (quit) bitonic: Ping timeout: 255 seconds 22:43 (quit) shriphani_: Remote host closed the connection 22:43 (quit) nathanpc: Quit: Computer has gone to sleep. 22:43 (join) shriphani_ 22:44 lewis1711: further note to self - do not try and literally translate haskell or it looks like this: http://pastebin.com/mBpQwt3R :/ 22:45 offby1 clicks the "Report Abuse" link 22:45 offby1: apparently you're a human compiler. 22:46 lewis1711: LOL 22:51 ijp: personally, my scheme is too haskelly, and my haskell too schemey 22:51 lewis1711: the haskellers don't like it when you do "div 1 2" 22:52 jonrafkind: what happens when you do that 22:52 ijp: you get 1 22:52 lewis1711: my point was, to them it's clearer to do " 1 `div` 2" 22:53 lewis1711: (infix vs prefix) 22:53 jonrafkind: thats crazy talk 22:53 ijp: they are very parenphobic too 22:53 jonrafkind: humans have been using prefix for hundreds of years! 22:54 lewis1711: ijp: oh yes they love their $ don't they 22:54 lewis1711: jonrafkind: honestly I got ever that aspect of LISP really, really quickly. i don't get why it's such a sticking point for people. 22:54 (quit) Shviller: Ping timeout: 264 seconds 22:55 (join) Shviller 22:55 ijp: lewis1711: who doesn't love them some $ 22:55 jonrafkind: maybe because people have been using infix syntax for hundreds of years..? 22:55 lewis1711: most people aren't that old :) 22:55 jonrafkind: touche 22:56 jonrafkind: im going to start a new language that uses *#@ instead of left paren and &!^ for right paren and then when people complain about the syntax ill say 'theyre obviously just *#@ and &!^-phobic!' 22:57 (quit) gridaphobe: Quit: ERC Version 5.3 (IRC client for Emacs) 22:57 offby1: obviously 22:57 jonrafkind: clearly theres no other explanation 22:59 lewis1711: oh, no i do think there are too many parens still. but for me that mainly comes down to scheme being more minimalist and not believe much in sugar 22:59 (join) richo 22:59 (quit) richo: Changing host 22:59 (join) richo 23:02 (join) gridaphobe 23:03 (quit) gridaphobe: Client Quit 23:03 (quit) kofno: Remote host closed the connection 23:09 lewis1711: offby1: http://pastebin.com/vtkzL2dd slightly less abusive? 23:09 offby1: indeed 23:10 lewis1711: I am wondering if there is a shorter way to shuffle every elemement in a list of lists 23:10 lewis1711: (match l [(list z x y) (list x y z)]) 23:10 lewis1711: probably not 23:11 lewis1711: oh well it works and I am sick of the problem 23:12 offby1: (map shuffle list) ? 23:14 lewis1711: it's two deterministic shuffles 23:14 lewis1711: one is the match I posted, the other is just a reverse 23:15 lewis1711: actually the proc at line 13 is the worst offender. full of haskellisms like using infinite streams. though I still don't really get what it does 23:19 lewis1711: oh I don't have to convert to lists until the end, i can jsut use stream-car from srfi42 23:23 lewis1711: ... I don't need streams at all. herp 23:32 (join) gridaphobe 23:35 (join) cdidd 23:36 (quit) gridaphobe: Remote host closed the connection 23:38 (join) gridaphobe 23:38 (join) sw2wolf 23:55 (quit) gridaphobe: Remote host closed the connection 23:56 (join) gridaphobe 23:58 (join) mithos28 23:59 (join) jeapostrophe