00:04:48 offby1: By Harold Brobelson 00:08:54 http://mathworld.wolfram.com/RiemannZetaFunction.html 00:08:56 do you like math? 00:09:48 jrslepak [~jrslepak@c-71-233-148-123.hsd1.ma.comcast.net] has joined #scheme 00:14:37 offby1: Someone with photoshop, put a scumbag steve hat on the wizard for SICP 00:21:18 -!- githogori [~githogori@216.207.36.222] has quit [Remote host closed the connection] 00:22:05 cdidd [~cdidd@95-25-174-13.broadband.corbina.ru] has joined #scheme 00:23:04 wow who would do such a terrible thing 00:24:07 *offby1* stares blankly 00:38:18 -!- floater [~e30dd50ec@nude.lesbianbath.com] has quit [Quit: collecting entropy] 00:39:08 -!- masm [~masm@bl18-37-48.dsl.telepac.pt] has quit [Quit: Leaving.] 00:41:53 -!- asdfhjkl [~bob@i5E879AE1.versanet.de] has quit [Quit: Leaving] 00:44:22 -!- tupi [~david@139.82.89.24] has quit [Quit: Leaving] 00:52:33 -!- leppie [~lolcow@196-215-26-171.dynamic.isadsl.co.za] has quit [Ping timeout: 245 seconds] 00:52:34 bfgun [~b_fin_g@r186-52-167-177.dialup.adsl.anteldata.net.uy] has joined #scheme 00:54:47 -!- shardz [~samuel@ilo.staticfree.info] has quit [Read error: Operation timed out] 00:54:49 -!- yamanu [~yamanu@cpe-212-18-40-64.static.amis.net] has quit [Read error: Connection reset by peer] 00:55:01 yamanu [~yamanu@cpe-212-18-40-64.static.amis.net] has joined #scheme 00:55:06 shardz [~samuel@ilo.staticfree.info] has joined #scheme 00:55:49 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 248 seconds] 00:56:05 preflex_ [~preflex@unaffiliated/mauke/bot/preflex] has joined #scheme 00:56:27 -!- bfig [~b_fin_g@r190-135-1-216.dialup.adsl.anteldata.net.uy] has quit [Ping timeout: 250 seconds] 00:56:51 -!- preflex_ is now known as preflex 00:57:51 leppie [~lolcow@196-215-26-171.dynamic.isadsl.co.za] has joined #scheme 01:09:31 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [] 01:28:04 nalaginrut [~nalaginru@14.154.248.131] has joined #scheme 01:35:23 toekutr [~user@50-0-51-2.dsl.static.sonic.net] has joined #scheme 01:37:40 -!- tomodo [~tomodo@gateway/tor-sasl/tomodo] has quit [Quit: leaving] 01:52:20 -!- sporous [~sporous@antispammeta/bot/irssi/sporous] has quit [Quit: herping the derp] 01:52:40 sporous [~sporous@antispammeta/bot/irssi/sporous] has joined #scheme 02:02:31 homie`` [~levgue@xdsl-78-35-183-19.netcologne.de] has joined #scheme 02:03:05 -!- virl [~virl__@85-127-158-92.dynamic.xdsl-line.inode.at] has quit [Ping timeout: 246 seconds] 02:04:35 -!- homie` [~levgue@xdsl-84-44-179-19.netcologne.de] has quit [Ping timeout: 244 seconds] 02:05:51 jcowan [~John@cpe-66-108-19-185.nyc.res.rr.com] has joined #scheme 02:06:34 -!- rostayob [~rostayob@5add3a82.bb.sky.com] has quit [Quit: WeeChat 0.3.5] 02:08:19 hoi 02:09:06 githogori [~githogori@c-50-131-15-16.hsd1.ca.comcast.net] has joined #scheme 02:17:56 virl [~virl__@85-127-158-92.dynamic.xdsl-line.inode.at] has joined #scheme 02:24:44 -!- nalaginrut [~nalaginru@14.154.248.131] has quit [Ping timeout: 245 seconds] 02:26:33 dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has joined #scheme 02:27:24 wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has joined #scheme 02:29:57 realitygrill [~realitygr@adsl-76-226-143-173.dsl.sfldmi.sbcglobal.net] has joined #scheme 02:30:34 -!- dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has quit [Ping timeout: 245 seconds] 02:33:38 -!- turbofail [~user@c-107-3-149-149.hsd1.ca.comcast.net] has quit [Ping timeout: 272 seconds] 02:37:07 nalaginrut [~nalaginru@209.237.253.35] has joined #scheme 02:38:06 -!- realitygrill [~realitygr@adsl-76-226-143-173.dsl.sfldmi.sbcglobal.net] has quit [Read error: Connection reset by peer] 02:38:54 realitygrill [~realitygr@adsl-76-226-143-173.dsl.sfldmi.sbcglobal.net] has joined #scheme 02:42:34 -!- nalaginrut [~nalaginru@209.237.253.35] has quit [Ping timeout: 276 seconds] 02:47:11 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 02:52:12 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 02:52:50 o hai 02:53:38 o hoe 02:55:37 -!- CampinSam [~CampinSam@24-176-98-217.dhcp.jcsn.tn.charter.com] has quit [Quit: leaving] 02:56:01 soveran [~soveran@186.19.214.247] has joined #scheme 02:59:00 nalaginrut [~nalaginru@14.154.248.131] has joined #scheme 03:01:44 adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has joined #scheme 03:03:19 realitygrill_ [~realitygr@adsl-76-226-143-173.dsl.sfldmi.sbcglobal.net] has joined #scheme 03:03:20 -!- realitygrill [~realitygr@adsl-76-226-143-173.dsl.sfldmi.sbcglobal.net] has quit [Read error: Connection reset by peer] 03:03:20 -!- realitygrill_ is now known as realitygrill 03:08:25 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 03:11:10 -!- MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has quit [Read error: Connection reset by peer] 03:11:33 MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has joined #scheme 03:30:46 -!- MichaelRaskin [~MichaelRa@3ad50e34.broker.freenet6.net] has left #scheme 03:39:30 -!- leppie [~lolcow@196-215-26-171.dynamic.isadsl.co.za] has quit [Ping timeout: 272 seconds] 03:42:02 futilius [~futilius_@user-0c9h82b.cable.mindspring.com] has joined #scheme 03:43:15 leppie [~lolcow@196-210-156-75.dynamic.isadsl.co.za] has joined #scheme 04:08:29 I wrote a fold-right today 04:08:58 Congrats! 04:09:02 it felt so good 04:09:05 wanna see? 04:09:19 Go ahead. I'll see how closely it matches the "traditional" implementation. :-) 04:09:43 *ski* . o O ( ) 04:09:51 ski: Yes. 04:10:12 ski: Often I reimplement SRFI 1 functions to see how easy it is to do. 04:10:29 http://paste.lisp.org/display/128437 04:10:36 e.g., (define (append-reverse x y) (fold cons y x)) 04:10:53 e.g., (define (reverse x) (append-reverse x '())) 04:11:00 MichaelRaskin [~MichaelRa@3ad50e34.broker.freenet6.net] has joined #scheme 04:11:01 *ski* reimplemented `map' to allow the argument procedure to return other numbers of values than one 04:11:08 ski: Yep, that's fun too. 04:11:11 there's no implementation in that SRFI 04:11:16 therefore, mine is better 04:11:22 adu: Yes, there is. 04:11:42 see , which is linked to at the end 04:11:47 What ski said. 04:12:18 adu: Most SRFIs have reference implementations. 04:12:47 mine is still better 04:13:52 Usually, various implementations do their own implementations (e.g., Guile used to implement large parts of SRFI 1 in C), but some SRFIs (like SRFI 8 and SRFI 31) are so straightforward that there's no reason to do it any other way. 04:14:08 *various Scheme implementations do their own SRFI implementations 04:15:03 so how does my fold-right compare? 04:15:24 Chibi has its own SRFI-1; for example, the ! functions are the same as the !-free ones. 04:15:33 jcowan: Same with Racket. 04:15:47 adu: fold with no lists is not meaningful to define. 04:16:22 adu: Also, your version is wrong. 04:16:30 cky: how so? 04:16:39 adu: In SRFI 1, fold stops at the end of the _shortest_ list, not the end of the first list. 04:16:49 oh, right 04:18:14 so instead of (null? (car lss)) it should be (exists null? lss) 04:18:19 Right. 04:18:34 cool thanks 04:19:08 -!- GoKhlaYeh [~GoKhlaYeh@117.31.80.79.rev.sfr.net] has quit [Ping timeout: 240 seconds] 04:21:06 adu : logically, when you have zero input lists, you should apply `proc' `n' times for an unknown value of `n' (this is what a Prolog version could do) -- a Scheme version either has to pick some arbitrary value for `n' here (`1' in your case), or not handle this case (which i think is possibly better) 04:21:16 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 04:21:23 ski: Indeed, I would rather it signalled an arity error. 04:21:41 *nod* that falls under the latter option 04:21:54 ski: Also, in the mos general implementation, (any null? lists) is always false for an empty lists, so, it never terminates. 04:21:58 *most 04:23:01 So, arbitrary n == infinite ;-) 04:23:42 however, now my implementation doesn't match up with racket's 04:24:02 I think SRFI 1's version is more widely used. 04:24:11 racket errors when you give fold-right unqeual-length-lists, my new version doesn't 04:24:35 adu: SRFI 1 explicitly allows unequal-length lists, and in particular, all lists except one is allowed to be circular. 04:24:47 adu: This is a very useful property to have. 04:24:52 cky : well, the check for zero lists would be done before the check for whether any of the lists are empty, of course :) 04:25:11 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Remote host closed the connection] 04:25:15 ski: "Most general" means these checks are not coded in, since they would make the code less general. 04:25:18 ;-) 04:25:56 So, for a most-general fold/map, zero lists means divergent behaviour. :-) 04:25:57 cky : right, circular lists .. seeing "At least one of the list arguments must be finite." i was imagining this being to cater for Lazy Scheme :) 04:26:24 ski: There's all kinds of elegant stuff you can do with circular lists. :-) 04:26:29 -!- confab [~confab@public-nat2.arc.losrios.edu] has quit [Quit: Lost terminal] 04:27:03 cky : hm, i suppose so (re the earlier comment) 04:27:13 ;-) 04:27:41 yeah, i was thinking about the case where all the lists have to be the same case, then Prolog would nondeterministically pick a length, and call the argument that many times 04:28:03 *nods* 04:28:09 that's craziness 04:28:18 adu: It is not craziness. It's very logical. 04:28:30 nondeterministically? 04:28:43 cky : yeah, but ideally you'd want to be able to `map' and `filter' &c. such circular lists as well 04:28:53 so I run it today, and it runs 4 times, then I run it tomorrow, and it runs 5 times...? 04:28:55 ski: You can, with SRFI 1. 04:28:59 adu : Prolog uses angelic nondeterminism, not demonic nondeterminism 04:29:02 ski: (As long as at least one list is finite.) 04:29:22 cky : yeah, i meant being able to `map' over a single circular list :) 04:29:37 oh did I mention I'm writing a scheme? 04:29:48 Well, technically you can, if the implementation doesn't explicitly check; but you'd use up infinite storage in the output list. 04:30:06 Using for-each for circular lists might be more useful. 04:30:13 adu : no, first it runs 0 times, then when Prolog backtracks it will run 1 time, then when it backtracks next time, it will run 2 times, &c. 04:30:19 There, you are processing the items for side effects only. 04:31:46 adu : demonic nondeterminism means the computer/system arbitrarily chooses one of the potential results for you (and you have to be able to handle any of them). angelic nondeterminism means that the computer/system generates as many alternative results as you like, and you only need to handle one of them 04:32:38 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 04:33:06 ski: sounds like random v. lazy 04:34:10 McCarthy's `amb' operator implements angelic nondeterminism in Scheme 04:35:46 see 04:37:47 -!- MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has quit [Ping timeout: 246 seconds] 04:37:56 adu : yeah, random values give rise to demonic / committed-choice nondeterminism, as does (general) concurrency. also a specification that doesn't fully fix the behaviour of a library operation or a language construct 04:38:56 angelic / all-solutions nondeterminism could mean evaluating all the possible results in parallel (as in OR-parallel Prolog), but commonly there's some kind of on-demand generation, yes 04:43:34 (e.g. with deductive databases, the solutions/results are generates in generations, but for some queries there might be an infinite number of solutions, so if those are allowed, it will generate the solutions on-demand, each successive demand will then generate a new generation block of solutions) 04:44:24 I like determinism 04:44:36 Meh to unnecessary determinism. 04:44:55 angelic nondetermism can be a handy way to implement search 04:45:11 if I want nondeterminism in anything other than map or for-each, then I'll use prolog 04:45:19 For example, given this expression ((foo) (bar) (baz) (qux)), in Scheme, there is no guarantee about the execution order of any of the subexpressions. 04:45:20 though in practice, you usually want to tame the brute-force search by using constraints 04:45:33 adu: for-each is totally deterministic. 04:45:52 cky: I know it's specified that way, but I usually don't care 04:45:58 cky : that's both good and bad 04:46:07 adu: for-each is stipulated to evaluate arguments left-to-right, but that's because for-each is designed for side effects. 04:46:41 s/evaluate arguments/call the function for list elements/ 04:47:04 ski: Well, given for-each is for side effects, it's hard to argue why it's a bad thing. 04:47:25 ski: Whereas map is not designed for side effects, so the indeterminate list element evaluation order is a good thing. 04:47:25 cky : sorry, that was re your `((foo) (bar) (baz) (qux))' example 04:47:31 Ah. 04:48:02 cky: I can see it being a bad thing if you're replaying a chat conversation out-of-order in that context could be very misleading 04:48:28 it's bad in the sense that it seemingly unnecessary introduces nondeterminacy in the language 04:48:30 or in the case of an http session, it could cause failure of delivery 04:48:44 adu: I think you misread my comment. 04:48:53 adu: for-each is left-to-right. I can't see why that's a bad thing. 04:49:23 it's good in the sense that when you really want/need sequencing, you can use `let' or `let*', and then the reader (both human and computer) can see where you intend a specific order, and where it doesn't (shouldn't) matter 04:49:55 -!- nalaginrut [~nalaginru@14.154.248.131] has quit [Ping timeout: 244 seconds] 04:50:44 nalaginrut [~nalaginru@14.154.248.131] has joined #scheme 04:50:46 ski: To me, determinism is to be stipulated as sparingly as possible. 04:51:05 ski: This gels with my understand of concurrent programming, where the processor can reorder whatever it likes absent memory barriers. 04:51:09 *understanding 04:51:13 *ski* nods 04:51:31 *ski* also likes declarative concurrency a la Oz 04:52:12 (in case you haven't read CTM yet, this is your cue) 04:52:24 ski: It's not my fault when programmers forget to use memory barriers. They should just learn to use STM, message passing, etc. ;-) 04:52:37 ski: Nice (re CTM). 04:53:16 CTM : "Concepts, Techniques, and Models of Computer Programming", by Peter Van Roy,Seif Haridi, at 04:53:31 *cky* opens that link 04:55:30 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Read error: Operation timed out] 04:55:42 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 04:56:32 R7RS has adopted some SRFI-1 features and will likely adopt more of them, including the circularity rules 04:57:16 miql [~miql@ip98-165-228-225.ph.ph.cox.net] has joined #scheme 04:58:16 ( might also be fun looking at) 04:58:48 can you all recommend a newb chan of scheme? 04:59:35 miql : how about this one ? 04:59:37 We barely have enough users for one channel. 04:59:46 Newbie questions (but not homework assignments) are welcome. 05:00:01 I tried Oz once 05:00:02 Actually, you can ask homework assignments too, but you are likely to get answers that are somewhat mystifying. 05:00:50 Nice. Well, I'm learning on my own from 'The Little Schemer.' 05:03:03 Unfortunately, I misunderstand the difference between two of the examples/exercises from the 1st chapter: 05:05:42 (cdr (car (a (b (c)) d))) does not have a real answer since the s-expressions inside of car is an atom. 05:05:59 miql: it doesn't if a is not an operator. 05:07:19 hi pjb. what about compared to: (car (cdr ((b) (x y) ((c))))) where it returns (x y)? 05:07:25 (cdr (car '(a (b (c)) d))) ; miql, did you mean this ? 05:07:48 miql: is b a procedure that returns a procedure? is x a procedure that takes one argument? is c a procedure that returns a procedure? 05:07:55 Nope. no quote, ski. 05:08:08 miql: You need to write the quote, because the book uses a different font. 05:08:11 rudybot: (car (cdr ((b) (x y) ((c))))) 05:08:12 pjb: your sandbox is ready 05:08:12 pjb: error: reference to an identifier before its definition: b in module: 'program 05:08:18 miql: Any time you see a different font, you must write a quote. 05:08:21 rudybot: eval (cdr (car '(a (b (c)) d))) 05:08:22 ski: your sandbox is ready 05:08:22 ski: error: cdr: expects argument of type ; given: 'a 05:08:30 miql: The font says, that is data, not code. 05:08:38 miql: In Scheme, you use quote to enter data mode. 05:08:49 That's so dumb to use such "pedagogical" gimmicks. 05:08:52 Not sure if you all have the book, but I'm pasting examples from page 7, 4th edition. 05:09:01 xzpeter [d24939ca@gateway/web/freenode/ip.210.73.57.202] has joined #scheme 05:09:06 miql: I have the book. But do you see the font changes? 05:09:14 miql: It uses sans-serif to denote data mode. 05:09:24 I don't, cky. :\ 05:09:30 miql: Train your eye. 05:09:37 The differences are night and day. 05:10:19 will-do. thx. 05:10:25 pjb: What, you mean using a different font to denote data mode? 05:10:38 *ski* hopes the exercise numbers are the same in cky's and miql's versions 05:10:49 ski: I'm not looking at the book at the mo. 05:11:02 cky: yes. 05:11:22 It's so much simplier to explain (quote x) --> x. 05:11:23 heh. me, too, ski. 05:11:29 Hi, all. I am reading SICP these days, but I got problem on that. I want to define a macro to implement the 'stream' structure, like (define-macro (cons-stream x y) (cons x (delay y))), but it don't work 05:11:58 pjb: It does, by saying that (quote x) --> x 05:12:08 ok. 05:12:49 I am using Guile as my Scheme intepreter, and I just want to define a workable 'cons-stream' so that I can run the test script on chapter four of the book. Can anyone help? 05:12:54 xzpeter: In modern Scheme, you'd use it like this: 05:13:22 (define-syntax cons-stream (syntax-rules () ((cons-stream x y) (cons x (delay y))))) 05:13:35 cky: I'll try 05:13:38 Sure. 05:13:40 -!- nalaginrut [~nalaginru@14.154.248.131] has quit [Quit: ] 05:14:17 cky: I got error: guile> (define-syntax cons-stream (syntax-rules () ((cons-stream x y) (cons x (delay y))))) ERROR: invalid syntax () ABORT: (misc-error) 05:14:32 Lemme test it out. 05:14:48 Worked for me (Guile 2.0.5). 05:15:05 In Guile 1.8, you need to (use-syntax (ice-9 syncase)) first. 05:15:13 I see 05:15:17 I am using 1.8 05:17:32 cky: thx, it worked. But what if I want to use the old version of macro definition (the 'define-macro')? Is that abandoned? 05:17:46 Nobody should be using define-macro these days. 05:18:56 -!- Khisanth [~Khisanth@50.14.244.111] has quit [Ping timeout: 272 seconds] 05:19:01 I see. Thanks. 05:19:05 -!- tuubow [~adityavit@c-69-136-105-164.hsd1.nj.comcast.net] has quit [Ping timeout: 246 seconds] 05:19:16 In Guile 2.0.3 upwards, you can write that even more succinctly: 05:19:27 (define-syntax-rule (cons-stream x y) (cons x (delay y))) 05:19:51 cky: Yes, that's really what I think is good looking :) 05:19:58 :-) 05:20:11 That shortcut was shamelessly stolen straight from Racket. ;-) 05:20:30 Ah. :) 05:21:47 -!- toekutr [~user@50-0-51-2.dsl.static.sonic.net] has quit [Remote host closed the connection] 05:22:32 pjb : i suppose you don't like something like then, either ? :) 05:25:07 ski: Oh gosh, I think I'd rather stick with Paredit. ;-) 05:28:22 *ski* saw some mode for highlighting the backgrounds of nested s-exprs with different colors (scales of gray, iirc) somewhere, but can't recall where 05:28:49 (i'm not thinking about `rainbow-delimiters.el' here) 05:32:25 -!- dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has quit [Remote host closed the connection] 05:35:04 -!- adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has quit [Quit: adu] 05:37:37 The business of eqv? vs +nan.0 and -0.0 is driving me nuts. 05:38:07 (In short: what should (eqv? nan1 nan2) and (eqv? 0.0 -0.0) return, in systems that have NaN and negative zero? 05:38:09 ) 05:39:55 Khisanth [~Khisanth@50.14.244.111] has joined #scheme 05:41:14 jcowan: I'd say (eqv? nan1 nan2) should be unspecified. 05:41:24 *jcowan* agrees. 05:41:28 -!- xzpeter [d24939ca@gateway/web/freenode/ip.210.73.57.202] has quit [Quit: Page closed] 05:41:30 (eqv? 0.0 -0.0) should be #f, I think. 05:42:10 (On systems that have that distinction.) 05:42:30 That's what R6RS prescribes, but not all R6RS systems do it. R5RS implicitly prescribes #t (because it defers to =), and most systems return it. 05:43:01 Hmmmm. 05:47:27 -!- BrosefStalin [456c546a@gateway/web/freenode/ip.69.108.84.106] has quit [Quit: Page closed] 05:48:19 So I think in practice it has to be unspecified too. 05:48:25 Yeah. 05:49:15 adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has joined #scheme 05:50:05 confab [~confab@c-71-193-9-153.hsd1.ca.comcast.net] has joined #scheme 05:54:50 -!- bfgun is now known as bfig 05:59:22 attila_lendvai [~attila_le@37.99.81.89] has joined #scheme 05:59:22 -!- attila_lendvai [~attila_le@37.99.81.89] has quit [Changing host] 05:59:22 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #scheme 05:59:56 -!- adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has quit [Quit: adu] 06:13:23 -!- leppie [~lolcow@196-210-156-75.dynamic.isadsl.co.za] has quit [Ping timeout: 245 seconds] 06:15:03 -!- YokYok [~david@vmailbox.org] has quit [Remote host closed the connection] 06:18:00 leppie [~lolcow@196-210-165-201.dynamic.isadsl.co.za] has joined #scheme 06:24:32 YokYok [~david@vmailbox.org] has joined #scheme 06:36:11 -!- futilius [~futilius_@user-0c9h82b.cable.mindspring.com] has quit [Quit: Leaving] 06:42:14 tom_i [~thomasing@ingserv.demon.co.uk] has joined #scheme 07:07:20 gravicappa [~gravicapp@ppp91-77-211-194.pppoe.mtu-net.ru] has joined #scheme 07:19:29 -!- realitygrill [~realitygr@adsl-76-226-143-173.dsl.sfldmi.sbcglobal.net] has quit [Quit: realitygrill] 07:21:59 realitygrill [~realitygr@adsl-76-226-143-173.dsl.sfldmi.sbcglobal.net] has joined #scheme 07:22:09 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Quit: Leaving] 07:22:26 -!- jcowan [~John@cpe-66-108-19-185.nyc.res.rr.com] has quit [Quit: Leaving] 07:22:39 -!- realitygrill [~realitygr@adsl-76-226-143-173.dsl.sfldmi.sbcglobal.net] has quit [Client Quit] 07:32:33 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Ping timeout: 245 seconds] 07:34:25 -!- forcer [~forcer@hmbg-4d06b543.pool.mediaWays.net] has quit [Ping timeout: 276 seconds] 07:41:59 -!- homie`` [~levgue@xdsl-78-35-183-19.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 07:50:38 -!- tom_i [~thomasing@ingserv.demon.co.uk] has quit [Ping timeout: 244 seconds] 07:51:46 homie [~levgue@xdsl-78-35-183-19.netcologne.de] has joined #scheme 07:57:39 dzhus [~sphinx@176.14.94.92] has joined #scheme 08:04:35 -!- bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has quit [Read error: Operation timed out] 08:17:12 pumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 08:17:21 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Read error: Connection reset by peer] 08:17:22 -!- pumpkin is now known as copumpkin 08:17:50 -!- twem2 [~tristan@puma-mxisp.mxtelecom.com] has quit [Read error: Connection reset by peer] 08:19:03 twem2 [~tristan@puma-mxisp.mxtelecom.com] has joined #scheme 08:19:32 pchrist [~spirit@gentoo/developer/pchrist] has joined #scheme 08:26:56 namoamitabuddha [~namoamita@unaffiliated/namoamitabuddha] has joined #scheme 08:28:08 wingo [~wingo@90.164.198.39] has joined #scheme 08:28:57 Continuation can be seen as a pair of an expression to be evaluated and the pointer to the environment. Am I right? 08:29:20 In environment model 08:30:11 It's not quite like that. 08:30:31 sestisr [~chatzilla@138.227.189.8] has joined #scheme 08:31:25 How about the exact explanation? 08:31:32 If you capture the whole current call state (the current set of call frames), then that's more like it. 08:32:11 env is a list of frames, am I right? 08:33:45 nalaginrut [~nalaginru@14.154.248.131] has joined #scheme 08:33:57 And frames are muttable. 08:37:06 There exists another question. Why can the *procedure* call-with-current-continuation catch a continuation? When applied, how does procedure know it? 08:38:55 kpal [~kpal@janus-nat-128-240-225-120.ncl.ac.uk] has joined #scheme 08:39:53 call/cc requires built-in support (basically, when the compiler does CPS transformation, it just returns the continuation). 08:40:39 poindontcare [~user@cloudbovina.bovinasancta.com] has joined #scheme 08:40:42 Continuations are not like normal procedures; they're their own object type (even though procedure? does return #t for them). 08:40:55 rudybot: (call/cc procedure?) 08:40:55 cky: your sandbox is ready 08:40:55 cky: ; Value: #t 08:48:40 tom_i [~thomasing@cmc.beaming.biz] has joined #scheme 08:50:21 I read source code of call-with-current-contiuation in mit-scheme src/runtime/coutin.scm. I find that it returns an lambda (procedure). 08:51:12 ahinki [~chatzilla@212.99.10.150] has joined #scheme 08:51:20 Oh, no, I'm wrong. 09:09:23 -!- virl [~virl__@85-127-158-92.dynamic.xdsl-line.inode.at] has quit [Remote host closed the connection] 09:17:21 -!- namoamitabuddha [~namoamita@unaffiliated/namoamitabuddha] has quit [Quit: WeeChat 0.3.7] 09:26:20 bas_ [~bas@89.184.179.185] has joined #scheme 09:26:43 -!- bas_ is now known as Skola 09:29:35 -!- sestisr [~chatzilla@138.227.189.8] has quit [Read error: Connection reset by peer] 09:46:59 -!- dzhus [~sphinx@176.14.94.92] has quit [Remote host closed the connection] 10:01:01 MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has joined #scheme 10:01:58 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 10:02:31 sestisr [~chatzilla@138.227.189.8] has joined #scheme 10:04:29 kuribas [~user@d54C43316.access.telenet.be] has joined #scheme 10:04:33 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #scheme 10:08:04 X-Scale [name@2001:470:1f14:135b::2] has joined #scheme 10:14:19 -!- MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has quit [Ping timeout: 245 seconds] 10:14:48 masm [~masm@bl18-37-48.dsl.telepac.pt] has joined #scheme 10:36:52 -!- snorble_ [~snorble@c193-14-18-68.cust.tele2.se] has quit [Ping timeout: 272 seconds] 10:38:18 rostayob [~rostayob@5add3a82.bb.sky.com] has joined #scheme 10:42:32 -!- kuribas [~user@d54C43316.access.telenet.be] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 10:48:44 tuubow [~adityavit@c-69-136-105-164.hsd1.nj.comcast.net] has joined #scheme 11:05:56 -!- leppie [~lolcow@196-210-165-201.dynamic.isadsl.co.za] has quit [Ping timeout: 246 seconds] 11:11:03 leppie [~lolcow@196-215-106-183.dynamic.isadsl.co.za] has joined #scheme 11:11:52 leo2007 [~leo@114.249.196.3] has joined #scheme 11:15:32 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 11:21:24 -!- wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has quit [Ping timeout: 245 seconds] 11:26:04 -!- rostayob [~rostayob@5add3a82.bb.sky.com] has quit [Ping timeout: 260 seconds] 11:29:23 -!- gravicappa [~gravicapp@ppp91-77-211-194.pppoe.mtu-net.ru] has quit [Ping timeout: 246 seconds] 11:29:25 gcartier [~gcartier@modemcable026.84-70-69.static.videotron.ca] has joined #scheme 11:43:23 soveran [~soveran@186.19.214.247] has joined #scheme 11:43:46 gravicappa [~gravicapp@ppp91-77-214-97.pppoe.mtu-net.ru] has joined #scheme 11:43:52 -!- leo2007 [~leo@114.249.196.3] has quit [Quit: rcirc on GNU Emacs 24.0.94.1] 11:45:55 samth_ [~samth@c-66-31-201-165.hsd1.ma.comcast.net] has joined #scheme 11:51:52 -!- pygospa [~Pygosceli@kiel-4dbecfb9.pool.mediaWays.net] has quit [Disconnected by services] 11:52:01 pygospa [~Pygosceli@kiel-4d066dd5.pool.mediaWays.net] has joined #scheme 11:56:45 forcer [~forcer@hmbg-5f77dafd.pool.mediaWays.net] has joined #scheme 12:00:00 -!- homie [~levgue@xdsl-78-35-183-19.netcologne.de] has quit [Read error: Connection reset by peer] 12:01:09 tupi [~david@139.82.89.24] has joined #scheme 12:01:31 homie [~levgue@xdsl-78-35-183-19.netcologne.de] has joined #scheme 12:04:39 -!- homie [~levgue@xdsl-78-35-183-19.netcologne.de] has quit [Read error: Connection reset by peer] 12:07:25 homie [~levgue@xdsl-78-35-183-19.netcologne.de] has joined #scheme 12:11:01 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Ping timeout: 248 seconds] 12:11:17 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 12:14:41 tomodo [~tomodo@gateway/tor-sasl/tomodo] has joined #scheme 12:15:36 lcc [~user@unaffiliated/lcc] has joined #scheme 12:22:56 rostayob [~rostayob@dyn1213-200.wlan.ic.ac.uk] has joined #scheme 12:27:58 -!- jrslepak [~jrslepak@c-71-233-148-123.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 12:29:31 homie` [~levgue@xdsl-78-35-183-19.netcologne.de] has joined #scheme 12:31:38 -!- homie [~levgue@xdsl-78-35-183-19.netcologne.de] has quit [Ping timeout: 240 seconds] 12:31:38 -!- pygospa [~Pygosceli@kiel-4d066dd5.pool.mediaWays.net] has quit [Ping timeout: 240 seconds] 12:31:42 -!- bfig [~b_fin_g@r186-52-167-177.dialup.adsl.anteldata.net.uy] has quit [Ping timeout: 244 seconds] 12:32:08 TheRealPygo [~Pygosceli@kiel-4d066dd5.pool.mediaWays.net] has joined #scheme 12:32:10 bfig [~b_fin_g@r186-52-167-177.dialup.adsl.anteldata.net.uy] has joined #scheme 12:37:33 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 245 seconds] 12:39:25 eno [~eno@nslu2-linux/eno] has joined #scheme 12:44:56 preflex_ [~preflex@unaffiliated/mauke/bot/preflex] has joined #scheme 12:45:08 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 244 seconds] 12:45:41 -!- kpal [~kpal@janus-nat-128-240-225-120.ncl.ac.uk] has quit [Ping timeout: 265 seconds] 12:45:42 -!- preflex_ is now known as preflex 12:49:55 langmartin [~user@host-68-169-155-216.WISOLT2.epbfi.com] has joined #scheme 12:54:43 bfgun [~b_fin_g@r190-135-13-221.dialup.adsl.anteldata.net.uy] has joined #scheme 12:57:14 -!- fbs [fbs@fsf/member/fbs] has quit [Ping timeout: 245 seconds] 12:58:08 -!- bfig [~b_fin_g@r186-52-167-177.dialup.adsl.anteldata.net.uy] has quit [Ping timeout: 252 seconds] 12:58:14 -!- homie` [~levgue@xdsl-78-35-183-19.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 13:02:37 homie [~levgue@xdsl-78-35-183-19.netcologne.de] has joined #scheme 13:05:06 fbs [fbs@fsf/member/fbs] has joined #scheme 13:10:51 -!- confab [~confab@c-71-193-9-153.hsd1.ca.comcast.net] has quit [Quit: Lost terminal] 13:12:16 -!- pranq [pranq@unaffiliated/contempt] has quit [Ping timeout: 265 seconds] 13:12:59 -!- samth_ [~samth@c-66-31-201-165.hsd1.ma.comcast.net] has quit [Ping timeout: 246 seconds] 13:13:48 dous [~dous@unaffiliated/dous] has joined #scheme 13:16:19 -!- dous_ [~dous@unaffiliated/dous] has quit [Ping timeout: 276 seconds] 13:18:41 ijp` [~user@host86-171-77-228.range86-171.btcentralplus.com] has joined #scheme 13:19:27 pranq [pranq@unaffiliated/contempt] has joined #scheme 13:20:10 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 246 seconds] 13:20:20 -!- ijp [~user@host109-151-48-85.range109-151.btcentralplus.com] has quit [Ping timeout: 246 seconds] 13:21:53 eno [~eno@nslu2-linux/eno] has joined #scheme 13:23:37 keenbug [~daniel@p4FE390BC.dip.t-dialin.net] has joined #scheme 13:30:01 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 252 seconds] 13:30:14 adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has joined #scheme 13:31:51 eno [~eno@nslu2-linux/eno] has joined #scheme 13:31:54 -!- adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has quit [Client Quit] 13:36:11 -!- eno [~eno@nslu2-linux/eno] has quit [Read error: Operation timed out] 13:40:46 eno [~eno@nslu2-linux/eno] has joined #scheme 13:41:29 chupish [182c5af4@gateway/web/freenode/ip.24.44.90.244] has joined #scheme 13:46:38 -!- jschuster [~schuster@solarquest.ccs.neu.edu] has left #scheme 13:48:42 ijp`` [~user@host86-182-155-55.range86-182.btcentralplus.com] has joined #scheme 13:49:06 stevenfx [~steven@196-209-227-52.dynamic.isadsl.co.za] has joined #scheme 13:51:25 -!- ijp` [~user@host86-171-77-228.range86-171.btcentralplus.com] has quit [Ping timeout: 276 seconds] 13:54:09 jrslepak [~jrslepak@129.10.228.116] has joined #scheme 13:57:34 -!- jrslepak [~jrslepak@129.10.228.116] has quit [Read error: Connection reset by peer] 13:58:48 jrslepak [~jrslepak@129.10.228.116] has joined #scheme 14:08:48 -!- eno [~eno@nslu2-linux/eno] has quit [Read error: Operation timed out] 14:11:03 eno [~eno@nslu2-linux/eno] has joined #scheme 14:27:38 -!- eno [~eno@nslu2-linux/eno] has quit [Read error: Operation timed out] 14:29:35 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Quit: Computer has gone to sleep.] 14:30:10 eno [~eno@nslu2-linux/eno] has joined #scheme 14:33:13 dzhus [~sphinx@176.14.94.92] has joined #scheme 14:34:09 leo2007 [~leo@123.123.255.227] has joined #scheme 14:35:37 -!- eno [~eno@nslu2-linux/eno] has quit [Read error: Operation timed out] 14:38:06 eno [~eno@nslu2-linux/eno] has joined #scheme 14:39:38 -!- leppie [~lolcow@196-215-106-183.dynamic.isadsl.co.za] has quit [Ping timeout: 245 seconds] 14:43:21 xwl [~user@123.108.223.27] has joined #scheme 14:44:58 leppie [~lolcow@196-215-79-214.dynamic.isadsl.co.za] has joined #scheme 14:48:32 -!- stevenfx [~steven@196-209-227-52.dynamic.isadsl.co.za] has quit [Ping timeout: 246 seconds] 14:50:31 -!- rostayob [~rostayob@dyn1213-200.wlan.ic.ac.uk] has quit [Ping timeout: 264 seconds] 14:52:37 adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has joined #scheme 14:52:39 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 14:53:46 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 265 seconds] 14:53:57 wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has joined #scheme 14:55:10 eno [~eno@nslu2-linux/eno] has joined #scheme 14:57:37 -!- homie [~levgue@xdsl-78-35-183-19.netcologne.de] has quit [Read error: Connection reset by peer] 14:58:58 homie` [~levgue@xdsl-78-35-148-107.netcologne.de] has joined #scheme 15:03:51 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 15:05:31 -!- tomodo [~tomodo@gateway/tor-sasl/tomodo] has quit [Ping timeout: 276 seconds] 15:08:30 tomodo [~tomodo@gateway/tor-sasl/tomodo] has joined #scheme 15:12:20 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 246 seconds] 15:14:13 eno [~eno@nslu2-linux/eno] has joined #scheme 15:15:07 -!- leppie [~lolcow@196-215-79-214.dynamic.isadsl.co.za] has quit [Ping timeout: 260 seconds] 15:19:40 leppie [~lolcow@196-210-156-15.dynamic.isadsl.co.za] has joined #scheme 15:21:20 virl [~virl__@85-127-158-92.dynamic.xdsl-line.inode.at] has joined #scheme 15:22:04 GoKhlaYeh [~GoKhlaYeh@117.31.80.79.rev.sfr.net] has joined #scheme 15:28:27 -!- leppie [~lolcow@196-210-156-15.dynamic.isadsl.co.za] has quit [Ping timeout: 252 seconds] 15:30:32 -!- tuubow [~adityavit@c-69-136-105-164.hsd1.nj.comcast.net] has quit [Ping timeout: 246 seconds] 15:31:44 -!- jrslepak [~jrslepak@129.10.228.116] has quit [Quit: This computer has gone to sleep] 15:33:52 realitygrill [~realitygr@thewall.novi.lib.mi.us] has joined #scheme 15:34:26 leppie [~lolcow@196-209-224-66.dynamic.isadsl.co.za] has joined #scheme 15:36:48 bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has joined #scheme 15:42:09 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 260 seconds] 15:43:24 eno [~eno@nslu2-linux/eno] has joined #scheme 15:48:14 -!- eno [~eno@nslu2-linux/eno] has quit [Read error: Operation timed out] 15:49:25 -!- realitygrill [~realitygr@thewall.novi.lib.mi.us] has quit [Quit: realitygrill] 15:49:55 eno [~eno@nslu2-linux/eno] has joined #scheme 15:49:58 -!- leppie [~lolcow@196-209-224-66.dynamic.isadsl.co.za] has quit [Ping timeout: 252 seconds] 15:51:01 -!- tomodo [~tomodo@gateway/tor-sasl/tomodo] has quit [Ping timeout: 276 seconds] 15:52:49 preflex_ [~preflex@unaffiliated/mauke/bot/preflex] has joined #scheme 15:53:14 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 260 seconds] 15:53:27 tomodo [~tomodo@gateway/tor-sasl/tomodo] has joined #scheme 15:53:34 -!- ahinki [~chatzilla@212.99.10.150] has quit [Quit: ChatZilla 0.9.88.1 [Firefox 12.0/20120314195616]] 15:53:36 -!- preflex_ is now known as preflex 15:58:53 -!- ijp`` [~user@host86-182-155-55.range86-182.btcentralplus.com] has quit [Ping timeout: 246 seconds] 15:59:08 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 240 seconds] 16:00:52 eno [~eno@nslu2-linux/eno] has joined #scheme 16:01:03 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #scheme 16:01:05 -!- Euthy [~euthy@unaffiliated/euthydemus] has quit [Quit: leaving] 16:02:07 tuubow [~adityavit@c-69-136-105-164.hsd1.nj.comcast.net] has joined #scheme 16:05:19 erjiang [~erjiang@140-182-223-241.dhcp-bl.indiana.edu] has joined #scheme 16:06:19 mmc1 [~michal@178-85-63-71.dynamic.upc.nl] has joined #scheme 16:06:57 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 16:09:02 -!- lcc [~user@unaffiliated/lcc] has quit [Ping timeout: 252 seconds] 16:12:32 -!- taylanub [tub@p4FD938F3.dip.t-dialin.net] has quit [Ping timeout: 246 seconds] 16:13:05 leppie [~lolcow@196-209-224-66.dynamic.isadsl.co.za] has joined #scheme 16:14:35 kk` [~kk@unaffiliated/kk/x-5380134] has joined #scheme 16:16:55 dous_ [~dous@unaffiliated/dous] has joined #scheme 16:17:58 -!- Skola [~bas@89.184.179.185] has quit [Ping timeout: 246 seconds] 16:19:16 -!- dous [~dous@unaffiliated/dous] has quit [Ping timeout: 260 seconds] 16:20:01 tcleval [~funnyguy@187.114.159.27] has joined #scheme 16:20:15 -!- eno [~eno@nslu2-linux/eno] has quit [Read error: Operation timed out] 16:23:55 -!- homie` [~levgue@xdsl-78-35-148-107.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 16:24:02 eno [~eno@nslu2-linux/eno] has joined #scheme 16:26:49 -!- wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has quit [Read error: Connection reset by peer] 16:27:01 rostayob [~rostayob@host86-137-13-89.range86-137.btcentralplus.com] has joined #scheme 16:27:13 wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has joined #scheme 16:27:18 homie [~levgue@xdsl-78-35-148-107.netcologne.de] has joined #scheme 16:27:27 -!- erjiang [~erjiang@140-182-223-241.dhcp-bl.indiana.edu] has quit [Ping timeout: 260 seconds] 16:28:22 ijp [~user@host31-52-140-174.range31-52.btcentralplus.com] has joined #scheme 16:38:15 asdfhjkl [~bob@i5E879AE1.versanet.de] has joined #scheme 16:42:29 soveran [~soveran@186.19.214.247] has joined #scheme 16:49:48 jonrafkind [~jon@crystalis.cs.utah.edu] has joined #scheme 16:50:38 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 240 seconds] 16:50:59 -!- sestisr [~chatzilla@138.227.189.8] has quit [Ping timeout: 260 seconds] 16:52:15 do schemers usually code using loop macros? 16:52:17 eno [~eno@nslu2-linux/eno] has joined #scheme 16:53:02 depends on the schemer 16:53:05 they use both explicit recursion as well as loop macros 16:54:38 jrslepak [~jrslepak@nomad.ccs.neu.edu] has joined #scheme 16:55:06 I am coding using gambit-c and I didnt see any reference to loop macros on the mail list, so it got me thinking that schemers may prefer not use loop macros 16:55:21 I don't think I ever used one in my life. 16:55:32 for-each does basically all you need to do with side effects. 16:55:46 *ijp* suspects Lajla has never written any complicated code 16:56:17 Lajla: I am getting myself looping a lot with matrix and vector indexes, any sujestion? 16:56:17 And why is that so good sir? 16:56:35 Depends on what you want to do. 16:56:39 I use the various for* forms in Racket 16:56:47 there's a whole pile of them, for different purposes 16:56:58 tcleval: foof-loop has its fans 16:57:41 -!- jewel [~jewel@196.215.168.160] has quit [Ping timeout: 246 seconds] 16:58:35 ijp: I was looking at foof-loops from http://mumble.net/~campbell/scheme/, but it depends on let-values that is not available on gambit. Of course, now I am looking for let-values 16:58:58 let-values is trivial 16:59:05 No, it's not. 16:59:05 -!- gcartier [~gcartier@modemcable026.84-70-69.static.videotron.ca] has quit [Ping timeout: 246 seconds] 16:59:33 whitequark [~whitequar@2a00:ab00:1::4464:5550] has joined #scheme 16:59:40 That's why there's an implementation of it at . 16:59:44 ah yes, I see the issue 16:59:46 -!- whitequark [~whitequar@2a00:ab00:1::4464:5550] has left #scheme 16:59:55 -!- jrslepak [~jrslepak@nomad.ccs.neu.edu] has quit [Ping timeout: 276 seconds] 17:00:10 let*-values is the trivial one 17:00:43 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 264 seconds] 17:02:14 eno [~eno@nslu2-linux/eno] has joined #scheme 17:03:40 snorble_ [~snorble@c193-14-18-68.cust.tele2.se] has joined #scheme 17:05:12 Riastradh: of course, it's trivial, go to the site for the srfi 11 and copy it... ;-) 17:05:31 (assumes it is broken though, or Riastradh wouldn't have bothered) 17:05:56 -!- rostayob [~rostayob@host86-137-13-89.range86-137.btcentralplus.com] has quit [Quit: WeeChat 0.3.5] 17:06:10 gcartier [~gcartier@modemcable026.84-70-69.static.videotron.ca] has joined #scheme 17:06:46 -!- chupish [182c5af4@gateway/web/freenode/ip.24.44.90.244] has quit [Quit: will be back later] 17:07:43 -!- tomodo [~tomodo@gateway/tor-sasl/tomodo] has quit [Ping timeout: 276 seconds] 17:08:29 MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has joined #scheme 17:10:34 -!- cdidd [~cdidd@95-25-174-13.broadband.corbina.ru] has quit [Remote host closed the connection] 17:11:25 Riastradh: what's wrong with the reference implementation? It looks kosher to me 17:13:16 _schulte_ [~eschulte@adaptive.cs.unm.edu] has joined #scheme 17:13:43 -!- TheRealPygo is now known as pygospa 17:19:26 -!- bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has quit [Ping timeout: 252 seconds] 17:23:33 -!- leppie [~lolcow@196-209-224-66.dynamic.isadsl.co.za] has quit [Ping timeout: 248 seconds] 17:26:11 arcfide [~arcfide@2001:18e8:2:10f4:859e:97:eca1:ac71] has joined #scheme 17:26:40 -!- tom_i [~thomasing@cmc.beaming.biz] has quit [Read error: Operation timed out] 17:27:13 -!- githogori [~githogori@c-50-131-15-16.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 17:28:23 -!- virl [~virl__@85-127-158-92.dynamic.xdsl-line.inode.at] has quit [Remote host closed the connection] 17:28:50 sstrickl [~sstrickl@dublin.ccs.neu.edu] has joined #scheme 17:28:50 -!- ijp [~user@host31-52-140-174.range31-52.btcentralplus.com] has quit [Ping timeout: 246 seconds] 17:29:11 jlongster [~user@pool-173-53-25-16.rcmdva.fios.verizon.net] has joined #scheme 17:29:20 leppie [~lolcow@196-215-35-242.dynamic.isadsl.co.za] has joined #scheme 17:29:52 -!- gcartier [~gcartier@modemcable026.84-70-69.static.videotron.ca] has quit [Remote host closed the connection] 17:30:00 ijp [~user@host31-52-140-174.range31-52.btcentralplus.com] has joined #scheme 17:31:09 -!- MichaelRaskin [~MichaelRa@3ad50e34.broker.freenet6.net] has left #scheme 17:35:38 rostayob [~rostayob@host86-157-215-30.range86-157.btcentralplus.com] has joined #scheme 17:36:07 -!- rostayob [~rostayob@host86-157-215-30.range86-157.btcentralplus.com] has quit [Client Quit] 17:36:22 bitonic [~Francesco@host86-157-215-30.range86-157.btcentralplus.com] has joined #scheme 17:36:51 -!- Lajla [~Lajla@ip51cc146b.speed.planet.nl] has left #scheme 17:37:51 https://gist.github.com/2138483 -- a syntax case version of same 17:40:34 nice, ijp 17:42:36 useful error messages left as an exercise :) 17:42:40 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 246 seconds] 17:43:44 so srfi-1:any == r6rs:exists? 17:44:13 I assume there is a devil in the details, but yes 17:44:43 eno [~eno@nslu2-linux/eno] has joined #scheme 17:44:43 and, no question mark at the end 17:44:45 -!- leppie [~lolcow@196-215-35-242.dynamic.isadsl.co.za] has quit [Ping timeout: 250 seconds] 17:44:53 grep devil details.txt 17:46:05 ijp: the question mark was mine, not r6rs' 17:46:58 details.txt:666: devil 17:47:26 well at least it's readable 17:51:37 leppie [~lolcow@196-215-35-242.dynamic.isadsl.co.za] has joined #scheme 17:55:47 Cowmoo [~Cowmoo@12.130.118.9] has joined #scheme 17:56:06 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 260 seconds] 17:57:43 eno [~eno@adsl-70-137-133-209.dsl.snfc21.sbcglobal.net] has joined #scheme 17:57:53 -!- eno [~eno@adsl-70-137-133-209.dsl.snfc21.sbcglobal.net] has quit [Changing host] 17:57:53 eno [~eno@nslu2-linux/eno] has joined #scheme 18:00:10 bipt [~bpt@cpe-173-095-170-102.nc.res.rr.com] has joined #scheme 18:00:15 -!- xwl [~user@123.108.223.27] has quit [Remote host closed the connection] 18:09:05 -!- tuubow [~adityavit@c-69-136-105-164.hsd1.nj.comcast.net] has quit [Ping timeout: 246 seconds] 18:09:59 turbofail [~user@c-107-3-149-149.hsd1.ca.comcast.net] has joined #scheme 18:10:00 -!- Cowmoo [~Cowmoo@12.130.118.9] has quit [Ping timeout: 265 seconds] 18:12:43 -!- pranq [pranq@unaffiliated/contempt] has quit [Ping timeout: 276 seconds] 18:15:26 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 18:25:59 -!- eno [~eno@nslu2-linux/eno] has quit [Read error: Operation timed out] 18:30:01 eno [~eno@nslu2-linux/eno] has joined #scheme 18:30:42 mimosaliquido [~tsousa@188.251.64.128] has joined #scheme 18:30:54 -!- Nshag [user@chl45-1-88-123-84-8.fbx.proxad.net] has quit [Ping timeout: 244 seconds] 18:30:56 learning scheme will improve my skill in what aspect? 18:31:08 Nshag [user@chl45-1-88-123-84-8.fbx.proxad.net] has joined #scheme 18:37:53 ijp, I dunno. I don't like that style of macro definition, with the magic strings.n 18:38:06 yeah, me neither 18:38:54 tom_i [~thomasing@ingserv.demon.co.uk] has joined #scheme 18:42:47 githogori [~githogori@216.207.36.222] has joined #scheme 18:43:02 -!- bitonic [~Francesco@host86-157-215-30.range86-157.btcentralplus.com] has quit [Quit: WeeChat 0.3.5] 18:46:08 -!- mimosaliquido [~tsousa@188.251.64.128] has quit [Quit: Saindo] 18:50:22 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 252 seconds] 18:52:09 eno [~eno@nslu2-linux/eno] has joined #scheme 18:53:46 pranq [pranq@unaffiliated/contempt] has joined #scheme 18:57:08 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 245 seconds] 18:57:53 FACEFOX [~facefox@pool-74-111-197-200.lsanca.fios.verizon.net] has joined #scheme 18:57:53 eno [~eno@nslu2-linux/eno] has joined #scheme 19:01:24 -!- MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has quit [Ping timeout: 245 seconds] 19:09:39 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 19:10:18 -!- eno [~eno@nslu2-linux/eno] has quit [Read error: Operation timed out] 19:13:56 eno [~eno@nslu2-linux/eno] has joined #scheme 19:17:46 add^_ [~add^_^@m212-152-15-182.cust.tele2.se] has joined #scheme 19:20:57 MichaelRaskin [~MichaelRa@3ad50e34.broker.freenet6.net] has joined #scheme 19:21:37 antithesis [~antithesi@s51476e07.adsl.wanadoo.nl] has joined #scheme 19:29:04 bitonic [~Francesco@host86-157-215-30.range86-157.btcentralplus.com] has joined #scheme 19:35:00 tomodo [~tomodo@gateway/tor-sasl/tomodo] has joined #scheme 19:40:53 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has left #scheme 19:43:23 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 245 seconds] 19:43:53 CampinSam [~CampinSam@24-176-98-217.dhcp.jcsn.tn.charter.com] has joined #scheme 19:44:45 choas [~lars@p4FDC5407.dip.t-dialin.net] has joined #scheme 19:45:17 eno [~eno@nslu2-linux/eno] has joined #scheme 19:55:26 albacker [~eni@gob75-5-82-230-88-217.fbx.proxad.net] has joined #scheme 19:55:27 -!- albacker [~eni@gob75-5-82-230-88-217.fbx.proxad.net] has quit [Changing host] 19:55:27 albacker [~eni@unaffiliated/enyx] has joined #scheme 19:56:28 tuubow [~adityavit@c-69-136-105-164.hsd1.nj.comcast.net] has joined #scheme 20:00:02 -!- pygospa [~Pygosceli@kiel-4d066dd5.pool.mediaWays.net] has quit [Disconnected by services] 20:00:12 pygospa [~Pygosceli@kiel-5f77bd28.pool.mediaWays.net] has joined #scheme 20:01:03 soveran [~soveran@186.19.214.247] has joined #scheme 20:08:43 -!- wingo [~wingo@90.164.198.39] has quit [Read error: Connection reset by peer] 20:11:59 wingo [~wingo@90.164.198.39] has joined #scheme 20:14:13 -!- nalaginrut [~nalaginru@14.154.248.131] has quit [Ping timeout: 248 seconds] 20:19:42 jake___ [~jake@63.249.57.43] has joined #scheme 20:24:41 -!- tali713 is now known as talibot 20:25:38 -!- talibot is now known as tali713 20:31:53 -!- adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has quit [Quit: adu] 20:34:34 gcartier [~gcartier@modemcable026.84-70-69.static.videotron.ca] has joined #scheme 20:36:18 virl [~virl__@85-127-158-92.dynamic.xdsl-line.inode.at] has joined #scheme 20:37:41 -!- _schulte_ [~eschulte@adaptive.cs.unm.edu] has quit [Ping timeout: 260 seconds] 20:40:29 Ragnaroek [~chatzilla@p5081CCC6.dip.t-dialin.net] has joined #scheme 20:48:29 -!- Ragnaroek [~chatzilla@p5081CCC6.dip.t-dialin.net] has quit [Remote host closed the connection] 20:49:55 -!- tom_i [~thomasing@ingserv.demon.co.uk] has quit [Ping timeout: 264 seconds] 20:55:38 -!- tupi [~david@139.82.89.24] has quit [Quit: Leaving] 20:57:25 -!- keenbug [~daniel@p4FE390BC.dip.t-dialin.net] has quit [Read error: Operation timed out] 21:12:03 -!- tomodo [~tomodo@gateway/tor-sasl/tomodo] has quit [Quit: Lost terminal] 21:13:29 -!- leo2007 [~leo@123.123.255.227] has quit [Ping timeout: 260 seconds] 21:15:48 MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has joined #scheme 21:20:56 -!- homie [~levgue@xdsl-78-35-148-107.netcologne.de] has quit [Read error: Connection reset by peer] 21:22:33 homie [~levgue@xdsl-78-35-148-107.netcologne.de] has joined #scheme 21:27:58 -!- antithesis [~antithesi@s51476e07.adsl.wanadoo.nl] has quit [Quit: yes leaving] 21:34:12 -!- bipt [~bpt@cpe-173-095-170-102.nc.res.rr.com] has quit [Ping timeout: 244 seconds] 21:35:25 -!- virl [~virl__@85-127-158-92.dynamic.xdsl-line.inode.at] has quit [Remote host closed the connection] 21:49:23 -!- copumpkin is now known as DBorello 21:49:47 -!- ASau [~user@95-26-216-211.broadband.corbina.ru] has quit [Ping timeout: 252 seconds] 21:51:14 -!- DBorello is now known as DBordelIo 21:51:46 -!- forcer [~forcer@hmbg-5f77dafd.pool.mediaWays.net] has quit [Ping timeout: 276 seconds] 21:51:52 -!- pothos [~pothos@114-36-235-126.dynamic.hinet.net] has quit [Read error: Operation timed out] 21:55:02 -!- madmuppet006 [~panzer@122-62-124-247.jetstream.xtra.co.nz] has quit [Quit: Leaving] 21:55:16 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Ping timeout: 260 seconds] 21:56:50 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 22:00:36 ASau [~user@95-24-232-151.broadband.corbina.ru] has joined #scheme 22:02:17 -!- DBordelIo is now known as copumpkin 22:07:56 bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has joined #scheme 22:11:43 AR_ [~AR_@24.238.76.196] has joined #scheme 22:12:17 how can i rewrite this recursively 22:12:19 http://pastebin.com/ZCJ8x05m 22:12:38 -!- tcleval [~funnyguy@187.114.159.27] has quit [Remote host closed the connection] 22:12:58 this function returns the correct result when n=1 22:14:07 jrslepak [~jrslepak@c-71-233-148-123.hsd1.ma.comcast.net] has joined #scheme 22:17:00 AR_: What is nzero? 22:18:07 -!- gravicappa [~gravicapp@ppp91-77-214-97.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 22:19:22 -!- FACEFOX [~facefox@pool-74-111-197-200.lsanca.fios.verizon.net] has quit [Ping timeout: 252 seconds] 22:25:41 FACEFOX [~facefox@pool-74-111-197-200.lsanca.fios.verizon.net] has joined #scheme 22:27:02 -!- albacker [~eni@unaffiliated/enyx] has quit [Ping timeout: 246 seconds] 22:27:38 -!- FACEFOX [~facefox@pool-74-111-197-200.lsanca.fios.verizon.net] has quit [Client Quit] 22:29:33 -!- mmc1 [~michal@178-85-63-71.dynamic.upc.nl] has quit [Ping timeout: 265 seconds] 22:29:39 -!- sstrickl [~sstrickl@dublin.ccs.neu.edu] has quit [Quit: sstrickl] 22:30:26 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #scheme 22:32:11 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [Client Quit] 22:33:40 forcer [~forcer@hmbg-4d06c512.pool.mediaWays.net] has joined #scheme 22:35:43 cky, it returns a list of n zeros 22:36:18 (define (nzero n) (if (< n 1) '() (cons 0 (nzero (- n 1))))) 22:38:04 -!- jake___ [~jake@63.249.57.43] has quit [Quit: leaving] 22:38:27 Hahahahahaha. 22:38:40 AR_: make-list is a useful function. :-) 22:38:48 regardless 22:38:54 rudybot: (make-list 30 0) 22:38:55 cky: ; Value: (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) 22:39:00 lol 22:40:15 So, I'm given to understand your function is trying to calculate some kind of cross product. 22:40:29 With some kind of padding with zeroes, or something. 22:40:58 pothos [~pothos@114-36-235-126.dynamic.hinet.net] has joined #scheme 22:40:59 rudybot, ((lambda (x) (x x)) (lambda (x) (x x))) 22:41:00 bipt: your sandbox is ready 22:41:10 bipt: error: with-limit: out of time 22:41:19 bipt: ((call/cc call/cc) (call/cc call/cc)) 22:41:30 rudybot, why can't you detect non-terminating programs? 22:41:35 bipt: (the simplification is invalid for infinite lazy streams in the sense that it makes a nonterminating program terminate) 22:41:39 bipt: Lol. 22:41:46 bipt: Gogo solve the halting problem. 22:41:47 (S I I (S I I)) 22:43:51 i think i got it 22:46:26 rudybot, (define (polyMultHelper l1 l2 n) (if (null? l1) '() (cons (append (nzero n) (map (lambda (x) (* (car l1) x)) l2)) (polyMultHelper (cdr l1) l2 (+ n 1))))) 22:46:27 AR_: your sandbox is ready 22:46:27 AR_: Done. 22:46:47 rudybot, (polyMultHelper '(1 2 1) '(1 2 1) 0) 22:46:47 AR_: error: reference to an identifier before its definition: nzero in module: 'program 22:47:17 rudybot, (define (nzero n) (if (< n 1) '() (cons 0 (nzero (- n 1))))) 22:47:17 AR_: Done. 22:47:19 rudybot, (polyMultHelper '(1 2 1) '(1 2 1) 0) 22:47:20 AR_: ; Value: ((1 2 1) (0 2 4 2) (0 0 1 2 1)) 22:47:46 cky, i want to multiply polynomials 22:48:09 rudybot, (define (polyMult p1 p2) (polyAddList (polyMultHelper p1 p2 0))) 22:48:10 AR_: Done. 22:48:28 rudybot, (polyMult'(1 2 1) '(1 2 1)) 22:48:29 AR_: error: reference to an identifier before its definition: polyAddList in module: 'program 22:48:31 AR_: I see. 22:48:39 whoops 22:48:40 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Quit: Computer has gone to sleep.] 22:48:42 well you get the point 22:48:46 AR_: Right. 22:48:47 i would need to load more of my functions 22:49:00 but what should n be 22:49:06 when i call polyMultHelper 22:49:20 in polyMult 22:49:51 like for (polyMult '(1 2 1) '(1 2 1)) it works if n=0 22:50:13 but for (polyMult '(1 2 1 1) '(1 2 1 3)) n would have to be 1 and it works 22:50:28 must be a function of the lengths? 22:51:17 -!- wingo [~wingo@90.164.198.39] has quit [Ping timeout: 245 seconds] 22:52:22 FACEFOX [~facefox@pool-74-111-197-200.lsanca.fios.verizon.net] has joined #scheme 22:53:02 -!- bfgun is now known as bfig 22:55:26 -!- add^_ [~add^_^@m212-152-15-182.cust.tele2.se] has quit [Quit: add^_] 22:55:58 RageOfThou [~RageOfTho@users-55-233.vinet.ba] has joined #scheme 22:58:29 -!- MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has quit [Ping timeout: 245 seconds] 23:10:21 -!- arcfide [~arcfide@2001:18e8:2:10f4:859e:97:eca1:ac71] has quit [Quit: Leaving] 23:11:44 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 23:17:31 -!- gcartier [~gcartier@modemcable026.84-70-69.static.videotron.ca] has quit [Remote host closed the connection] 23:21:21 cky, http://pastebin.com/fLU9E8Ty 23:21:30 last line is the problem 23:25:08 -!- kniu [~kniu@pool-173-75-156-3.pitbpa.east.verizon.net] has quit [Ping timeout: 246 seconds] 23:27:30 -!- githogori [~githogori@216.207.36.222] has quit [Remote host closed the connection] 23:42:55 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Ping timeout: 276 seconds] 23:44:46 arcfide [~arcfide@c-98-223-204-153.hsd1.in.comcast.net] has joined #scheme 23:45:09 -!- choas [~lars@p4FDC5407.dip.t-dialin.net] has quit [Ping timeout: 245 seconds] 23:53:58 -!- bitonic [~Francesco@host86-157-215-30.range86-157.btcentralplus.com] has quit [Quit: WeeChat 0.3.5]