00:01:27 is there a Clojure on Chicken backend? 00:13:05 Chaos`Eternal [~chaos@199.231.215.178] has joined #scheme 00:27:06 -!- Fare [~fare@173-9-65-97-NewEngland.hfc.comcastbusiness.net] has quit [Ping timeout: 264 seconds] 00:33:14 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 252 seconds] 00:49:49 if there is, it would be called COCK, I assume ;p 00:53:03 leppie: cock is, erm, taken: https://github.com/klutometis/cock 00:53:41 :( and here I thought I was being clever ;p 00:53:59 :-) 00:54:18 clock maybe then? 00:55:39 There's https://bitbucket.org/DerGuteMoritz/chicken-clojure , but I don't know its status. Maybe DerGuteMoritz can provide some info. 01:08:21 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 01:15:20 -!- SeanTAllen [uid4855@gateway/web/irccloud.com/x-cbwnmrcqcdasspet] has quit [Ping timeout: 252 seconds] 01:15:34 -!- MiningMarsh is now known as Mining|away 01:23:30 noam_ [~noam@213.57.201.130] has joined #scheme 01:26:38 -!- noam [~noam@213.57.201.130] has quit [Ping timeout: 255 seconds] 01:32:56 FunkyDrummer [~RageOfTho@cable-77-221-21-70.dynamic.telemach.ba] has joined #scheme 01:36:01 -!- RageOfThou [~RageOfTho@cable-77-221-21-70.dynamic.telemach.ba] has quit [Ping timeout: 248 seconds] 01:40:14 b4283 [~b4283@60-249-196-111.HINET-IP.hinet.net] has joined #scheme 01:42:36 -!- Triclops256|away is now known as Triclops256 01:43:09 -!- danly [~danly@209.82.122.162] has quit [Ping timeout: 256 seconds] 01:47:31 enoch_r [~textual@12.248.40.138] has joined #scheme 01:51:31 -!- enoch_r [~textual@12.248.40.138] has quit [Client Quit] 01:54:36 -!- rmathews [~roshan@122.164.35.226] has quit [Quit: ...] 02:10:18 yacks [~yacks@180.151.36.169] has joined #scheme 02:15:32 rmathews [~roshan@122.164.35.226] has joined #scheme 02:16:38 -!- jao [~jao@pdpc/supporter/professional/jao] has quit [Ping timeout: 252 seconds] 02:17:48 anothervenue [~lucasallm@76.91.162.213] has joined #scheme 02:31:50 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 02:40:32 -!- PuercoPop [~user@190.222.252.106] has quit [Ping timeout: 255 seconds] 02:49:47 Fare [~fare@173-9-65-97-NewEngland.hfc.comcastbusiness.net] has joined #scheme 03:03:12 -!- Gurragchaa [uid6439@gateway/web/irccloud.com/x-rgopqvumjsdqeujy] has quit [Ping timeout: 252 seconds] 03:08:03 -!- FunkyDrummer [~RageOfTho@cable-77-221-21-70.dynamic.telemach.ba] has quit [Read error: Operation timed out] 03:12:36 SeanTAllen [uid4855@gateway/web/irccloud.com/x-vdnnwogyxglmhiur] has joined #scheme 03:36:35 -!- rudybot_ is now known as rudybot 03:44:13 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Quit: MichaelRaskin] 03:55:45 jonrafkind [~jon@racket/jonrafkind] has joined #scheme 03:56:39 -!- rmathews [~roshan@122.164.35.226] has quit [Quit: ...] 04:07:00 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 04:17:27 -!- jrajav [~jrajav@71-82-133-188.dhcp.roch.mn.charter.com] has quit [Quit: I tend to be neutral about apples] 04:29:46 -!- Fare [~fare@173-9-65-97-NewEngland.hfc.comcastbusiness.net] has quit [Ping timeout: 246 seconds] 04:34:46 rmathews [~roshan@122.165.89.11] has joined #scheme 04:41:33 agumonkey [~agu@78.217.72.86.rev.sfr.net] has joined #scheme 04:43:42 preflex_ [~preflex@unaffiliated/mauke/bot/preflex] has joined #scheme 04:45:46 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 272 seconds] 04:45:47 -!- preflex_ is now known as preflex 04:51:32 -!- acarrico [~acarrico@209.99.212.215] has quit [Ping timeout: 240 seconds] 04:56:55 -!- Triclops256 is now known as Triclops256|away 04:59:49 znode [~znode@61.143.60.83] has joined #scheme 05:00:06 -!- wbooze [~wbooze@xdsl-78-35-179-120.netcologne.de] has quit [Ping timeout: 264 seconds] 05:01:58 Zarglemumph! 05:02:13 Gurragchaa [uid6439@gateway/web/irccloud.com/x-sajmsmtaaicgnmtx] has joined #scheme 05:03:11 Hello, Riastradh 05:03:59 Hi. 05:07:22 What's new and exciting in the world? 05:07:51 acarrico [~acarrico@209.99.212.215] has joined #scheme 05:08:43 Good question. 05:09:59 They... they don't let me out much. Just a few minutes of daylight, right after lunch. 05:10:24 Then I go back into the mines. 05:15:03 -!- b4283 [~b4283@60-249-196-111.HINET-IP.hinet.net] has quit [Ping timeout: 276 seconds] 05:23:51 dioxirane [~user@unaffiliated/dioxirane] has joined #scheme 05:25:42 -!- ldionmarcil [~user@unaffiliated/maden] has quit [Read error: Connection reset by peer] 05:26:37 Nisstyre-laptop [~yours@oftn/member/Nisstyre] has joined #scheme 05:28:04 cinolt [4247579e@gateway/web/freenode/ip.66.71.87.158] has joined #scheme 05:31:57 -!- yacks [~yacks@180.151.36.169] has quit [Ping timeout: 276 seconds] 05:34:30 Sup my fellow home dawggies. I'm trying to write a procedure that finds a root of a function using the half interval method: http://paste.lisp.org/display/135605 However, when I try to use it I get this error: "assertion-violation: LETREC variable used before its value has been produced [unassigned-check]" Can somebody provide some edification pertaining to the reasons of my code being erroneous? 05:42:36 yacks [~yacks@180.151.36.169] has joined #scheme 05:47:18 Euthy [~euthy@unaffiliated/euthydemus] has joined #scheme 05:48:30 -!- znode [~znode@61.143.60.83] has quit [Remote host closed the connection] 05:51:15 b4283 [~b4283@60-249-196-111.HINET-IP.hinet.net] has joined #scheme 05:52:56 jao [~jao@c-24-22-80-19.hsd1.or.comcast.net] has joined #scheme 05:52:57 -!- jao [~jao@c-24-22-80-19.hsd1.or.comcast.net] has quit [Changing host] 05:52:57 jao [~jao@pdpc/supporter/professional/jao] has joined #scheme 05:55:28 -!- cinolt [4247579e@gateway/web/freenode/ip.66.71.87.158] has quit [Ping timeout: 245 seconds] 06:03:36 -!- kniu [~kniu@c-67-160-8-163.hsd1.wa.comcast.net] has quit [Ping timeout: 252 seconds] 06:07:56 kniu [~kniu@c-67-160-8-163.hsd1.wa.comcast.net] has joined #scheme 06:15:12 -!- agumonkey [~agu@78.217.72.86.rev.sfr.net] has quit [Ping timeout: 264 seconds] 06:19:02 -!- toekutr [~user@50-0-51-11.dsl.static.sonic.net] has quit [Read error: Connection reset by peer] 06:26:54 toekutr [~user@50-0-51-11.dsl.static.sonic.net] has joined #scheme 06:43:06 anotherv1 [~lucasallm@76.91.162.213] has joined #scheme 06:45:51 -!- anothervenue [~lucasallm@76.91.162.213] has quit [Ping timeout: 245 seconds] 06:55:18 -!- jao [~jao@pdpc/supporter/professional/jao] has quit [Ping timeout: 264 seconds] 06:59:06 William [~William@108-85-16-151.lightspeed.gnvlsc.sbcglobal.net] has joined #scheme 06:59:30 -!- William is now known as Guest64448 07:00:22 -!- Guest64448 is now known as ter3l 07:08:17 -!- stamourv [~user@racket/stamourv] has quit [Ping timeout: 255 seconds] 07:14:08 -!- jonrafkind [~jon@racket/jonrafkind] has quit [Ping timeout: 255 seconds] 07:22:45 amgarchIn9 [~amgarchin@p4FD614D1.dip0.t-ipconnect.de] has joined #scheme 07:30:05 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Ping timeout: 260 seconds] 07:30:33 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 07:46:37 hkBst [~marijn@79.170.210.172] has joined #scheme 07:46:37 -!- hkBst [~marijn@79.170.210.172] has quit [Changing host] 07:46:37 hkBst [~marijn@gentoo/developer/hkbst] has joined #scheme 07:52:18 -!- amgarchIn9 [~amgarchin@p4FD614D1.dip0.t-ipconnect.de] has quit [Ping timeout: 252 seconds] 07:58:21 dioxirane_ [~user@unaffiliated/dioxirane] has joined #scheme 07:58:50 gravicappa [~gravicapp@ppp91-77-168-172.pppoe.mtu-net.ru] has joined #scheme 08:02:00 -!- dioxirane [~user@unaffiliated/dioxirane] has quit [Ping timeout: 264 seconds] 08:06:17 civodul [~user@193.50.110.200] has joined #scheme 08:07:38 -!- bjz [~brendanza@125.253.99.68] has quit [Read error: Connection reset by peer] 08:07:46 bjz [~brendanza@125.253.99.68] has joined #scheme 08:09:50 -!- impaktor [~user@b2.thep.lu.se] has quit [Remote host closed the connection] 08:12:56 amgarchIn9 [~amgarchin@theo1.theochem.tu-muenchen.de] has joined #scheme 08:13:41 youlysses [~user@75-132-7-80.dhcp.stls.mo.charter.com] has joined #scheme 08:14:16 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Quit: Leaving] 08:16:34 -!- bjz [~brendanza@125.253.99.68] has quit [Read error: Connection reset by peer] 08:16:41 bjz [~brendanza@125.253.99.68] has joined #scheme 08:17:32 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Remote host closed the connection] 08:17:58 hkBst [~marijn@gentoo/developer/hkbst] has joined #scheme 08:26:30 -!- toekutr [~user@50-0-51-11.dsl.static.sonic.net] has quit [Remote host closed the connection] 08:32:09 rmathews_ [~roshan@122.165.89.11] has joined #scheme 08:32:53 -!- rmathews [~roshan@122.165.89.11] has quit [Ping timeout: 255 seconds] 08:32:53 -!- rmathews_ is now known as rmathews 08:32:57 -!- Nisstyre-laptop [~yours@oftn/member/Nisstyre] has quit [Quit: Leaving] 08:35:48 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 08:40:22 -!- dioxirane_ [~user@unaffiliated/dioxirane] has quit [Remote host closed the connection] 09:05:10 jao [~jao@c-24-22-80-19.hsd1.or.comcast.net] has joined #scheme 09:05:16 -!- jao [~jao@c-24-22-80-19.hsd1.or.comcast.net] has quit [Changing host] 09:05:16 jao [~jao@pdpc/supporter/professional/jao] has joined #scheme 09:09:48 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Read error: Connection reset by peer] 09:15:13 -!- impaktor_ [~user@johnny.thep.lu.se] has left #scheme 09:15:26 -!- impaktor__ [~user@johnny.thep.lu.se] has quit [Remote host closed the connection] 09:15:57 impaktor [~user@b2.thep.lu.se] has joined #scheme 09:17:23 hkBst [~marijn@gentoo/developer/hkbst] has joined #scheme 09:36:14 -!- cdidd [~cdidd@95-27-187-225.broadband.corbina.ru] has quit [Ping timeout: 255 seconds] 09:49:28 -!- youlysses [~user@75-132-7-80.dhcp.stls.mo.charter.com] has quit [Quit: ZZZzzz] 09:52:07 cdidd [~cdidd@93-80-224-49.broadband.corbina.ru] has joined #scheme 09:58:23 -!- MichaelRaskin [~MichaelRa@195.178.216.22] has quit [Ping timeout: 255 seconds] 10:02:04 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Ping timeout: 244 seconds] 10:08:55 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 10:11:08 przl [~przlrkt@p54BF962F.dip0.t-ipconnect.de] has joined #scheme 10:14:06 hkBst [~marijn@79.170.210.172] has joined #scheme 10:14:06 -!- hkBst [~marijn@79.170.210.172] has quit [Changing host] 10:14:06 hkBst [~marijn@gentoo/developer/hkbst] has joined #scheme 10:21:23 -!- joneshf-laptop [~joneshf@mail.concordusapps.com] has quit [Remote host closed the connection] 10:23:54 -!- przl [~przlrkt@p54BF962F.dip0.t-ipconnect.de] has quit [Quit: outro] 10:24:33 -!- jao [~jao@pdpc/supporter/professional/jao] has quit [Ping timeout: 256 seconds] 10:30:53 leo2007 [~leo@119.255.41.66] has joined #scheme 10:36:34 -!- leo2007 [~leo@119.255.41.66] has quit [Quit: rcirc on GNU Emacs 24.2.93.1] 10:39:11 -!- b4283 [~b4283@60-249-196-111.HINET-IP.hinet.net] has quit [Remote host closed the connection] 11:01:54 -!- gravicappa [~gravicapp@ppp91-77-168-172.pppoe.mtu-net.ru] has quit [Ping timeout: 264 seconds] 11:15:36 gravicappa [~gravicapp@ppp91-77-183-210.pppoe.mtu-net.ru] has joined #scheme 11:16:35 agumonkey [~agu@78.217.72.86.rev.sfr.net] has joined #scheme 11:25:41 Algus [~algus@101.Red-83-36-190.dynamicIP.rima-tde.net] has joined #scheme 11:28:40 -!- Tanami_ [~carnage@9ch.in] has quit [Read error: Connection reset by peer] 11:32:19 FunkyDrummer [~RageOfTho@cable-77-221-21-70.dynamic.telemach.ba] has joined #scheme 11:32:39 amoe [~amoe@host-2-99-123-18.as13285.net] has joined #scheme 11:34:39 -!- amoe_ [~amoe@host-92-24-171-135.ppp.as43234.net] has quit [Ping timeout: 276 seconds] 11:36:14 Tanami [~carnage@9ch.in] has joined #scheme 11:36:44 jrapdx [~jra@c-76-115-235-187.hsd1.wa.comcast.net] has joined #scheme 12:03:33 -!- Algus [~algus@101.Red-83-36-190.dynamicIP.rima-tde.net] has quit [Quit: leaving] 12:15:55 dioxirane [~dioxirane@unaffiliated/dioxirane] has joined #scheme 12:35:00 -!- rmathews [~roshan@122.165.89.11] has quit [Quit: ...] 12:35:13 Arafangion [~Arafangio@120.21.108.127] has joined #scheme 12:38:21 -!- qrstuv [none@50.122.27.211] has quit [Quit: mount rpc error] 12:40:26 qrstuv [none@50.122.27.211] has joined #scheme 12:44:00 spobat [~spobat@p5B2DEFC7.dip.t-dialin.net] has joined #scheme 12:49:01 -!- Arafangion [~Arafangio@120.21.108.127] has quit [Remote host closed the connection] 12:49:23 Arafangion [~Arafangio@120.21.108.127] has joined #scheme 13:09:27 Fare [~fare@173-9-65-97-NewEngland.hfc.comcastbusiness.net] has joined #scheme 13:15:07 rmathews [~roshan@122.164.10.236] has joined #scheme 13:16:03 -!- dioxirane [~dioxirane@unaffiliated/dioxirane] has quit [Quit: Reconnecting] 13:16:19 dioxirane [~dioxirane@unaffiliated/dioxirane] has joined #scheme 13:17:43 wbooze [~wbooze@xdsl-78-35-135-71.netcologne.de] has joined #scheme 13:17:57 -!- dioxirane [~dioxirane@unaffiliated/dioxirane] has quit [Client Quit] 13:18:09 dioxirane [~dioxirane@unaffiliated/dioxirane] has joined #scheme 13:19:20 -!- dioxirane [~dioxirane@unaffiliated/dioxirane] has quit [Client Quit] 13:25:15 b4283 [~b4283@1-173-99-206.dynamic.hinet.net] has joined #scheme 13:33:13 -!- MichaelRaskin [~MichaelRa@195.178.216.22] has quit [Quit: MichaelRaskin] 13:41:16 -!- acarrico [~acarrico@209.99.212.215] has quit [Ping timeout: 245 seconds] 13:58:16 acarrico [~acarrico@209.99.212.215] has joined #scheme 13:59:00 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Read error: Connection reset by peer] 13:59:36 hkBst [~marijn@gentoo/developer/hkbst] has joined #scheme 14:09:47 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Remote host closed the connection] 14:10:13 hkBst [~marijn@79.170.210.172] has joined #scheme 14:10:14 -!- hkBst [~marijn@79.170.210.172] has quit [Changing host] 14:10:14 hkBst [~marijn@gentoo/developer/hkbst] has joined #scheme 14:28:48 jrajav [~jrajav@198.179.137.211] has joined #scheme 14:31:29 `fogus [~fogus@freedom.d-a-s.com] has joined #scheme 14:32:25 -!- taylanub [tub@p4FD94195.dip.t-dialin.net] has quit [Ping timeout: 260 seconds] 14:37:06 taylanub [tub@p4FD94079.dip.t-dialin.net] has joined #scheme 14:42:20 -!- samth_away is now known as samth 14:45:01 stamourv [~user@racket/stamourv] has joined #scheme 14:53:45 znode [~znode@14.117.30.111] has joined #scheme 15:03:49 hiroaki [~hiroaki@77-20-78-82-dynip.superkabel.de] has joined #scheme 15:03:49 hiroakip [~hiroaki@77-20-78-82-dynip.superkabel.de] has joined #scheme 15:21:22 PuercoPop [~user@190.222.252.106] has joined #scheme 15:26:16 -!- bps [~bps@ip68-231-151-161.tc.ph.cox.net] has quit [Quit: brb] 15:28:03 adu [~ajr@pool-74-96-89-246.washdc.fios.verizon.net] has joined #scheme 15:30:57 -!- adu [~ajr@pool-74-96-89-246.washdc.fios.verizon.net] has quit [Read error: No route to host] 15:31:08 adu [~ajr@pool-74-96-89-246.washdc.fios.verizon.net] has joined #scheme 15:33:23 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Ping timeout: 256 seconds] 15:34:10 hkBst [~marijn@79.170.210.172] has joined #scheme 15:34:10 -!- hkBst [~marijn@79.170.210.172] has quit [Changing host] 15:34:10 hkBst [~marijn@gentoo/developer/hkbst] has joined #scheme 15:44:24 -!- Arafangion [~Arafangio@120.21.108.127] has quit [Ping timeout: 252 seconds] 15:45:05 hash_table [~quassel@128.249.96.123] has joined #scheme 15:46:58 -!- cdidd [~cdidd@93-80-224-49.broadband.corbina.ru] has quit [Remote host closed the connection] 15:47:55 -!- znode [~znode@14.117.30.111] has quit [Remote host closed the connection] 15:58:19 SanderM [~quassel@195.169.108.20] has joined #scheme 15:59:25 znode [~znode@14.117.30.111] has joined #scheme 16:10:04 -!- znode [~znode@14.117.30.111] has quit [Remote host closed the connection] 16:16:01 -!- adu [~ajr@pool-74-96-89-246.washdc.fios.verizon.net] has quit [Read error: Connection reset by peer] 16:16:34 adu [~ajr@pool-74-96-89-246.washdc.fios.verizon.net] has joined #scheme 16:24:33 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 16:26:13 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Quit: Konversation terminated!] 16:26:15 -!- b4283 [~b4283@1-173-99-206.dynamic.hinet.net] has quit [Remote host closed the connection] 16:59:45 -!- civodul [~user@193.50.110.200] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 17:09:36 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 17:17:40 -!- acarrico [~acarrico@209.99.212.215] has quit [Ping timeout: 248 seconds] 17:18:30 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 17:19:33 dnolen [~user@cpe-74-64-61-245.nyc.res.rr.com] has joined #scheme 17:20:08 -!- SanderM [~quassel@195.169.108.20] has quit [Remote host closed the connection] 17:20:41 znode [~znode@14.117.30.111] has joined #scheme 17:26:44 -!- znode [~znode@14.117.30.111] has quit [Ping timeout: 248 seconds] 17:27:48 -!- amgarchIn9 [~amgarchin@theo1.theochem.tu-muenchen.de] has quit [Ping timeout: 248 seconds] 17:29:38 -!- wbooze [~wbooze@xdsl-78-35-135-71.netcologne.de] has quit [Ping timeout: 252 seconds] 17:31:49 kk` [~kk@unaffiliated/kk/x-5380134] has joined #scheme 17:32:42 jonrafkind [~jon@racket/jonrafkind] has joined #scheme 17:33:18 acarrico [~acarrico@209.99.212.215] has joined #scheme 17:35:49 ijp [~user@host86-171-225-157.range86-171.btcentralplus.com] has joined #scheme 17:44:25 wbooze [~wbooze@xdsl-84-44-179-55.netcologne.de] has joined #scheme 17:58:50 -!- adu [~ajr@pool-74-96-89-246.washdc.fios.verizon.net] has quit [Quit: adu] 18:11:56 joneshf-laptop [~joneshf@mail.concordusapps.com] has joined #scheme 18:14:35 -!- yacks [~yacks@180.151.36.169] has quit [Quit: Leaving] 18:16:57 -!- `fogus [~fogus@freedom.d-a-s.com] has quit [Quit: Leaving] 18:20:36 -!- jonrafkind [~jon@racket/jonrafkind] has quit [Ping timeout: 264 seconds] 18:21:11 cinolt [4247579e@gateway/web/freenode/ip.66.71.87.158] has joined #scheme 18:21:14 Sup my fellow home dawggies. I'm trying to write a procedure that finds a root of a function using the half interval method: http://paste.lisp.org/display/135605 However, when I try to use it I get this error: "assertion-violation: LETREC variable used before its value has been produced [unassigned-check]" Can somebody provide some edification pertaining to the reasons of my code being erroneous? 18:22:16 cinolt: What scheme implementation are you using? Have you considered trying a channel specific to the implementation? 18:22:23 It's possibly you wanted letrec* 18:22:33 or that ;) 18:22:35 If ordering matters. Which isn't an r5'ism, but most impls should provide something like it 18:22:47 Scheme 48. It's supposed to be a R5RS implementation. :/ 18:23:50 I tried replacing it with letrec, gave me the same error. 18:24:22 BTW the command I'm using to test it is (half-interval sin -1.0 1.0) 18:24:44 well, inner defines are sugar for letrec in R5RS, so they should produce the same error :) 18:25:20 cinolt: Did you see the asterisk? 'letrec*' 18:25:33 Whoops, no I didn't 18:25:39 ijp: Are they? I thought they were order-guaranteed? 18:25:44 nope 18:25:48 Huhh.... oh. 18:25:52 in r6rs they are 18:25:54 Same error \; 18:26:02 I see... subtle. And rather upsetting :/ 18:27:32 I'm still only in chapter 1 of SICP, so I know there's most likely some concept I'm not getting. I'd just like to be pointed in the right direction to get this to work 18:27:36 cinolt: First let me say that I'm a very (very) novice schemer so take anything I say as barely relevant. But I just looked at your code and that doesn't look like scheme to me but an Algol style program ported to Scheme. 18:27:52 cinolt: it's not your fault, it's that SICP relies on an ordering it shouldn't 18:28:16 kencausey: Well, what can I say. I never programmed Algol before, and I wrote this from scratch. :x 18:28:31 cinolt: The primary problem is most of your 'defines' aren't defining functions. You probably forgot some parens 18:28:36 Well, I'm using Algol to reference a host of languages 18:28:38 I expect you meant (define (good-enough?) ....) 18:29:16 Also your calls to them at the end; (if (good-enough?) result (improve)) 18:29:41 LeoNerd: what difference would it make? Besides it being a function now. I mean what would be the difference between a function with no arguments returning something, and a variable being that something 18:30:14 .. er.... lots? :) 18:30:15 A bare value is referenced as a value 18:30:23 It is not 'called' 18:30:39 It's literal value is tested, not the result of calling the function 18:30:40 cinolt: since it isn't executed, you don't get this ordering issue 18:30:52 it's a little unsatisfying though 18:32:18 also, this function wouldn't terminate 18:32:41 since you always evaluating both sides of the conditional 18:33:05 making improve and result into functions would also fix that 18:33:52 Hm. Yeah, at any rate it seems to work after changing them to functions. 18:34:46 I dunno. It seemed more right to me to just make them variables, since the functions just return a value. I still don't get why a variable wouldn't work 18:34:58 Because of non-deterministic ordering 18:35:07 These things are /not/ evaluated in top-to-bottom order 18:35:47 Regardless of if they're function calls or variables? 18:35:51 So what difference does that make 18:36:12 It means that you might be reading things in later lines, before the earlier lines defined them 18:36:35 (define one 1) (define two (+ one one)) <== that might break, because maybe we try to evaluate the two expression before the one.. 18:36:44 So the 'one' symbol is known to exist, but doesn't yet have a value 18:37:08 Hence: LETREC variable used before its value has been produced <== in your original error message 18:37:49 So (define (one) 1) (define two (+ (one) (one))) would be the fix? 18:38:00 Because it would explicitly call one at the time of defining two 18:38:08 No... 18:38:15 Because again, the one function might not be -defined- at that point 18:38:21 The solution is let* or letrec* 18:38:37 Which does guarantee ordering; (let* ((one 1) (two (+ one one)) ....) 18:39:05 The 'asterisk' versions are explicitly defined to define the values in left to right order, that's not the case for the non-asterisk ones. 18:39:05 The reason that letrec works when /all/ the things are functions, is because no function is -called- at defining time 18:39:30 (define (make-one) 1)) (define (make-two) (+ (make-one) (make-one))) ; totally fine 18:39:56 http://schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-2.html#%_toc_%_sec_4.2.2 18:39:59 http://tinyurl.com/alum5t6 18:40:02 The two defines create, in some order we dno't know, two symbols called make-one and make-two. They then define, again in some order we don't know, the values of these symbols; found in this case to both be functions 18:40:14 cinolt: I'd say just use a Scheme implementation that does the right, but "non-standard" thing 18:40:17 Neither functionh as -yet- been called, so it doesn't matter what order the functions are defined in.. 18:40:31 since R6RS does it this way, R7RS will do it this way, and it's what people expect 18:41:05 Yah.. R5 forgot to define a letrec* 18:41:37 Ofcourse, R5 doesn't forbid the existance of one, nor does it prohibit inner defines from behaving like this if they want 18:41:45 You just can't rely on it 18:42:06 in practice you can since basically no-one writes code for more than one implementation anyway 18:42:12 :) 18:42:30 amgarchIn9 [~amgarchin@p4FD614D1.dip0.t-ipconnect.de] has joined #scheme 18:42:46 Cool. I didn't get much of that, so I'll wait until I become more experienced to try and scrutinize how it works. Thanks for your help in any case 18:42:59 -!- cinolt [4247579e@gateway/web/freenode/ip.66.71.87.158] has quit [Quit: Page closed] 18:43:14 anothervenue [~lucasallm@76.91.162.213] has joined #scheme 18:46:54 -!- anotherv1 [~lucasallm@76.91.162.213] has quit [Ping timeout: 276 seconds] 18:53:19 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 18:57:28 -!- yazdmich [~yazdmich@om.n0.ms] has quit [Changing host] 18:57:28 yazdmich [~yazdmich@unaffiliated/yazdmich] has joined #scheme 19:03:09 Aperculum [~lauri@85-23-20-41.bb.dnainternet.fi] has joined #scheme 19:04:42 -!- hiroaki [~hiroaki@77-20-78-82-dynip.superkabel.de] has quit [Quit: Ex-Chat] 19:13:05 huseby [~huseby@gateway/tor-sasl/huseby] has joined #scheme 19:20:48 Riastradh: Hello :) Is there any support in MIT/GNU Scheme for buffered in- and output? Or do I have to implement that myself via READ-STRING! for example? 19:23:43 Ports are buffered. Is that not what you want? 19:27:36 -!- huseby [~huseby@gateway/tor-sasl/huseby] has left #scheme 19:28:40 -!- hiroakip [~hiroaki@77-20-78-82-dynip.superkabel.de] has quit [Quit: Ex-Chat] 19:32:36 -!- dnolen [~user@cpe-74-64-61-245.nyc.res.rr.com] has quit [Ping timeout: 248 seconds] 19:33:48 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Ping timeout: 264 seconds] 19:34:17 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 19:35:09 -!- spobat [~spobat@p5B2DEFC7.dip.t-dialin.net] has quit [Quit: Leaving] 19:38:23 -!- shardz [~samantha@ilo.staticfree.info] has quit [Ping timeout: 260 seconds] 19:42:08 toekutr [~user@50-0-51-11.dsl.static.sonic.net] has joined #scheme 19:42:55 -!- wbooze [~wbooze@xdsl-84-44-179-55.netcologne.de] has quit [Remote host closed the connection] 19:45:43 shardz [~samantha@ilo.staticfree.info] has joined #scheme 19:48:37 -!- daowee [~daowee@m5-241-232-41.cust.tele2.se] has quit [Read error: Connection reset by peer] 20:18:04 wbooze [~wbooze@xdsl-84-44-179-55.netcologne.de] has joined #scheme 20:21:37 dtm` [~dtm@adsl-69-110-5-70.dsl.pltn13.pacbell.net] has joined #scheme 20:26:41 -!- wingo [~wingo@cha74-2-88-160-190-192.fbx.proxad.net] has quit [Ping timeout: 248 seconds] 20:38:03 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 20:40:50 -!- wbooze [~wbooze@xdsl-84-44-179-55.netcologne.de] has quit [Quit: none] 20:41:57 wbooze [~wbooze@xdsl-84-44-179-55.netcologne.de] has joined #scheme 20:43:28 dnolen [~user@rrcs-208-105-4-254.nyc.biz.rr.com] has joined #scheme 20:44:29 -!- taylanub [tub@p4FD94079.dip.t-dialin.net] has quit [Remote host closed the connection] 20:45:35 taylanub [tub@p4FD94079.dip.t-dialin.net] has joined #scheme 20:46:04 -!- dtm` [~dtm@adsl-69-110-5-70.dsl.pltn13.pacbell.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 20:52:38 spobat [~spobat@p5B2DEFC7.dip.t-dialin.net] has joined #scheme 20:53:58 -!- acarrico [~acarrico@209.99.212.215] has quit [Ping timeout: 246 seconds] 21:00:31 ijp` [~user@host86-143-195-129.range86-143.btcentralplus.com] has joined #scheme 21:03:02 -!- ijp [~user@host86-171-225-157.range86-171.btcentralplus.com] has quit [Ping timeout: 252 seconds] 21:03:04 -!- ijp` is now known as ijp 21:25:02 tupi [~user@139.82.89.157] has joined #scheme 21:29:09 jonrafkind [~jon@racket/jonrafkind] has joined #scheme 21:33:39 -!- jonrafkind [~jon@racket/jonrafkind] has quit [Remote host closed the connection] 21:41:07 ldionmarcil [~user@unaffiliated/maden] has joined #scheme 21:43:25 jonrafkind [~jon@crystalis.cs.utah.edu] has joined #scheme 21:43:25 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Changing host] 21:43:25 jonrafkind [~jon@racket/jonrafkind] has joined #scheme 21:43:26 -!- joneshf [~joneshf@086.112-30-64.ftth.swbr.surewest.net] has quit [Ping timeout: 255 seconds] 21:43:44 -!- em [~em@unaffiliated/emma] has quit [Ping timeout: 252 seconds] 21:45:55 -!- jrajav [~jrajav@198.179.137.211] has quit [Quit: I tend to be neutral about apples] 21:46:44 -!- ter3l [~William@108-85-16-151.lightspeed.gnvlsc.sbcglobal.net] has quit [Read error: Connection reset by peer] 21:59:55 emma [~em@unaffiliated/emma] has joined #scheme 22:00:23 acarrico [~acarrico@209.99.212.215] has joined #scheme 22:01:36 -!- emma is now known as em 22:02:28 -!- hash_table [~quassel@128.249.96.123] has quit [Ping timeout: 248 seconds] 22:16:27 cdidd [~cdidd@93-80-127-198.broadband.corbina.ru] has joined #scheme 22:21:15 ijp` [~user@host31-53-17-26.range31-53.btcentralplus.com] has joined #scheme 22:23:48 -!- ijp [~user@host86-143-195-129.range86-143.btcentralplus.com] has quit [Ping timeout: 248 seconds] 22:24:04 jrajav [~jrajav@71-82-133-188.dhcp.roch.mn.charter.com] has joined #scheme 22:25:28 -!- ijp` is now known as ijp 22:42:28 -!- cdidd [~cdidd@93-80-127-198.broadband.corbina.ru] has quit [Ping timeout: 248 seconds] 22:51:53 -!- samth is now known as samth_away 22:54:48 joneshf [~joneshf@086.112-30-64.ftth.swbr.surewest.net] has joined #scheme 22:57:08 cdidd [~cdidd@95-26-152-106.broadband.corbina.ru] has joined #scheme 23:10:58 -!- PuercoPop [~user@190.222.252.106] has quit [Read error: Connection reset by peer] 23:11:15 PuercoPop [~user@190.222.252.106] has joined #scheme 23:12:13 -!- gravicappa [~gravicapp@ppp91-77-183-210.pppoe.mtu-net.ru] has quit [Ping timeout: 246 seconds] 23:14:42 -!- peterhil [~peterhil@91-157-48-10.elisa-laajakaista.fi] has quit [Ping timeout: 276 seconds] 23:15:16 jao [~jao@173-164-98-174-Oregon.hfc.comcastbusiness.net] has joined #scheme 23:15:20 -!- jao [~jao@173-164-98-174-Oregon.hfc.comcastbusiness.net] has quit [Changing host] 23:15:20 jao [~jao@pdpc/supporter/professional/jao] has joined #scheme 23:16:22 -!- sethalves [~user@headache.hungry.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:17:16 -!- spobat [~spobat@p5B2DEFC7.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 23:17:28 sethalves [~user@headache.hungry.com] has joined #scheme 23:35:33 -!- acarrico [~acarrico@209.99.212.215] has quit [Read error: Operation timed out] 23:36:02 peterhil [~peterhil@91-157-48-10.elisa-laajakaista.fi] has joined #scheme 23:48:58 -!- PuercoPop [~user@190.222.252.106] has quit [Remote host closed the connection] 23:52:14 acarrico [~acarrico@209.99.212.215] has joined #scheme