2016-05-26T17:11:33Z ccl-logbot joined #scheme 2016-05-26T17:11:33Z 2016-05-26T17:11:33Z names: ccl-logbot mario-goulart m0li pierpa mastokley SamF sethalves wasamasa tax _sjs lambda-11235 nowhere_man pepton sz0 lritter profess jlongster badkins cemerick |2701 ijp noethics sytse manumanumanu drdo rotty bogdanm X-Scale amgarchIn9 hive-mind defanor Flippers shardz engblom nckx carc ArneBab edgar-rft Blkt Blukunfando moredhel DGASAU karswell taij33n ski zacts aries_liuxueyang jim leppie groovy2shoes keemyb Kruppe copec mikeyhc gnomon JackMc mrowe 2016-05-26T17:11:33Z names: stephe_ ec askatasuna kwmiebach samth dan64 micmus mjl fadein Khisanth snow_bckspc cantstanya jyc__ chishiki gabot retroj CustosL1m3n M-krsiehl1 stamourv balkamos petercommand mpu_ WojciechK mlaine_ paroneayea taylan aeth juanfra snits elflng god githogori zbigniew rpcope Tbone139 choas_ eli m1dnight_ drot leif rx80 drforr1 eatonphil Neet emmanueloga harmchop Kooda jorrakay dpk cmatei_ r0kc4t dmiles emlow clog lalex LeoNerd leo_song cky MorTal1ty 2016-05-26T17:11:33Z names: greghendershott stasku____ NhanH vikraman ggherdov woona tessier_ ecraven nolski weinholt akkad neuri8- SirDayBat SHODAN jackdaniel mj12` yosafbridge fgudin kori averell tm512 mach foof krypt dxtr cross M_D_K profan dTal nisstyre joast amoe micro` pchrist mjuhl abbe zeroish NaNDude erg z0d ineiros XTL lloda tokik cibs Guest749` em tristero finnrobi rudybot datagrok evhan eska jrslepak Kryo ozzloy pyro- ski_ cjh` ohama _0x5eb_ ec\ gf3 DerGuteMoritz _chazu 2016-05-26T17:11:33Z names: stux16777216Away fizzie wingo ft octo- klutomet1s eMBee kbtr GGMethos jrdnull rsully vifino asumu aap dsp- C-Keen mg_ renopt benaiah low-profile eagleflo antoszka ByronJohnson dsp 2016-05-26T17:12:09Z SamF quit (Read error: Connection reset by peer) 2016-05-26T17:12:47Z SamF joined #scheme 2016-05-26T17:16:55Z pjb joined #scheme 2016-05-26T17:17:01Z galex-713 joined #scheme 2016-05-26T17:21:36Z gravicappa joined #scheme 2016-05-26T17:26:37Z SamF quit (Remote host closed the connection) 2016-05-26T17:26:41Z mastokley quit (Ping timeout: 244 seconds) 2016-05-26T17:28:15Z ijp: r6rs has a general call-with-port 2016-05-26T17:28:39Z SamF joined #scheme 2016-05-26T17:28:52Z ijp: it works with both input and output ports 2016-05-26T17:30:27Z ijp: r6rs never got a chance since pre-hatred bred ignorance 2016-05-26T17:31:31Z dTal: as I said above, call-with-port closes the port when the procedure returns 2016-05-26T17:31:49Z dTal: and what's more, expects the procedure to take the port as an argument 2016-05-26T17:31:50Z revolve joined #scheme 2016-05-26T17:31:53Z dTal: I don't see the point myself 2016-05-26T17:32:04Z revolve: how do I get mit-scheme to run on x64 linux? 2016-05-26T17:32:16Z revolve: is there a source distribution anyone knows of for it? 2016-05-26T17:33:19Z ijp: dtal: the point was to encapsulate the closing of the port, presumably also in the case of exceptional circumstances [needs checking]. the call-with-blah interface comes from a long standing taboo on introducing binding forms 2016-05-26T17:35:02Z ijp: I suppose the standard argues it should be kept open on exceptions since it didn't "return" 2016-05-26T17:35:18Z ijp: god ports are terrible 2016-05-26T17:35:34Z bogdanm quit (Ping timeout: 240 seconds) 2016-05-26T17:36:46Z revolve: no one knows how to get mit-scheme running on x64 linux? 2016-05-26T17:37:30Z revolve: don't worry about it though either 2016-05-26T17:39:45Z wasamasa: I'm not sure why that should pose a problem 2016-05-26T17:40:00Z jorrakay: revolve: if you are trying to get mit-scheme to do sicp exercises, i suggest installing racket instead 2016-05-26T17:40:06Z jorrakay: http://docs.racket-lang.org/sicp-manual/index.html 2016-05-26T17:40:20Z groovy2shoes: dTal, yeah, I was looking at call-with-port and wondering wtf it's for... if you have a procedure f that takes only a port p as an argument, why not just write (f p) instead of (call-with-port p f) ? 2016-05-26T17:40:43Z wasamasa: I just installed mit-scheme from the repository and that was it 2016-05-26T17:41:17Z groovy2shoes: revolve, I've got it running 64-bit linux... you need to grab the distribution that has the C files... the "normal" distribution is just the Scheme files, I think 2016-05-26T17:41:22Z |2701 quit (Quit: Connection closed for inactivity) 2016-05-26T17:42:25Z dTal: welp, I've got bigger problems - I can't even get Chez to output to a file at all 2016-05-26T17:42:51Z groovy2shoes: ijp, I didn't hate R6RS at first (and I still wouldn't exactly say I *hate* it in a technical sense, so much as a political one because of what it did to the Scheme community at large) 2016-05-26T17:43:00Z dTal: (display "Hello" (open-output-file "testout")) returns, creates the file 'testout', but the file is empty 2016-05-26T17:43:03Z dTal: ? 2016-05-26T17:43:17Z dTal: works in Chicken so presumably I'm not a total idiot 2016-05-26T17:43:41Z groovy2shoes: dTal, (call-with-output-file "testout" (lambda () (display "hello") (newline))) 2016-05-26T17:44:01Z groovy2shoes: dTal, if you do it that way, you're not closing the output port... if it's buffered, it's not getting flushed 2016-05-26T17:44:27Z ijp: it might get written...on gc 2016-05-26T17:44:34Z ijp: wouldn't count on it though 2016-05-26T17:44:37Z groovy2shoes: you either have to stick the port in a variable and close it after you're done writing, or use a form that automatically closes it 2016-05-26T17:44:42Z SamF quit (Remote host closed the connection) 2016-05-26T17:44:54Z dTal: of course 2016-05-26T17:45:29Z dTal: I sort of assumed the procedure would automatically flush it but I guess that would be bad for performance 2016-05-26T17:45:48Z galex-713 quit (Ping timeout: 272 seconds) 2016-05-26T17:45:49Z revolve: jorrakay: do you know if the examples would need changing at all? 2016-05-26T17:46:00Z groovy2shoes: that would defeat the whole purpose of buffering :p 2016-05-26T17:46:05Z revolve: groovy2shoes: excellent though, thanks! 2016-05-26T17:46:54Z ijp: revolve: I'd say that if the examples need changing it's a bug 2016-05-26T17:47:56Z SamF joined #scheme 2016-05-26T17:48:01Z ijp: but most of the differences should be ironed out by now 2016-05-26T17:48:38Z nowhere_man quit (Quit: Konversation terminated!) 2016-05-26T17:49:36Z ijp: on a related note, I wonder if anyone ported scmutils to racket (I expect the guile one is bitrotten) 2016-05-26T17:50:08Z revolve: ah racket's installed. thanks for hipping me to that fact 2016-05-26T17:50:18Z ijp: hmm, site says "2.0 or higher" so there might be hope for it 2016-05-26T17:50:35Z revolve: np. gonna install scheme just in case. 2016-05-26T17:50:37Z revolve left #scheme 2016-05-26T17:51:09Z walter|r joined #scheme 2016-05-26T17:51:22Z dTal: groovy2shoes: Chez doesn't seem to like (call-with-output-file "testout" (lambda () (display "hello") (newline))) either 2016-05-26T17:51:45Z dTal: "incorrect number of arguments" 2016-05-26T17:53:28Z ijp: you want with-output-to-file, not call-with-output-file 2016-05-26T17:53:52Z ijp: the former parameterises current-output-port, the latter provides the port as the argument to the supplied function 2016-05-26T17:54:16Z dTal: thank you ijp 2016-05-26T17:54:17Z groovy2shoes: whoops 2016-05-26T17:55:36Z walter|r quit (Ping timeout: 246 seconds) 2016-05-26T17:56:59Z pobivan joined #scheme 2016-05-26T17:58:31Z jorrakay: revolve: no, the whole point of the package i linked is so that you can run all of the exercises as is. I've only gone as far as 3/4 way through ch 2, but i didn't run into any problems. 2016-05-26T18:02:25Z rszeno joined #scheme 2016-05-26T18:03:42Z dTal: here's a good one 2016-05-26T18:04:36Z dTal: opening a file for binary append: (define outfile (open-file-output-pot "outfile" (file-options no-create))) 2016-05-26T18:05:04Z dTal: opening a file for textual append: (define outfile (open-output-file "outfile" '(append))) 2016-05-26T18:05:16Z dTal: s/pot/port 2016-05-26T18:05:33Z rpcope quit (Ping timeout: 240 seconds) 2016-05-26T18:05:41Z dTal: yay for consistency 2016-05-26T18:08:58Z rpcope joined #scheme 2016-05-26T18:11:09Z AlexDenisov joined #scheme 2016-05-26T18:12:08Z idstam joined #scheme 2016-05-26T18:13:01Z grettke joined #scheme 2016-05-26T18:13:04Z daviid joined #scheme 2016-05-26T18:15:54Z aeth quit (Ping timeout: 246 seconds) 2016-05-26T18:18:00Z aeth joined #scheme 2016-05-26T18:25:07Z profess quit (Ping timeout: 260 seconds) 2016-05-26T18:26:09Z jcowan joined #scheme 2016-05-26T18:26:43Z rszeno left #scheme 2016-05-26T18:27:35Z rszeno joined #scheme 2016-05-26T18:27:55Z rszeno left #scheme 2016-05-26T18:28:46Z rszeno joined #scheme 2016-05-26T18:28:59Z profess joined #scheme 2016-05-26T18:32:52Z ijp quit (Ping timeout: 264 seconds) 2016-05-26T18:35:01Z xue_ joined #scheme 2016-05-26T18:41:24Z mastokley joined #scheme 2016-05-26T18:42:03Z grettke quit (Quit: Textual IRC Client: www.textualapp.com) 2016-05-26T18:42:55Z bogdanm joined #scheme 2016-05-26T18:43:31Z jcowan: hey hye 2016-05-26T18:43:46Z turtleman joined #scheme 2016-05-26T18:44:16Z grettke joined #scheme 2016-05-26T18:45:36Z masoudd joined #scheme 2016-05-26T18:45:39Z masoudd quit (Max SendQ exceeded) 2016-05-26T18:45:45Z galex-713 joined #scheme 2016-05-26T18:46:10Z masoudd joined #scheme 2016-05-26T18:51:56Z walter|r joined #scheme 2016-05-26T18:56:28Z walter|r quit (Ping timeout: 258 seconds) 2016-05-26T18:57:34Z maroth_ joined #scheme 2016-05-26T18:58:35Z maroth_: Can someone please help me grasp exercise 2.32 in SICP? It's making no sense at all and I can't manage to organize all of my thoughts when trying to solve it. I'm starting to think I'm not cut out for this programming thing. Any help? 2016-05-26T19:01:13Z maroth_: If I can't solve this exercise, I'm not cut out for programming, IMO. 2016-05-26T19:02:32Z jorrakay: for everyone's reference: https://mitpress.mit.edu/sicp/full-text/book/book-Z-H-15.html#%_thm_2.32 2016-05-26T19:02:59Z blackwolf joined #scheme 2016-05-26T19:03:12Z jcowan: maroth_: Do you grasp the recursive relationship for generating a powerset? 2016-05-26T19:03:35Z maroth_: No. 2016-05-26T19:04:19Z galex-713: Maybe it’s a double-recursive function… 2016-05-26T19:05:00Z jcowan: Well, given a set S for which you have the powerset PS, and an additional element E not in S, how would you generate the powerset for S + E? 2016-05-26T19:05:24Z galex-713: maroth_: I see a “cdr” but no “car”, that trouble me, and should be an hint for you 2016-05-26T19:05:35Z jcowan: Let's say we have (a b c), whose powerset is (() (a) (b) (c) (a b) (b c) (c a) (a b c)) 2016-05-26T19:05:52Z jcowan: And we want to generate the powerset of (a b c d). What are the possibilities? 2016-05-26T19:06:01Z galex-713: Because if we do stuff on “cdr”s, but never to “car”s, then recursively that means we do nothing since a list are “car”s consed togethers 2016-05-26T19:06:16Z jcowan: Never mind cars and cdrs for the moment. Think about sets and subsets. 2016-05-26T19:06:24Z galex-713: ah ok 2016-05-26T19:06:38Z jorrakay: er, so it'd be every element of the powerset + every element of the powerset with d added? 2016-05-26T19:06:40Z galex-713: (maybe I’m on the wrong path, I let it to the others :) 2016-05-26T19:06:56Z jcowan: jorrakay: Yes, but I was trying to elicit that answer from maroth_. 2016-05-26T19:07:03Z jorrakay: (i don't mean to hijack the discussion but I totally skipped this exercise because I didn't get it either) 2016-05-26T19:07:10Z jcowan: Oh, okay 2016-05-26T19:08:17Z jcowan: So now, looking at the code, we first check for base case (empty set) vs. recursive 2016-05-26T19:08:41Z jcowan: the base case is () and its powerset is (()), which is what the code says (given that nil is bound to (), which is not the case in modern Schemes by default) 2016-05-26T19:09:10Z n_blownapart joined #scheme 2016-05-26T19:09:17Z jcowan: Otherwise, we do what jorrakay says: we get the powerset of the subset of s which excludes the first element 2016-05-26T19:09:41Z jcowan: and append to it the result of transforming these subsets, but how? 2016-05-26T19:09:47Z jcowan: By mapping a function onto them. What function? 2016-05-26T19:10:05Z grettke quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-05-26T19:10:07Z jcowan: (lambda (subset) ...) 2016-05-26T19:10:16Z jcowan: and what is ...? 2016-05-26T19:10:22Z jcowan: That's the problem. 2016-05-26T19:11:01Z jcowan: maroth_: Do you follow all that? 2016-05-26T19:11:13Z ijp joined #scheme 2016-05-26T19:13:44Z maroth_: No, not really. I'm sorry, but I just can't organize my thoughts with this problem. I've only had trouble with like two other ones prior to this one. Now, I'm extremely stumped. Damnit, man. 2016-05-26T19:15:38Z rszeno: just relax, is not the end of the world 2016-05-26T19:15:54Z jcowan: At what line in what I am saying do you get lost? 2016-05-26T19:16:55Z jorrakay: is it just, (lambda (subset) (list (car s) subset)) ? i think i accidentally came up with the solution to this when i was trying to write a function to get only the leaves of a tree lol 2016-05-26T19:17:34Z jorrakay opens racket 2016-05-26T19:18:06Z wasamasa: what is s? 2016-05-26T19:20:13Z jcowan: the set being powersetted 2016-05-26T19:20:39Z jcowan: jorrakay: Almost 2016-05-26T19:20:41Z wasamasa: oh, right 2016-05-26T19:21:37Z jcowan: The powersets are just lists, and (list a b) where b is a list generates a two-element list of which b is a sublist. You want to generate a flat list whose first element is (car s) 2016-05-26T19:23:48Z jorrakay: Oh, so just cons instead of list 2016-05-26T19:24:36Z jcowan: Just so. 2016-05-26T19:24:53Z jcowan: maroth_: Where do you get lost? 2016-05-26T19:24:59Z maroth_: jcowan: I can't keep everything organized - keep getting lost in the logic, especially with map thrown in there. 2016-05-26T19:25:13Z jorrakay: Hmm. I wonder how to get racket to print the output for stuff like this better. 2016-05-26T19:25:29Z jorrakay: instead of (mcons (mcons (mcons etc. etc. 2016-05-26T19:25:35Z jcowan: Look over my answer line by line, which does *not* assume the existing code for quite a while. What is the first line of my answer you don't understand? 2016-05-26T19:27:18Z galex-713 quit (Ping timeout: 246 seconds) 2016-05-26T19:27:26Z maroth_: I'd say around here: and append to it the result of transforming these subsets, but how? 2016-05-26T19:28:08Z jcowan: Okay, look at jorrakay's line above, saying how to form the powerset of S + E given the powerset of S (where S is some set and E is a new element): 2016-05-26T19:28:31Z jcowan: "it'd be every element of the powerset + every element of the powerset with d added" 2016-05-26T19:29:44Z jcowan: The smaller set S has some powerset, and the subsets in the bigger set S + E are just those same subsets, plus a copy of them with E added. That's the nub of the problem. 2016-05-26T19:30:21Z jcowan: In the same way, 5 factorial is 4 factorial times 5; indeed there is a deep relationship between factorials and powersets. 2016-05-26T19:31:25Z kuribas joined #scheme 2016-05-26T19:33:37Z civodul joined #scheme 2016-05-26T19:37:00Z leot joined #scheme 2016-05-26T19:38:35Z galex-713 joined #scheme 2016-05-26T19:38:42Z _sjs quit (Ping timeout: 276 seconds) 2016-05-26T19:39:38Z xue_ quit (Remote host closed the connection) 2016-05-26T19:42:12Z maroth_: How am I to become a hacker if I can't even solve a problem of this caliber? :( 2016-05-26T19:42:41Z ski: give yourself time 2016-05-26T19:44:20Z wasamasa: maroth_: please stop trolling 2016-05-26T19:45:01Z rszeno left #scheme 2016-05-26T19:45:11Z jorrakay: fwiw, i have trouble with this and many other sicp exercises, and i've been programming professionally for almost 10 years 2016-05-26T19:45:34Z ski: ( might be somewhat appropriate here. point is to not be in a hurry. try to enjoy it and have fun. return later to what you haven't grasped well enough) 2016-05-26T19:47:12Z grettke joined #scheme 2016-05-26T19:48:45Z maroth_: That's good to hear. The ones that have stumped me *REALLY* stumped me. I just can't bring myself to solve this one; hell, I can't even understand its solution... 2016-05-26T19:50:53Z jorrakay: i find it helps me, when stumped by a recursive function, to try to expand it by hand, either in my head or on paper 2016-05-26T19:51:20Z jorrakay: which means that you replace the recursive calls with the results of the call until you either grasp what's going on or you hit the base case 2016-05-26T19:52:01Z ski idly wonders whether maroth_ tried to do `tails' and `inits' 2016-05-26T19:52:59Z walter|r joined #scheme 2016-05-26T19:53:10Z ReductioAdAbsurd joined #scheme 2016-05-26T19:55:50Z alezost joined #scheme 2016-05-26T19:57:28Z walter|r quit (Ping timeout: 264 seconds) 2016-05-26T20:10:37Z maroth_ quit (Quit: Page closed) 2016-05-26T20:11:52Z galex-713 quit (Ping timeout: 260 seconds) 2016-05-26T20:11:54Z pobivan quit (Quit: pobivan) 2016-05-26T20:16:13Z galex-713 joined #scheme 2016-05-26T20:24:32Z wedesoft joined #scheme 2016-05-26T20:30:36Z _sjs joined #scheme 2016-05-26T20:30:40Z gravicappa quit (Ping timeout: 240 seconds) 2016-05-26T20:30:50Z Riastradh joined #scheme 2016-05-26T20:31:19Z Fare joined #scheme 2016-05-26T20:31:57Z FareTower joined #scheme 2016-05-26T20:33:01Z kuribas quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2016-05-26T20:33:02Z FareTower quit (Client Quit) 2016-05-26T20:37:28Z jorrakay: by the way, thanks for explaining all that jcowan 2016-05-26T20:37:34Z jcowan: Sure 2016-05-26T20:51:41Z Fare quit (Read error: Connection timed out) 2016-05-26T20:52:34Z Fare joined #scheme 2016-05-26T20:53:45Z walter|r joined #scheme 2016-05-26T20:56:27Z pepton quit (Ping timeout: 244 seconds) 2016-05-26T20:58:04Z Fare quit (Ping timeout: 264 seconds) 2016-05-26T20:58:08Z wedesoft quit (Remote host closed the connection) 2016-05-26T20:58:20Z walter|r quit (Ping timeout: 244 seconds) 2016-05-26T20:59:53Z TCZ joined #scheme 2016-05-26T21:02:19Z C-Keen: jcowan: I am looking for resources in implementing multiple values in an interpreter 2016-05-26T21:04:54Z AlexDenisov quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-05-26T21:05:33Z pierpa: try this one: http://www.cs.indiana.edu/~dyb/pubs/mrvs.pdf 2016-05-26T21:05:34Z cemerick quit (Ping timeout: 240 seconds) 2016-05-26T21:09:34Z grettke quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-05-26T21:12:21Z andrewvic joined #scheme 2016-05-26T21:12:45Z andrewvic quit (Client Quit) 2016-05-26T21:12:55Z SamF quit (Remote host closed the connection) 2016-05-26T21:13:14Z C-Keen: that's for compilers iirc 2016-05-26T21:14:16Z mejja joined #scheme 2016-05-26T21:15:23Z galex-713 quit (Ping timeout: 244 seconds) 2016-05-26T21:17:44Z C-Keen: but I will reread it again thanks pierpa 2016-05-26T21:18:06Z jcowan: C-Keen: give me a minute here 2016-05-26T21:19:01Z jcowan: The simplest approach is Chibi's: multiple values are consed into a list (they are already in a list when "values" gets a hold of them) 2016-05-26T21:19:11Z jcowan: and then a marker object is consed onto that 2016-05-26T21:19:38Z jcowan: The reason this works is that it's undefined to call a multiple-value procedure where a single value is expected, so if it exposes the underlying implementation, it's all right 2016-05-26T21:19:50Z ijp: or the cps version where they are just arguments to a function 2016-05-26T21:19:51Z jcowan: other Schemes use an object of a special type 2016-05-26T21:20:02Z jcowan: Yes, that's the alternative, but I suspect few interpreters do that 2016-05-26T21:20:15Z ijp: probably, I'm just putting it out there 2016-05-26T21:20:29Z C-Keen: yeah a lot of things are easier if using CPS 2016-05-26T21:20:31Z jcowan: If you translate the Scheme into CPS, then you return multiple values by calling the continuation with multiple arguments, making values and arguments symmetrical 2016-05-26T21:20:57Z jcowan: $ chibi-scheme 2016-05-26T21:20:57Z jcowan: > (values 2 3) 2016-05-26T21:20:57Z jcowan: ((values) 2 3) 2016-05-26T21:21:07Z jcowan: where (values) is a unique pair 2016-05-26T21:21:19Z jcowan: so the interpreter proper knows nothing of multiple values, they are a library feature 2016-05-26T21:21:44Z C-Keen: so what should (if (values 1 2) 'foo 'bar) do? 2016-05-26T21:22:10Z ijp: as far as the standard is concerned it is implementation-dependent 2016-05-26T21:22:10Z jcowan: If you use a list, you get foo 2016-05-26T21:22:10Z ski: (iirc, that's an error ?) 2016-05-26T21:22:19Z jcowan: If you use a magic object, you can throw an error 2016-05-26T21:22:25Z ijp: as far as I'm concerned it should fail, and fail loudly 2016-05-26T21:22:33Z C-Keen: ijp: agreed 2016-05-26T21:23:00Z C-Keen: jcowan: a magic procedure would do... 2016-05-26T21:23:01Z jcowan: See https://github.com/ashinn/chibi-scheme/blob/master/lib/init-7.scm line 569 for the trivial Chibi implementation 2016-05-26T21:23:02Z C-Keen: hm... 2016-05-26T21:23:12Z C-Keen: thanks jcowan 2016-05-26T21:23:31Z jcowan: also http://trac.sacrideo.us/wg/wiki/MultipleValues for some black-box testing I have done 2016-05-26T21:29:50Z ski: rudybot: eval (call-with-current-continuation (lambda (return) (call-with-current-continuation (lambda (k) (return (procedure-arity k)))) '())) 2016-05-26T21:29:50Z rudybot: ski: ; Value: (arity-at-least 0) 2016-05-26T21:33:01Z |2701 joined #scheme 2016-05-26T21:38:25Z drforr1 quit (Ping timeout: 250 seconds) 2016-05-26T21:40:09Z drforr1 joined #scheme 2016-05-26T21:40:20Z TCZ quit (Quit: Leaving) 2016-05-26T21:42:03Z jcowan quit (Quit: Leaving) 2016-05-26T21:46:24Z turbofail joined #scheme 2016-05-26T21:48:22Z Flippers is now known as Menche\demiF 2016-05-26T21:51:53Z leot quit (Quit: BBT) 2016-05-26T21:52:33Z sondr3 joined #scheme 2016-05-26T21:54:17Z walter|r joined #scheme 2016-05-26T21:56:01Z jao joined #scheme 2016-05-26T21:57:22Z sondr3 quit (Ping timeout: 252 seconds) 2016-05-26T21:58:47Z walter|r quit (Ping timeout: 244 seconds) 2016-05-26T21:59:13Z civodul quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2016-05-26T21:59:51Z galex-713 joined #scheme 2016-05-26T22:01:18Z rpcope quit (Ping timeout: 246 seconds) 2016-05-26T22:03:35Z alezost quit (Quit: I live in GuixSD and Emacs ) 2016-05-26T22:08:14Z mastokley quit (Ping timeout: 244 seconds) 2016-05-26T22:12:45Z turbofail quit (Ping timeout: 276 seconds) 2016-05-26T22:13:14Z turbofail joined #scheme 2016-05-26T22:14:08Z vydd joined #scheme 2016-05-26T22:17:25Z bogdanm quit (Ping timeout: 250 seconds) 2016-05-26T22:18:36Z SamF joined #scheme 2016-05-26T22:23:04Z mejja quit (Quit: ChatZilla 0.9.92 [Firefox 46.0.1/20160502172042]) 2016-05-26T22:23:11Z n_blownapart quit 2016-05-26T22:31:04Z rpcope joined #scheme 2016-05-26T22:42:58Z DGASAU quit (Read error: Connection reset by peer) 2016-05-26T22:45:54Z daviid quit (Ping timeout: 276 seconds) 2016-05-26T22:55:08Z walter|r joined #scheme 2016-05-26T22:55:58Z DGASAU joined #scheme 2016-05-26T22:57:32Z mastokley joined #scheme 2016-05-26T22:58:52Z masoudd quit (Ping timeout: 244 seconds) 2016-05-26T22:59:27Z walter|r quit (Ping timeout: 250 seconds) 2016-05-26T22:59:36Z pjb quit (Remote host closed the connection) 2016-05-26T22:59:37Z andrewvic joined #scheme 2016-05-26T22:59:53Z andrewvic quit (Client Quit) 2016-05-26T23:05:50Z |2701 is now known as |meta 2016-05-26T23:16:40Z lritter quit (Ping timeout: 240 seconds) 2016-05-26T23:17:41Z pllx joined #scheme 2016-05-26T23:19:49Z Opodeldoc joined #scheme 2016-05-26T23:26:05Z andrewvic joined #scheme 2016-05-26T23:29:10Z pllx quit (Quit: zz) 2016-05-26T23:30:58Z andrewvic quit (Ping timeout: 272 seconds) 2016-05-26T23:39:48Z vydd quit 2016-05-26T23:41:02Z galex-713: what’s the equivalent of “nth” in scheme? 2016-05-26T23:41:04Z profess quit (Ping timeout: 240 seconds) 2016-05-26T23:41:43Z dTal: in what context? 2016-05-26T23:42:26Z ski: galex-713 : 2016-05-26T23:45:02Z profess joined #scheme 2016-05-26T23:46:55Z walter|r joined #scheme 2016-05-26T23:48:16Z galex-713: dTal: to get the nth element of a list 2016-05-26T23:48:36Z dTal: then what ski said 2016-05-26T23:49:03Z galex-713: ski: not implemented in guile, but seems I can use drop for that :) 2016-05-26T23:49:21Z ijp: list-ref is in guile 2016-05-26T23:49:31Z galex-713: Oh wait no it is 2016-05-26T23:49:41Z galex-713: Just not in srfi-1 section of manual 2016-05-26T23:50:19Z pierpa: list-ref is RnRS for any n 2016-05-26T23:56:22Z sethalves quit (Remote host closed the connection) 2016-05-26T23:58:40Z _sjs quit (Ping timeout: 260 seconds)