00:00 eli: So I think that they should be flipped. 00:00 offby1: eli: do you suppose using "match" to do some simple XML processing -- the sort of thing xpath was intended for -- is reasonable? 00:00 offby1: assuming I'm starting with SXML, that is. 00:00 eli: offby1: I do it a lot, using our xexprs, which is probably similar 00:00 offby1: there ya go; thanks. 00:01 offby1: (I'd use xpath except I cannot decipher the sxpath docs :-) 00:01 eli: offby1: There's a `list-no-order' thing which is useful for attributes. 00:01 eli: Also, I mix it with some recursive scanning usually, which is where I'd expect xpath to be more useful. 00:01 asumu: eli: Yeah, much prefer `splitf-at`. Argument order as in take the list first like findf, memf, etc.? 00:02 eli: asumu: Yes. 00:02 asumu: Err, findf takes the proc first 00:02 asumu: And memf it turns out. 00:02 eli: Yes, unfortunately. 00:02 eli: I dislike this order. 00:02 (join) mizu_no_oto 00:03 asumu: All of the foof functions so far seem to use this order though. 00:03 eli: But it's important to allow people to replace `foo' by `foof' and the index by a predicate. 00:03 eli: If it were up to me, I'd swap the arguments to `take' etc a *long* time ago. 00:03 eli: (See `take' in the lazy language...) 00:07 asumu: Well, either way we lose since I could imagine someone writing `takef` and think it's like `findf` or go `take` -> `takef`. Blagh. 00:08 eli: Yes. 00:17 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 00:18 (join) vipjun 00:19 (quit) sstrickl: Quit: sstrickl 00:43 (quit) adu: Quit: adu 00:46 (join) adu 00:55 (join) ambrosebs 01:00 eli: asumu: ping 01:04 (quit) lemald: Quit: leaving 01:11 (join) hypnocat 01:29 (join) sirdancealo2 01:29 (quit) Fare: Read error: Operation timed out 01:34 (quit) ambrosebs: Remote host closed the connection 01:43 (join) mithos28 01:48 (quit) mithos28: Ping timeout: 256 seconds 01:48 (join) Fare 01:49 (join) mithos28 01:54 (quit) mithos28: Ping timeout: 240 seconds 01:56 (join) mithos28 01:59 (quit) adu: Quit: adu 02:00 (quit) mithos28: Ping timeout: 250 seconds 02:03 (join) mithos28 02:04 (join) platinuum 02:08 (quit) mithos28: Ping timeout: 264 seconds 02:11 (join) mithos28 02:15 (quit) mithos28: Ping timeout: 260 seconds 02:15 (join) vkz 02:18 (join) mithos28 02:22 (quit) mithos28: Ping timeout: 252 seconds 02:25 (join) mithos28 02:29 (join) jonrafkind 02:29 (quit) mithos28: Ping timeout: 248 seconds 02:33 (quit) vkz: Quit: vkz 02:33 (join) mithos28 02:38 (quit) mithos28: Ping timeout: 245 seconds 02:39 (quit) jonrafkind: Ping timeout: 264 seconds 02:41 (join) mithos28 02:46 (quit) mithos28: Ping timeout: 276 seconds 02:49 (join) cnonim 02:49 (join) mithos28 02:50 cnonim: how i can check how many values return function? 02:51 (join) basdirks 02:54 (quit) mithos28: Ping timeout: 260 seconds 02:54 (quit) jao: Remote host closed the connection 02:55 (quit) yacks: Ping timeout: 250 seconds 02:56 (join) mithos28 03:01 (join) jao 03:01 (quit) jao: Changing host 03:01 (join) jao 03:02 (quit) mithos28: Ping timeout: 245 seconds 03:05 (join) mithos28 03:09 (quit) mithos28: Ping timeout: 255 seconds 03:12 (join) mithos28 03:17 (quit) mithos28: Ping timeout: 248 seconds 03:21 (join) mithos28 03:23 (join) yacks 03:25 (quit) mithos28: Ping timeout: 256 seconds 03:28 (join) mithos28 03:33 (quit) mithos28: Ping timeout: 255 seconds 03:36 (join) mithos28 03:40 (quit) mithos28: Ping timeout: 250 seconds 03:44 (join) mithos28 03:48 (quit) mithos28: Ping timeout: 252 seconds 03:51 (join) mithos28 03:55 (quit) mithos28: Ping timeout: 240 seconds 03:59 (join) mithos28 04:01 (quit) mithos28: Read error: Connection reset by peer 04:01 (join) mithos28 04:11 dented42: cnonim: pardon? 04:11 dented42: you mean how many values a function returns? 04:20 (quit) rohni: Quit: Leaving. 04:25 (quit) mithos28: Quit: mithos28 04:27 (join) bitonic 04:32 (quit) Fare: Ping timeout: 245 seconds 04:39 (quit) racycle: Quit: racycle 04:40 (quit) dented42: Ping timeout: 245 seconds 04:46 (join) Fare 04:46 (join) dented42 04:50 (quit) yacks: Ping timeout: 252 seconds 04:50 (join) duikboot 04:50 (quit) duikboot: Client Quit 04:54 (quit) cnonim: Ping timeout: 245 seconds 05:09 (quit) cored: Ping timeout: 248 seconds 05:16 (join) cored 05:16 (quit) cored: Changing host 05:16 (join) cored 05:18 (join) yacks 05:42 (quit) jao: Ping timeout: 260 seconds 05:47 (join) cdidd 05:53 (quit) bitonic: Ping timeout: 276 seconds 06:17 (quit) basdirks: Ping timeout: 256 seconds 06:27 (quit) shriphani: Ping timeout: 245 seconds 06:56 (join) basdirks 07:04 (quit) dented42: Ping timeout: 260 seconds 07:04 (quit) codeblack: Ping timeout: 260 seconds 07:04 (join) duikboot 07:09 (join) dented42 07:19 (join) bitonic 07:29 (join) ambrosebs 07:32 (join) soegaard 07:35 (join) netrino 07:41 (quit) ambrosebs: Remote host closed the connection 07:48 (join) jeapostrophe 07:48 (quit) jeapostrophe: Changing host 07:48 (join) jeapostrophe 08:04 (join) ambrosebs 08:22 (join) Aune 08:35 (join) RacketCommitBot 08:35 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/oKEz1w 08:35 RacketCommitBot: racket/master b1db073 Mike Sperber: Synch German string constants with latest. 08:35 (part) RacketCommitBot 08:48 (join) sstrickl 08:48 (quit) sstrickl: Changing host 08:48 (join) sstrickl 08:50 (quit) vipjun: 09:10 (join) RacketCommitBot 09:10 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/5J3MCg 09:10 RacketCommitBot: racket/master 2fb49ac Stevie Strickland: Use old inefficient implementation for top-level for now. 09:10 (part) RacketCommitBot 09:10 (quit) sstrickl: Quit: sstrickl 09:29 (quit) jeapostrophe: Read error: Operation timed out 09:41 (quit) duikboot: Quit: Leaving 10:12 (quit) ambrosebs: Remote host closed the connection 10:16 (join) sstrickl 10:16 (quit) sstrickl: Changing host 10:16 (join) sstrickl 10:22 (join) RacketCommitBot 10:22 RacketCommitBot: [racket] plt pushed 6 new commits to master: http://git.io/GaxkLg 10:22 RacketCommitBot: racket/master 609672b Robby Findler: bugfix in the closure support 10:22 RacketCommitBot: racket/master 87f76e9 Robby Findler: allow quote require forms in the argument to allocator-setup... 10:22 RacketCommitBot: racket/master 3311387 Robby Findler: when anormalizing, never lift out identifiers from application expressions... 10:22 (part) RacketCommitBot 10:23 netrino: Greetings, racketeers! Why does program in DrRacket runs significantly slowly then in the console? 10:26 bremner: netrino: check your language options 10:28 eli: bremner: Did you see the pl language discussion from a few days ago? 10:28 bremner: eli: only vaguely. Something about boxes being broken? 10:29 eli: Yes. 10:29 bremner: is it fixable? 10:29 eli: The problem with one of the recent fixes is that constructors have the wrong type. 10:29 netrino: bremner: how does this affect performance? I mean not startup time, but execution time of separate functions (measured with `time`). Anyway, in DrRacket I have "Determine language from source" and #lang racket/base in the source 10:29 eli: bremner: For a quick example, given the usual (define-type AE [Num Number] ...) -- 10:30 eli: the problem would be that the `Num' constructor would get a result type of `Num', instead of `AE'. 10:30 eli: This is usually not a problem -- except with boxes, since they don't have subtyping that follows from their contents. 10:30 bremner: I thought you ripped out constructor names? 10:30 bremner: oh, no, sorry 10:30 bremner: variant names are still there, obviously 10:31 eli: Yeah, the constructor names are just constructors, they're not bound type names. 10:31 eli: Which was also pretty confusing. 10:31 eli: In any case, the new code has all of that sorted out. 10:31 bremner: oh, cool. Is it still only in a private repo? 10:32 bremner: netrino: look under Dynamic Properties. e.g. syntactic test suite coverage slows it down. 10:32 eli: Yeah -- I can either send it to you, or you can get the new sources from pl.barzilay.org/pl.plt 10:32 bremner: the latter is fine, I think. 10:32 eli: The relevant changes are all in the lang/datatype directory. 10:33 eli: And BTW, you had some quick intro thing written, right? 10:33 eli: (I have a friend in Israel who is doing this, and a tutorial would be useful for him.) 10:35 (join) Kaylin 10:35 bremner: eli: yes, there are some things in http://www.cs.unb.ca/~bremner/teaching/cs3613/lectures/ ; probably lecture 0 is the only thing that is in addition to your lecture notes. 10:36 bremner: also in a more plain text form:http://www.cs.unb.ca/~bremner/teaching/cs3613/racket/plai-quick-ref.rkt/ 10:36 bremner: I see the title is wrong, it isn't plai, but pl 10:37 bremner: eli: btw, in your hw setup, are the tests.rktl only run web.rkt? 10:37 eli: bremner: Thanks -- I'll pass it along to him. 10:37 eli: Re the title, it's plai-something -- "pl" was me allowing myself to use a completely generic name which makes sense in my course... 10:38 bremner: yeah, that's true. Or at least enough for lazy me. 10:38 eli: For the hw setup -- I have a particular workflow with the grader, 10:38 eli: Students submit their homeworks which get the minimal checking in the checkers (usually that the expected functions are in), 10:39 (join) racycle 10:39 eli: I then run a script that copies the submissions into a grading subdirectory which is a submodule repo that I share with the grader, 10:39 eli: It also copies the solutions and the tests, 10:39 eli: and then the grader can use a script that runs all submissions against all tests. 10:39 eli: This gives him a quick view of who messed up where. 10:40 eli: But all of that requires using my particular homework setup, which you probably don't. 10:40 bremner: OK, I may or may not be passing that info to the grader. 10:40 eli: To use the just the tests, see ~/pl/test-files 10:41 eli: It's runnabale as a script (with the usual "-h" for help) 10:41 eli: And you can give it a test file and a bunch of student files. 10:42 eli: My experience with graders is that you should try to run it yourself, then tell him exactly what to do. 10:42 eli: Also, in relatively rare cases I'll have a grader who is good enough to actually add test cases. 10:43 (quit) soegaard: Quit: soegaard 10:46 bremner: I am using pack-submissions; it looks like maybe sync-submissions is the fancier one 10:47 bremner: anyway, thanks for the help, I have to leave for while. 10:48 eli: Yeah, pack-submissions is an older thing, for an email-based workflow. 10:54 (join) mizu_no_oto 10:57 (join) RacketCommitBot 10:57 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/eQGC2g 10:57 RacketCommitBot: racket/master 7d1ad25 Stevie Strickland: Revert hack for top-level, institute real fix.... 10:57 (part) RacketCommitBot 11:06 netrino: bremner: yes, i've turned off debug/profiling and it becomes faster, thanks for the help. 11:07 (join) mithos28 11:15 (join) anRch 11:25 (join) ambrosebs 11:33 (quit) Kaylin: Read error: Connection reset by peer 11:44 (join) anonymous97890 11:53 (join) soegaard 11:54 (quit) anonymous97890: Ping timeout: 276 seconds 11:59 (quit) anRch: Quit: anRch 12:00 (quit) ambrosebs: Ping timeout: 264 seconds 12:04 (part) hypnocat: "..." 12:07 (join) anRch 12:10 (join) adu_ 12:17 (quit) mithos28: Quit: mithos28 12:23 (join) mithos28 12:35 (join) ambrosebs 12:37 (quit) anRch: Quit: anRch 12:54 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 13:00 (join) codeblack 13:04 (join) walter 13:13 (quit) ambrosebs: Remote host closed the connection 13:15 (quit) netrino: Ping timeout: 250 seconds 13:20 (join) skchrko 13:20 (quit) adu_: Quit: adu_ 13:29 (quit) mithos28: Quit: mithos28 13:38 (quit) soegaard: Quit: soegaard 13:52 (join) netrino 13:58 (join) soegaard 14:02 (quit) bitonic: Ping timeout: 255 seconds 14:09 eli: asumu: Also, the `list?' check is wrong 14:13 eli: stamourv: ping 14:13 (join) vkz 14:14 (quit) soegaard: Quit: soegaard 14:16 (join) brum 14:18 (quit) vkz: Ping timeout: 260 seconds 14:25 (join) soegaard 14:31 (quit) codeblack: Read error: Connection reset by peer 14:33 (join) dnolen 15:05 (join) bitonic 15:16 (join) codeblack 15:20 (join) adu_ 15:22 (quit) samth: Remote host closed the connection 15:22 (join) samth 15:22 (quit) samth: Changing host 15:22 (join) samth 15:23 (join) mizu_no_oto 15:33 (join) jao 15:33 (quit) jao: Changing host 15:33 (join) jao 15:36 (join) mithos28 15:40 (quit) mithos28: Ping timeout: 245 seconds 15:41 (quit) yacks: Quit: Leaving 15:43 (join) mithos28 15:47 (quit) mithos28: Ping timeout: 248 seconds 15:48 (join) RacketCommitBot 15:48 RacketCommitBot: [racket] plt pushed 5 new commits to master: http://git.io/p4XWVg 15:48 RacketCommitBot: racket/master 2cdfe18 Eli Barzilay: Rename `{take,drop}-while' -> `{take,drop}f'.... 15:48 RacketCommitBot: racket/master e47cc6e Eli Barzilay: Clean up source layout. 15:48 RacketCommitBot: racket/master 0d217af Eli Barzilay: Shuffle code for a more logical order. 15:48 (part) RacketCommitBot 15:49 (join) Kaylin 15:50 (quit) basdirks: Ping timeout: 245 seconds 15:50 (join) mithos28 15:55 (quit) mithos28: Ping timeout: 252 seconds 15:56 (join) jonrafkind 15:59 (quit) Kaylin: Read error: Connection reset by peer 15:59 (join) mithos28 16:04 (quit) bitonic: Ping timeout: 245 seconds 16:05 (quit) mithos28: Ping timeout: 252 seconds 16:05 (join) RacketCommitBot 16:05 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/2CYPqg 16:05 RacketCommitBot: racket/master 44c274e Eli Barzilay: Actually swap the argument order.... 16:05 (part) RacketCommitBot 16:10 (join) vkz 16:10 (join) mithos28 16:15 (quit) mithos28: Ping timeout: 250 seconds 16:16 (quit) vkz: Quit: vkz 16:21 (quit) soegaard: Quit: soegaard 16:22 (join) mithos28 16:27 (join) bjz 16:27 (quit) mithos28: Ping timeout: 252 seconds 16:28 (quit) bjz_: Read error: Connection reset by peer 16:29 (join) rich1 16:34 (join) mithos28 16:39 (quit) mithos28: Ping timeout: 260 seconds 16:43 (quit) adu_: Quit: adu_ 16:46 (join) bitonic 16:47 (join) mithos28 16:48 (join) rohni 16:52 (quit) mithos28: Ping timeout: 264 seconds 16:58 (join) mithos28 17:03 (quit) mithos28: Ping timeout: 250 seconds 17:08 (join) RacketCommitBot 17:08 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/sgbgEQ 17:08 RacketCommitBot: racket/master 38f5823 Robby Findler: adjust plai's gc2 language to use roots as the arguments... 17:08 (part) RacketCommitBot 17:09 (join) vkz 17:12 (join) mithos28 17:14 (join) RacketCommitBot 17:14 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/nwGMdA 17:14 RacketCommitBot: racket/master a764f20 Asumu Takikawa: Minor sha1 doc fixes 17:14 RacketCommitBot: racket/master de99fdb Asumu Takikawa: Fix identifier typo 17:14 RacketCommitBot: racket/master 2f0dee9 Asumu Takikawa: Doc fixes for takef & friends 17:14 (part) RacketCommitBot 17:16 (quit) mithos28: Ping timeout: 250 seconds 17:16 (quit) Mattykins: Read error: No route to host 17:19 (join) adu_ 17:19 (quit) Fare: Ping timeout: 260 seconds 17:23 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 17:24 (join) mithos28 17:25 (quit) rich1: Quit: Leaving. 17:28 (join) Kaylin 17:28 (quit) mithos28: Ping timeout: 255 seconds 17:31 (quit) Kaylin: Client Quit 17:37 (join) mithos28 17:38 (quit) dnolen: Ping timeout: 276 seconds 17:43 (quit) mithos28: Ping timeout: 264 seconds 17:50 (quit) adu_: Quit: adu_ 17:51 (join) mithos28 17:54 (quit) Aune: Quit: L?mnar 17:55 (quit) mithos28: Ping timeout: 248 seconds 18:02 (join) Kaylin 18:04 (join) mithos28 18:10 (quit) mithos28: Ping timeout: 276 seconds 18:13 (join) adu_ 18:18 (join) mithos28 18:24 (quit) mithos28: Ping timeout: 260 seconds 18:25 (quit) Kaylin: Read error: Connection reset by peer 18:26 (quit) vkz: Quit: vkz 18:33 (join) mithos28 18:35 (quit) jao: Ping timeout: 245 seconds 18:38 (quit) mithos28: Ping timeout: 256 seconds 18:38 (quit) zacts: Quit: leaving 18:44 (quit) adu_: Quit: adu_ 18:47 (join) mithos28 18:50 (join) adu_ 18:53 (quit) mithos28: Ping timeout: 260 seconds 19:01 (quit) adu_: Quit: adu_ 19:02 (join) didi 19:03 (join) mithos28 19:05 (join) Icarot 19:06 (join) dnolen 19:08 (quit) mithos28: Ping timeout: 260 seconds 19:17 (join) mithos28 19:19 (quit) Icarot: Ping timeout: 250 seconds 19:22 (quit) mithos28: Ping timeout: 245 seconds 19:29 (join) adu_ 19:34 (join) mithos28 19:37 (join) Fare 19:39 (quit) mithos28: Ping timeout: 245 seconds 19:49 (join) Icarot 19:50 (quit) bitonic: Remote host closed the connection 19:50 (join) bitonic 19:51 (join) mithos28 19:56 (quit) mithos28: Ping timeout: 264 seconds 19:56 (quit) em: Ping timeout: 245 seconds 19:58 (quit) adu_: Quit: adu_ 19:59 (join) em 20:00 (join) RacketCommitBot 20:00 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/JoRYKg 20:00 RacketCommitBot: racket/master e0aef0a Robby Findler: fix two bugs in recent plai commit 20:00 (part) RacketCommitBot 20:02 (join) RacketCommitBot 20:02 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/DdXSsQ 20:02 RacketCommitBot: racket/master da7a525 Robby Findler: oops... 20:02 (part) RacketCommitBot 20:08 (join) mithos28 20:13 (quit) mithos28: Ping timeout: 245 seconds 20:16 (quit) Icarot: Ping timeout: 248 seconds 20:20 (join) mizu_no_oto 20:25 (join) mithos28 20:30 (quit) mithos28: Ping timeout: 256 seconds 20:35 (join) ambrosebs 20:41 (join) mithos28 20:44 (join) jao 20:44 (quit) jao: Changing host 20:44 (join) jao 20:46 (quit) bitonic: Ping timeout: 264 seconds 20:48 (quit) mithos28: Ping timeout: 260 seconds 20:52 (quit) dnolen: Ping timeout: 240 seconds 21:01 (join) mithos28 21:04 (join) adu_ 21:05 (join) doomrobo 21:06 doomrobo: is there a way to turn a list into values? I want two separate variables for the result of (take '(item1 item2 item3 item4) 2) and I don't want to have to use car and cdr 21:07 (quit) mithos28: Ping timeout: 252 seconds 21:08 (join) yacks 21:09 (quit) adu_: Client Quit 21:09 didi: rudybot: (match (take '(item1 item2 item3 item4) 2) ((list foo bar) (cons foo bar))) 21:09 rudybot: didi: your sandbox is ready 21:09 rudybot: didi: ; Value: (item1 . item2) 21:09 didi: doomrobo: Maybe `match'? 21:09 bremner: rudybot: (apply values '(item1 item2 item3)) 21:09 rudybot: bremner: ; Value: item1 21:09 doomrobo: thanks 21:09 rudybot: bremner: ; Value#2: item2 21:09 rudybot: bremner: ; Value#3: item3 21:10 doomrobo: bremner, I thought of using apply, but I have another atomic argument 21:10 doomrobo: and then I have to curry, and...no 21:10 didi: Well, if you want to use values... 21:11 didi: rudybot: (let-values (((foo bar) (values 1 2))) (+ foo bar)) 21:11 rudybot: didi: ; Value: 3 21:11 (join) adu_ 21:19 (join) mithos28 21:23 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 21:25 (quit) mithos28: Ping timeout: 260 seconds 21:27 (quit) bjz: Quit: Bye! 21:37 (join) mithos28 21:40 (join) Kaylin 21:42 (quit) mithos28: Ping timeout: 245 seconds 21:47 (quit) netrino: Quit: netrino 21:48 (join) mye 21:49 (quit) cdidd: Remote host closed the connection 21:49 doomrobo: how do I concisely ignore everything but the first value in (values 1 2 3)? 21:52 offby1: hmm! 21:52 offby1: interesting question. Lemme think. 21:53 doomrobo: I've already figured a workaround for my particular case, but I'd like to hear the answer anyway 21:53 offby1: rudybot: eval (call-with-values (thunk (values 1 2 3)) (lambda x (cdr x))) 21:53 rudybot: *offby1: ; Value: (2 3) 21:53 offby1: oops, got it backwards 21:53 (join) mithos28 21:54 offby1: rudybot: eval (call-with-values (thunk (values 1 2 3)) (lambda x (car x))) 21:54 rudybot: *offby1: ; Value: 1 21:54 didi: rudybot: (match/values (values 1 2 3) ((list foo _...) (- foo))) 21:54 rudybot: didi: ; Value: -2 21:54 offby1: a few characters more concise, I confess 21:54 didi: Oops, that binded to `2'. 21:55 doomrobo: why 21:56 didi: rudybot: (match/values (values 1 2 3) ((foo _ _) (- foo))) 21:56 rudybot: didi: ; Value: -1 21:56 offby1 rubs chin 21:56 doomrobo: not gonna be that easy 21:56 doomrobo: didi, do it the right way :p 21:56 paddymahoney: (define-values (a _1 _2) (values 1 2 3)) 21:57 offby1: some new faces around here! 21:57 doomrobo: that'll do 21:57 paddymahoney: (define-values (_ a b) (values 1 2 3)) 21:58 didi: Hum, `match/values' says: "Each clause must contain exactly n patterns". 21:59 (quit) mithos28: Ping timeout: 260 seconds 22:01 (quit) Fare: Quit: Leaving 22:03 (join) zacts 22:03 (join) mizu_no_oto 22:07 offby1 gettin' it done Old School 22:09 (join) mithos28 22:14 (quit) mithos28: Ping timeout: 248 seconds 22:22 (quit) adu_: Quit: adu_ 22:23 (quit) majoh: Ping timeout: 264 seconds 22:24 (quit) jaimef: Ping timeout: 252 seconds 22:24 (quit) didi: Ping timeout: 248 seconds 22:24 (join) majoh 22:26 (join) mithos28 22:29 (join) jaimef 22:32 (quit) mithos28: Ping timeout: 250 seconds 22:38 (quit) jao: Ping timeout: 252 seconds 22:40 (join) adu_ 22:40 (join) Icarot 22:43 (join) mithos28 22:43 (quit) ambrosebs: Remote host closed the connection 22:46 (join) basdirks 22:47 (quit) mithos28: Ping timeout: 264 seconds 22:58 (join) mithos28 22:59 (join) lusory 23:01 asumu: doomrobo: re: the thing you said about currying, you mean you need another argument to values? 23:01 asumu: rudybot: (apply values 0 '(1 2 3)) 23:01 rudybot: asumu: your sandbox is ready 23:01 rudybot: asumu: ; Value: 0 23:01 rudybot: asumu: ; Value#2: 1 23:01 rudybot: asumu: ; Value#3: 2 23:01 rudybot: asumu: ; Value#4: 3 23:01 doomrobo: facepalm 23:01 asumu: Racket's apply is special. :) 23:01 doomrobo: rudybot, (apply values '(1 2 3) 0) 23:01 rudybot: doomrobo: your sandbox is ready 23:01 rudybot: doomrobo: error: apply: contract violation expected: list? given: 0 argument position: 3rd other arguments...: # '(1 2 3) 23:02 doomrobo: that's what I was doing 23:03 asumu: (actually, I guess this behavior of `apply` was standard in Scheme... *shrug*) 23:05 (quit) mithos28: Ping timeout: 264 seconds 23:16 (join) mithos28 23:21 (quit) mithos28: Ping timeout: 245 seconds 23:31 (join) mithos28 23:37 (quit) mithos28: Ping timeout: 245 seconds 23:43 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 23:46 (quit) adu_: Quit: adu_ 23:47 (join) mithos28 23:51 (quit) mithos28: Ping timeout: 252 seconds