00:02:36 -!- bsmntbombdood_ is now known as bsmntbombdood 00:04:38 eli [n=eli@winooski.ccs.neu.edu] has joined #scheme 00:07:52 woot, the r6 list just produced something useful. 00:08:40 elf: wot? 00:08:47 R7? 00:08:55 amending the charter, expanding to 5 members from 3. 00:08:59 -!- Nomexous [n=michael@wifi-roaming-170-138.nss.udel.edu] has quit [Remote closed the connection] 00:09:04 removing the prohibition between editing and steering. 00:09:30 feeley just posted about it. im all for everything in the letter that i noticed. 00:12:04 johnnowak [n=johnnowa@207-38-171-48.c3-0.wsd-ubr1.qens-wsd.ny.cable.rcn.com] has joined #scheme 00:16:10 -!- cornucopic|dozed [n=r00t@115.241.240.32] has quit [Read error: 60 (Operation timed out)] 00:22:24 -!- orgy` [n=ratm_@pD9FFF0F3.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 00:22:38 orgy` [n=ratm_@pD9FFEA84.dip.t-dialin.net] has joined #scheme 00:23:32 I'm conflicted about that. I don't think in general members of the steering committee should be allowed to be editors, but there are specific members now that I want to be editors. 00:23:40 -!- sphex [n=nobody@modemcable185.138-56-74.mc.videotron.ca] has quit [Read error: 104 (Connection reset by peer)] 00:24:07 sphex [n=nobody@modemcable185.138-56-74.mc.videotron.ca] has joined #scheme 00:28:44 -!- synthase [n=synthase@68.63.19.212] has quit [Read error: 113 (No route to host)] 00:33:43 cornucopic|dozed [n=r00t@115.241.173.121] has joined #scheme 00:42:21 -!- athos [n=philipp@92.250.250.68] has quit ["leaving"] 00:50:18 aye, foof. 00:50:36 i think merging the two responsibilities to a degree would be good, given the current committee. 00:57:17 kniu [n=kniu@OVERLORD.RES.CMU.EDU] has joined #scheme 01:01:26 -!- Modius [n=Modius@adsl-209-30-130-75.dsl.austtx.swbell.net] has quit ["I'm big in Japan"] 01:01:41 Modius [n=Modius@adsl-209-30-130-75.dsl.austtx.swbell.net] has joined #scheme 01:06:21 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 01:16:37 synthase [n=synthase@68.63.19.212] has joined #scheme 01:22:12 Adamant [n=Adamant@c-76-29-188-22.hsd1.ga.comcast.net] has joined #scheme 01:24:22 -!- Nshag [i=user@Mix-Orleans-106-4-46.w193-248.abo.wanadoo.fr] has quit ["Quitte"] 01:25:29 -!- j85wilson [n=j85wilso@pool-70-105-81-250.chi.dsl-w.verizon.net] has quit ["Leaving."] 01:25:41 j85wilson [n=j85wilso@pool-70-105-81-250.chi.dsl-w.verizon.net] has joined #scheme 01:28:02 zbigniew: the new scheme-complete should fix all your problems (you still need to align the module body to the left margin) 01:34:23 eli: I sent another patch. Hopefully I got this one right. 01:36:11 j85wilson: sent. 01:36:26 So, chicken has a `module' form now? 01:37:03 Should I be digging through old emails for people who were bitching about the plt `module' form and how it messes up their indentation? 01:37:16 Just so I can then go "HAHA"... 01:39:11 In Emacs the trick is to move the first form to the left, and then Emacs will automatically indent the rest the same way. 01:40:10 (obviously.) 01:42:31 davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has joined #scheme 01:44:06 -!- blackened` [n=blackene@ip-89-102-208-138.karneval.cz] has quit [] 01:48:43 clog [n=nef@bespin.org] has joined #scheme 01:58:00 -!- johnnowak [n=johnnowa@207-38-171-48.c3-0.wsd-ubr1.qens-wsd.ny.cable.rcn.com] has quit [] 01:59:29 -!- MrFahrenheit [n=RageOfTh@92.36.171.17] has quit [Read error: 110 (Connection timed out)] 02:03:21 -!- jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has quit [Read error: 60 (Operation timed out)] 02:09:05 (defun scheme-module-indent (state indent-point normal-indent) 0) 02:09:06 (put 'module 'scheme-indent-function 'scheme-module-indent) 02:12:59 -!- orgy` [n=ratm_@pD9FFEA84.dip.t-dialin.net] has quit [Remote closed the connection] 02:22:31 xwl [n=user@114.245.141.249] has joined #scheme 02:22:57 jonrafkind [n=jon@crystalis.cs.utah.edu] has joined #scheme 02:43:11 reprore [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 02:51:14 tjafk1 [n=timj@e176213018.adsl.alicedsl.de] has joined #scheme 02:53:01 -!- attila_lendvai [n=ati@adsl-89-132-2-96.monradsl.monornet.hu] has quit [Read error: 113 (No route to host)] 02:56:08 -!- LobsterMan_AFK is now known as LobsterMan 02:58:35 grettke [n=grettke@CPE-69-23-38-57.wi.res.rr.com] has joined #scheme 03:04:00 -!- bsmntbombdood [n=gavin@97-118-129-241.hlrn.qwest.net] has quit [Read error: 104 (Connection reset by peer)] 03:04:31 bsmntbombdood [n=gavin@97-118-129-241.hlrn.qwest.net] has joined #scheme 03:05:26 -!- bsmntbombdood [n=gavin@97-118-129-241.hlrn.qwest.net] has quit [Read error: 104 (Connection reset by peer)] 03:07:23 -!- tjafk2 [n=timj@e176210212.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 03:17:44 reprore__ [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 03:18:34 -!- reprore [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 113 (No route to host)] 03:19:26 LobsterMan pasted "Help with using (require "myfile.scm") and errors" at http://paste.lisp.org/display/79585 03:19:29 can anyone possibly take a look at that and let me know if they have any idea what my problem might be or how i might go about fixing it? 03:22:14 LobsterMan, does board.scm require ai.scm? 03:22:20 yes 03:22:25 and why is that 03:22:38 mejja [n=user@c-f6b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 03:22:51 because I call procedures which are defined in ai.scm from board.scm 03:22:54 you should just factor things out so that get-ai-structures is in a separate module that both can require 03:23:34 yeah...i'm thinking it's just a problem with the way my group's code is written, the prof gave us a "framework" of sorts and i think we broke abstraction and didnt realize it until now 03:25:55 so short of rearranging things or finding different methods to complete the procedures - aka something not involving making a call from ai to board, i'm out of luck? 03:26:07 I think so 03:26:18 but re-arranging things shouldnt really be that hard 03:26:23 -!- davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has left #scheme 03:26:24 just move the code into a file and require it 03:26:39 its just a handful of copy/paste movements 03:27:13 hehe yeah i would, but our prof's comments state 03:27:14 Code that does not match the specifications here will be 03:27:14 ;heavily penalized if you have not received permission to deviate from 03:27:14 ;the specification. 03:27:20 and we havent gotten permission yet :| 03:27:29 lol 03:28:26 is it due on monday 03:28:50 sunday midnight 03:28:54 >_> 03:29:10 we emailed the prof and are eagerly awaiting a response lol 03:30:00 i was hoping perhaps the all-knowing irc had another panecea for me, but i think i'm at fault this tim heh 03:32:14 MichaelRaskin [n=MichaelR@195.91.224.225] has joined #scheme 03:35:37 welp it's saturday for another 25mins, and this aint going anywhere anytime soon 03:35:39 *LobsterMan* resorts to drinking 03:38:35 azharcs [n=azharcs@59.92.199.113] has joined #scheme 03:38:47 -!- j85wilson [n=j85wilso@pool-70-105-81-250.chi.dsl-w.verizon.net] has quit ["Leaving."] 03:39:29 j85wilson [n=j85wilso@pool-70-105-81-250.chi.dsl-w.verizon.net] has joined #scheme 03:40:55 gr3ttke [n=grettke@CPE-69-23-38-57.wi.res.rr.com] has joined #scheme 03:43:50 -!- m801 [n=user@wsip-72-214-25-53.sd.sd.cox.net] has left #scheme 03:52:30 -!- grettke [n=grettke@CPE-69-23-38-57.wi.res.rr.com] has quit [Read error: 110 (Connection timed out)] 03:55:48 -!- j85wilson [n=j85wilso@pool-70-105-81-250.chi.dsl-w.verizon.net] has quit ["Leaving."] 04:04:00 -!- eno [n=eno@nslu2-linux/eno] has quit [Read error: 104 (Connection reset by peer)] 04:05:23 foof: thanks, I will try scheme-complete, and aligning to left is reasonable 04:07:21 -!- gr3ttke [n=grettke@CPE-69-23-38-57.wi.res.rr.com] has quit [] 04:07:30 foof: and as you mention, you can change the indent level to 0 programatically--as I already do with a bunch of other forms 04:08:00 incubot: programmatically, I mean 04:08:03 It is possible to create namespaces at run-time. Namespaces are pretty basic to manipulate programmatically. Modules are another matter. 04:08:58 eno [n=eno@nslu2-linux/eno] has joined #scheme 04:19:36 -!- luz [n=davids@189.122.121.232] has quit ["Client exiting"] 04:19:55 -!- eno [n=eno@nslu2-linux/eno] has quit [Read error: 60 (Operation timed out)] 04:20:51 eno [n=eno@nslu2-linux/eno] has joined #scheme 04:27:26 j85wilson [n=j85wilso@pool-70-105-81-250.chi.dsl-w.verizon.net] has joined #scheme 04:28:36 -!- j85wilson [n=j85wilso@pool-70-105-81-250.chi.dsl-w.verizon.net] has quit [Client Quit] 04:31:20 -!- azharcs [n=azharcs@59.92.199.113] has quit ["Ex-Chat"] 04:42:29 -!- arcfide [n=arcfide@adsl-99-50-229-92.dsl.bltnin.sbcglobal.net] has quit [Read error: 110 (Connection timed out)] 04:55:43 neilv [n=user@dsl092-071-029.bos1.dsl.speakeasy.net] has joined #scheme 04:56:41 jlongster [n=user@c-68-59-187-95.hsd1.tn.comcast.net] has joined #scheme 04:59:47 -!- jlongster [n=user@c-68-59-187-95.hsd1.tn.comcast.net] has quit [Remote closed the connection] 05:06:09 -!- Quadrescence [n=quad@unaffiliated/quadrescence] has quit [Remote closed the connection] 05:14:47 Good Morning! 05:14:55 -!- cornucopic|dozed is now known as cornucopic 05:24:37 -!- reprore__ [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 05:32:55 Good Morning! 05:33:10 #scheme pastebin ? 05:33:40 http://paste.lisp.org/new/scheme 05:33:53 mejja, Thanks :) 05:34:30 cornucopic pasted "continuation-fact" at http://paste.lisp.org/display/79588 05:35:04 Anyone can explain the continuation here in http://paste.lisp.org/display/79588 ? 05:38:31 xor [n=gavin@97-118-129-241.hlrn.qwest.net] has joined #scheme 05:39:52 -!- jonrafkind [n=jon@crystalis.cs.utah.edu] has quit [Read error: 60 (Operation timed out)] 05:40:00 after you called factorial, then call (retry), it will return 1, everytime, not sure what the intention is 05:41:03 leppie, this code is from http://scheme.com/tspl3/further.html#./further:h4 05:41:16 leppie, Which is the continuation here? 05:42:03 1 is the continuation of retry 05:42:16 I dont see what they are using call/cc in that link 05:42:25 s/what/where/ 05:42:49 leppie, please scroll down to section 3.3 in the factorial example.. 05:43:24 oh, i need to scrool up... 05:43:42 oh ok 05:44:47 -!- neilv [n=user@dsl092-071-029.bos1.dsl.speakeasy.net] has quit ["Leaving"] 05:45:12 ok i see now, it is bound to the last call of factorial 05:45:36 leppie, i am trying to learn continuations. In an expression such as (+ 1 (call/cc...), I know, (+ 1 ..) is the continuation. What is the equivalent in this ex ? 05:49:17 i think it is the 'waiting' factorial 05:49:27 in the false part of the if 05:50:01 leppie, hmm..but how do you identify that? 05:57:45 i 'lloked' at the call stack 05:57:50 'looked' 06:02:20 leppie, the (call/cc..) gets evaluated only when, x=0, And, so by the time x=0, there is already a built-up call stack, and so, the the whole stack is abstracted into the continuation 'k'. Does that make sense ? 06:02:42 thats how I see it :) 06:03:12 leppie, atleast I am in sync with you now :) Let me try to understand it better. 06:05:42 so you en up with (* x (* x (* x ... ))) 06:05:56 conceptually 06:07:35 dfeuer [n=dfeuer@cpe-65-29-77-212.indy.res.rr.com] has joined #scheme 06:08:17 yeah, and so. besides, the side-effect of setting K, this is basically (if = x 0) (1) ? 06:09:22 well, at that point 06:09:53 if you carry on to the next section, they discuss CPS, and it will be more clear what is happening then 06:10:45 Yep. Ok. will continue into there .. Thanks :) 06:11:46 jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has joined #scheme 06:16:33 arcfide [n=arcfide@adsl-99-137-200-230.dsl.bltnin.sbcglobal.net] has joined #scheme 06:20:52 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 06:22:44 -!- xwl [n=user@114.245.141.249] has quit [Remote closed the connection] 06:24:03 -!- bombshelter13_ [n=bombshel@209-161-231-13.dsl.look.ca] has quit [Client Quit] 06:33:35 xwl [n=user@114.245.141.249] has joined #scheme 06:36:15 eno_ [n=eno@adsl-70-137-139-90.dsl.snfc21.sbcglobal.net] has joined #scheme 06:41:27 -!- tessier [n=treed@unused-105-40-113.ixpres.com] has left #scheme 06:43:13 -!- mejja [n=user@c-f6b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Remote closed the connection] 06:47:32 -!- eno [n=eno@nslu2-linux/eno] has quit [Read error: 110 (Connection timed out)] 06:50:27 waterh [n=waterh@114.143.32.75] has joined #scheme 06:50:49 BW^- [n=Miranda@151.80.3.92] has joined #scheme 06:51:12 what's beneficial about the second implementation to the first? http://paste.lisp.org/display/79592 06:51:25 it should be commonsensical 06:52:25 -!- kniu [n=kniu@OVERLORD.RES.CMU.EDU] has quit ["Leaving"] 06:52:42 -!- kilimanjaro [n=quassel@70.116.95.163] has quit [Remote closed the connection] 06:52:43 the connection will drop the first time you call a continuation out of it, but why would it be beneficial . 06:52:49 kniu [n=kniu@OVERLORD.RES.CMU.EDU] has joined #scheme 06:57:32 sphex_ [n=nobody@modemcable185.138-56-74.mc.videotron.ca] has joined #scheme 07:00:22 kilimanjaro [n=quassel@70.116.95.163] has joined #scheme 07:11:01 mmc [n=mima@cs135165.pp.htv.fi] has joined #scheme 07:14:34 -!- sphex [n=nobody@modemcable185.138-56-74.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 07:19:43 -!- xwl [n=user@114.245.141.249] has quit [Remote closed the connection] 07:20:18 -!- kilimanjaro [n=quassel@70.116.95.163] has quit [Remote closed the connection] 07:21:05 BW^-: consider what happens if proc raises an exception 07:22:16 right 07:22:26 in the first impl, disconnection would wait until GC. 07:22:51 depending on how quick compiler/Scheme env GC:s 07:23:08 however it would be quite nonsensical if one wants to jump around with a continuation, no? 07:23:19 BW^-: are you sure a finalizer is set on the port? 07:23:47 what do you mean? 07:24:04 you mean, when the TCP port gc:s, it might not close at all? 07:24:12 Right. 07:24:29 in gambit i'm quite confident it closes. 07:24:29 are you? 07:24:40 pretty really confident. 07:27:11 xwl [n=user@114.245.141.249] has joined #scheme 07:29:22 re gambit. however for other mature scheme impls, did you see one not have a finalizer on port objects? 07:30:30 -!- waterh [n=waterh@114.143.32.75] has quit ["What?! Open source isn't good enough for you? Bersirc 2.2 [ http://www.bersirc.org/ - Open Source IRC ]"] 07:32:08 As far as I know gambit does not set a finalizer on file ports; that is the usual behavior for the implementations I can think of. TCP ports I don't know. I'm sure someone else can chime in 07:33:36 To answer your original question though, the second call-with-tcp-client does prohibit you from inverting control with call/cc. 07:35:06 -!- mokogobo [n=mokogobo@pcp075595pcs.unl.edu] has quit [Read error: 110 (Connection timed out)] 07:36:32 dzhus [n=sphinx@95-24-72-114.broadband.corbina.ru] has joined #scheme 07:36:39 Riastradh has some solutions on his blag, but in a pinch you can release the resource only when an exception is thrown out of proc, not merely a call/cc. This is not 100% effective and the resource won't be released if you never jump back in, but it is simple 07:45:35 -!- BW^- [n=Miranda@151.80.3.92] has quit [Read error: 104 (Connection reset by peer)] 07:46:10 BW^- [i=Miranda@151.81.22.169] has joined #scheme 07:46:20 wops diss, please paste if you said sth to me. 07:51:02 why not have a finalizer on file ports? not doing that risks leakage of OS file descriptors, no?? 07:57:20 -!- cornucopic [n=r00t@115.241.173.121] has quit [Read error: 113 (No route to host)] 08:04:12 -!- LobsterMan is now known as LobsterMan_AFK 08:10:19 reprore [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 08:23:47 the module system for Gambit is released btw, 08:24:00 snow? 08:30:45 la la la 08:33:29 -!- p1dzkl [i=p1dzkl@cl-88.cph-01.dk.sixxs.net] has quit [Read error: 60 (Operation timed out)] 08:36:04 p1dzkl [i=p1dzkl@cl-88.cph-01.dk.sixxs.net] has joined #scheme 08:38:19 BW^-4376 [n=Miranda@151.80.195.212] has joined #scheme 08:38:48 -!- reprore [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 54 (Connection reset by peer)] 08:38:50 reprore__ [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 08:39:09 -!- dzhus [n=sphinx@95-24-72-114.broadband.corbina.ru] has quit [Remote closed the connection] 08:42:19 -!- synthase [n=synthase@68.63.19.212] has quit [Read error: 60 (Operation timed out)] 08:48:56 puchacz [n=puchacz@87.194.5.99] has joined #scheme 08:49:08 -!- p1dzkl [i=p1dzkl@cl-88.cph-01.dk.sixxs.net] has quit [Remote closed the connection] 08:49:47 -!- arcfide [n=arcfide@adsl-99-137-200-230.dsl.bltnin.sbcglobal.net] has quit [Read error: 60 (Operation timed out)] 08:51:13 p1dzkl [i=p1dzkl@cl-88.cph-01.dk.sixxs.net] has joined #scheme 08:51:13 -!- p1dzkl [i=p1dzkl@cl-88.cph-01.dk.sixxs.net] has quit [Remote closed the connection] 08:53:34 p1dzkl [i=p1dzkl@cl-88.cph-01.dk.sixxs.net] has joined #scheme 08:55:28 -!- reprore__ [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 08:59:08 -!- Elly is now known as ThreAple 08:59:16 -!- ThreAple is now known as THREAPLE 09:01:38 -!- BW^- [i=Miranda@151.81.22.169] has quit [Read error: 110 (Connection timed out)] 09:02:38 dzhus [n=sphinx@95-24-72-114.broadband.corbina.ru] has joined #scheme 09:02:48 elfor [n=johanfre@85.8.2.11.static.se.wasadata.net] has joined #scheme 09:08:25 -!- BW^-4376 is now known as BW^- 09:24:16 HG` [n=wells@91.108.127.160] has joined #scheme 09:38:02 -!- benny [n=benny@i577A1C5E.versanet.de] has quit [Read error: 110 (Connection timed out)] 09:40:19 attila_lendvai [n=ati@adsl-89-132-2-96.monradsl.monornet.hu] has joined #scheme 09:44:40 athos [n=philipp@92.250.250.68] has joined #scheme 09:50:26 jewel [n=jewel@dsl-247-202-230.telkomadsl.co.za] has joined #scheme 10:05:28 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 10:17:59 MrFahrenheit [n=RageOfTh@92.36.156.110] has joined #scheme 10:19:41 Ragnaroek [i=54a6516d@gateway/web/ajax/mibbit.com/x-e2c63153bc8b3dea] has joined #scheme 10:31:58 -!- THREAPLE is now known as Elly 10:43:56 arcfide [n=arcfide@adsl-99-137-203-12.dsl.bltnin.sbcglobal.net] has joined #scheme 10:54:48 -!- BW^- [n=Miranda@151.80.195.212] has quit [Read error: 110 (Connection timed out)] 10:56:20 -!- sladegen [n=nemo@unaffiliated/sladegen] has quit [Nick collision from services.] 10:56:29 sladegen [n=nemo@unaffiliated/sladegen] has joined #scheme 11:06:47 vixey [n=e@amcant.demon.co.uk] has joined #scheme 11:06:49 mouratov [n=mouratov@94.41.38.189.dynamic.ufanet.ru] has joined #scheme 11:06:54 pfo [n=pfo@chello084114049188.14.vie.surfer.at] has joined #scheme 11:08:21 -!- fean [n=user@caffeine.and.vomitandmath.net] has quit [Read error: 104 (Connection reset by peer)] 11:12:14 hotblack23 [n=jh@p5B055866.dip.t-dialin.net] has joined #scheme 11:12:30 -!- LobsterMan_AFK [n=a@host72-50.student.udel.edu] has quit ["g00dbye"] 11:18:06 -!- MichaelRaskin [n=MichaelR@195.91.224.225] has left #scheme 11:18:21 benny [n=benny@i577A0709.versanet.de] has joined #scheme 11:18:37 MichaelRaskin [n=MichaelR@195.91.224.225] has joined #scheme 11:20:42 -!- antoszka [n=antoszka@unaffiliated/antoszka] has quit ["+++ killed by SIGSEGV +++"] 11:22:28 cornucopic [n=r00t@115.241.33.227] has joined #scheme 11:25:24 reprore [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 11:28:00 -!- reprore [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 104 (Connection reset by peer)] 11:28:41 reprore_ [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 11:34:45 -!- mouratov [n=mouratov@94.41.38.189.dynamic.ufanet.ru] has left #scheme 11:37:47 -!- HG` [n=wells@91.108.127.160] has quit [Client Quit] 11:46:58 synthase [n=synthase@68.63.19.212] has joined #scheme 11:49:15 -!- vixey [n=e@amcant.demon.co.uk] has quit [Remote closed the connection] 11:51:48 maskd [n=maskd@unaffiliated/maskd] has joined #scheme 11:53:18 higepon713 [n=taro@FLH1Aip247.tky.mesh.ad.jp] has joined #scheme 11:56:17 -!- reprore_ [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 11:58:30 -!- elfor [n=johanfre@85.8.2.11.static.se.wasadata.net] has quit [] 12:12:50 -!- attila_lendvai [n=ati@adsl-89-132-2-96.monradsl.monornet.hu] has quit [Read error: 110 (Connection timed out)] 12:23:12 -!- mmc [n=mima@cs135165.pp.htv.fi] has quit [Read error: 110 (Connection timed out)] 12:25:14 HG` [n=wells@91.108.127.160] has joined #scheme 12:30:05 elfor [n=johanfre@h-63-86.A163.priv.bahnhof.se] has joined #scheme 12:30:15 blackened` [n=blackene@ip-89-102-208-138.karneval.cz] has joined #scheme 12:30:35 pchrist [n=spirit@gentoo/developer/pchrist] has joined #scheme 12:30:47 attila_lendvai [n=ati@adsl-89-132-40-17.monradsl.monornet.hu] has joined #scheme 12:31:50 -!- dzhus [n=sphinx@95-24-72-114.broadband.corbina.ru] has quit ["Yow! Legally-imposed CULTURE-reduction is CABBAGE-BRAINED!"] 12:34:29 orgy` [n=ratm_@pD9FFEA84.dip.t-dialin.net] has joined #scheme 12:37:13 -!- athos [n=philipp@92.250.250.68] has quit ["leaving"] 12:40:30 Edico [n=Edico@unaffiliated/edico] has joined #scheme 12:42:43 hkBst [n=hkBst@gentoo/developer/hkbst] has joined #scheme 12:50:38 -!- MichaelRaskin [n=MichaelR@195.91.224.225] has left #scheme 12:51:24 -!- attila_lendvai [n=ati@adsl-89-132-40-17.monradsl.monornet.hu] has quit [Read error: 113 (No route to host)] 12:51:52 MichaelRaskin [n=MichaelR@195.91.224.225] has joined #scheme 12:55:44 -!- HG` [n=wells@91.108.127.160] has quit [Client Quit] 12:57:53 -!- Ragnaroek [i=54a6516d@gateway/web/ajax/mibbit.com/x-e2c63153bc8b3dea] has quit ["http://www.mibbit.com ajax IRC Client"] 12:59:41 -!- cornucopic [n=r00t@115.241.33.227] has quit [Read error: 54 (Connection reset by peer)] 13:03:01 -!- geckosenator [n=sean@c-71-237-94-78.hsd1.co.comcast.net] has quit [Read error: 110 (Connection timed out)] 13:18:39 -!- MichaelRaskin [n=MichaelR@195.91.224.225] has left #scheme 13:19:30 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 13:37:26 dzhus [n=sphinx@95-24-97-249.broadband.corbina.ru] has joined #scheme 13:52:17 reprore [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 14:02:35 mokogobo [n=mokogobo@pcp075595pcs.unl.edu] has joined #scheme 14:08:44 -!- pchrist [n=spirit@gentoo/developer/pchrist] has quit ["leaving"] 14:09:13 -!- synthase [n=synthase@68.63.19.212] has quit [Read error: 113 (No route to host)] 14:11:24 pchrist [n=spirit@gentoo/developer/pchrist] has joined #scheme 14:23:08 rudybot__ [n=luser@q-static-138-125.avvanta.com] has joined #scheme 14:35:37 -!- rudybot_ [n=luser@q-static-138-125.avvanta.com] has quit [Read error: 113 (No route to host)] 14:37:14 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 14:40:33 -!- brandelune [n=suzume@pl275.nas934.takamatsu.nttpc.ne.jp] has quit [] 14:45:47 cornucopic [n=r00t@115.241.89.123] has joined #scheme 14:46:18 vixey [n=e@amcant.demon.co.uk] has joined #scheme 14:51:46 luz [n=davids@189.122.121.232] has joined #scheme 15:06:32 mejja [n=user@c-f6b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 15:07:55 sepult [n=sepult@xdsl-87-78-74-230.netcologne.de] has joined #scheme 15:08:09 -!- puchacz [n=puchacz@87.194.5.99] has quit ["Konversation terminated!"] 15:08:18 Quadrescence [n=quad@unaffiliated/quadrescence] has joined #scheme 15:10:13 -!- eno_ is now known as eno 15:17:44 -!- benny [n=benny@i577A0709.versanet.de] has quit [Read error: 104 (Connection reset by peer)] 15:29:28 igraltis1 [n=jens@kasten-edv.de] has joined #scheme 15:29:49 hi 15:30:46 Hi all 15:32:21 When I hit a "maximum recursion depth exceeded", is there a way to "see" the whole stack ? 15:36:22 pbusser2: groetjes 15:36:51 pbusser2: i hope i dont disturbed 15:37:05 benny [n=benny@i577A0709.versanet.de] has joined #scheme 15:38:34 cornucopic: You get a "maximum recursion depth exceeded"? All I get is my computer freezing while scheme locks all available memory. 15:39:26 synx, If I get, I get ! 15:40:00 I have yet to figure out how to stop programs from doing that... it's really frustrating. 15:41:14 synx, write more code :), just as I am doing - no offence! 15:41:27 A simple program like (let loop () (if (loop) #t #f)) can bring my computer down to its knees. 15:42:04 cornucopic: I'm telling you there is no maximum recursion depth. It kills my computer long before it would think to emit any warnings. 15:42:21 reprore__ [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 15:42:23 -!- reprore [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 104 (Connection reset by peer)] 15:43:25 synx, on account of my inappropriately written code, I have seen this more than once 15:43:33 cornucopic: and telling someone "lurk moar" isn't very polite no matter how you phrase it, no offense :> 15:43:47 What scheme are you using though? 15:44:18 synx, well again, no offense intended ! 15:44:22 synx, I am using mit-scheme 15:44:28 -!- xwl [n=user@114.245.141.249] has quit [Remote closed the connection] 15:44:38 Oh, I haven't used that in years sorry. 15:45:07 synx, Ok. NO issues. Which do you use? 15:45:30 I use plt mostly. It doesn't really matter though. 15:46:55 Just someone here who uses mit-scheme would be more qualified to help you. 15:47:33 synx, np ! I will wait whenever they have the time :) 15:47:36 plt automatically displays a stack trace on error, via the default error-display-handler. 15:48:47 synx, even on "...depth exceeeded...". On another note, how can we see the call-graph, (other than in the mind:) ) ? 15:50:22 -!- metasyntax [n=taylor@pool-71-127-85-87.aubnin.fios.verizon.net] has quit [""Nichts mehr.""] 15:50:25 toy can give mit more stack on startup with the --stack switch. I think default is 200 or so (200 1K word blocks) 15:50:34 s/toy/you/ 15:51:09 mejja, Hmm..Okay. I have corrected my code and doesn't throw that to me any more. 15:55:22 rdd [n=user@c83-250-153-45.bredband.comhem.se] has joined #scheme 16:06:43 -!- stepnem is now known as | 16:07:13 -!- | is now known as stepnem 16:08:37 -!- djarvelis is now known as nerdvelis 16:12:26 For comparison, Forth programmers think you don't need any more than 2 10-word stacks :) 16:13:32 -!- hotblack23 [n=jh@p5B055866.dip.t-dialin.net] has quit [Remote closed the connection] 16:13:34 .. but they also think you need two stacks. 16:15:39 right... "more than _2_ 10-word stack", right la la la 16:16:11 well, technically they have 4 stacks, but the data and return stacks are the important ones 16:19:24 zbigniew, `consider what happens if proc raises an exception' -- and consider what happens if the handler for the exception raised does not exit the extent of the call to proc, and instead restarts inside. 16:19:35 zbigniew, then the program will break because the programmer chose a bogus criterion on which to close a port. 16:20:50 zbigniew, what Scheme systems don't establish finalizers, or similar, for ports backed by file descriptors? 16:21:57 -!- higepon713 [n=taro@FLH1Aip247.tky.mesh.ad.jp] has quit [Read error: 113 (No route to host)] 16:23:36 *mejja* needs a hay stack a dr pepper 16:24:52 -!- elfor [n=johanfre@h-63-86.A163.priv.bahnhof.se] has quit [Read error: 110 (Connection timed out)] 16:27:48 metasyntax [n=taylor@pool-71-127-85-87.aubnin.fios.verizon.net] has joined #scheme 16:28:09 hotblack23 [n=jh@p5B055866.dip.t-dialin.net] has joined #scheme 16:29:50 -!- ejs [n=eugen@143-201-124-91.pool.ukrtel.net] has quit [Read error: 104 (Connection reset by peer)] 16:31:33 -!- drwhen [n=d@216-67-73-247-rb1.fai.dsl.dynamic.acsalaska.net] has quit ["Ex-Chat"] 16:33:37 -!- pfo [n=pfo@chello084114049188.14.vie.surfer.at] has quit [Read error: 104 (Connection reset by peer)] 16:36:30 Nshag [i=user@Mix-Orleans-106-4-196.w193-248.abo.wanadoo.fr] has joined #scheme 16:46:53 elfor [n=johanfre@85.8.2.11.static.se.wasadata.net] has joined #scheme 16:46:57 ejs [n=eugen@68-149-124-91.pool.ukrtel.net] has joined #scheme 16:48:52 grettke [n=grettke@CPE-69-23-38-57.wi.res.rr.com] has joined #scheme 17:03:27 -!- dzhus [n=sphinx@95-24-97-249.broadband.corbina.ru] has quit [Remote closed the connection] 17:06:22 HG` [n=wells@91.108.127.160] has joined #scheme 17:08:50 xwl [n=user@114.245.141.249] has joined #scheme 17:13:36 Fantozzi [n=_Spectre@host187-136-dynamic.17-79-r.retail.telecomitalia.it] has joined #scheme 17:15:32 Riastradh: 1) Don't do that, then. 2) Which systems *do* automatically establish finalizers on open ports? 17:15:48 -!- Fantozzi [n=_Spectre@host187-136-dynamic.17-79-r.retail.telecomitalia.it] has left #scheme 17:27:51 Not on all ports, but MIT Scheme and Scheme48 effectively establish finalizers on ports backed by file descriptors. 17:34:38 -!- grettke [n=grettke@CPE-69-23-38-57.wi.res.rr.com] has quit [] 17:48:30 -!- sladegen [n=nemo@unaffiliated/sladegen] has quit [Nick collision from services.] 17:48:39 sladegen [n=nemo@unaffiliated/sladegen] has joined #scheme 17:55:00 athos [n=philipp@92.250.250.68] has joined #scheme 17:55:23 -!- xwl [n=user@114.245.141.249] has quit [Remote closed the connection] 17:55:54 -!- sladegen [n=nemo@unaffiliated/sladegen] has quit [Nick collision from services.] 17:56:56 sladegen [n=nemo@unaffiliated/sladegen] has joined #scheme 17:57:50 -!- HG` [n=wells@91.108.127.160] has quit [Client Quit] 17:59:31 -!- CaptainMorgan [n=CaptainM@c-24-62-183-102.hsd1.ma.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 17:59:42 PLT does not, Chicken does not, Gambit I'm not sure about 18:00:33 CaptainMorgan [n=CaptainM@c-24-62-183-102.hsd1.ma.comcast.net] has joined #scheme 18:04:26 -!- sladegen [n=nemo@unaffiliated/sladegen] has quit [Read error: 104 (Connection reset by peer)] 18:06:03 lolcow [n=lolcow@196-210-146-143-tvwt-esr-2.dynamic.isadsl.co.za] has joined #scheme 18:06:41 -!- leppie [n=lolcow@196-210-146-143-tvwt-esr-2.dynamic.isadsl.co.za] has quit [Read error: 104 (Connection reset by peer)] 18:07:38 xwl [n=user@114.245.141.249] has joined #scheme 18:12:41 I consider that a bug in those implementations, then. 18:12:52 mmc [n=mima@cs135165.pp.htv.fi] has joined #scheme 18:13:48 -!- dfeuer [n=dfeuer@wikimedia/Dfeuer] has quit ["Goin' away"] 18:24:48 pfo [n=pfo@chello084114049188.14.vie.surfer.at] has joined #scheme 18:28:59 -!- jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has quit [Read error: 60 (Operation timed out)] 18:29:33 -!- lolcow is now known as leppie 18:39:40 -!- mmc [n=mima@cs135165.pp.htv.fi] has quit [Read error: 110 (Connection timed out)] 18:42:31 attila_lendvai [n=ati@adsl-89-132-40-17.monradsl.monornet.hu] has joined #scheme 18:44:41 mmc [n=mima@cs135165.pp.htv.fi] has joined #scheme 18:44:43 reprore_ [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 18:44:47 -!- reprore__ [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 104 (Connection reset by peer)] 18:50:36 -!- cky [n=cky@cpe-024-211-255-155.nc.res.rr.com] has quit [Remote closed the connection] 18:51:50 cky [n=cky@cpe-024-211-255-155.nc.res.rr.com] has joined #scheme 18:52:51 meanburrito920_ [n=John@76-217-6-100.lightspeed.irvnca.sbcglobal.net] has joined #scheme 18:58:19 -!- elfor [n=johanfre@85.8.2.11.static.se.wasadata.net] has quit [] 18:59:15 elfor [n=johanfre@85.8.2.11.static.se.wasadata.net] has joined #scheme 19:05:58 attila_lendvai_ [n=ati@www.netvisor.hu] has joined #scheme 19:06:47 -!- mmc [n=mima@cs135165.pp.htv.fi] has quit [Read error: 110 (Connection timed out)] 19:06:53 -!- attila_lendvai [n=ati@adsl-89-132-40-17.monradsl.monornet.hu] has quit [Read error: 110 (Connection timed out)] 19:07:01 synthase [n=synthase@68.63.19.212] has joined #scheme 19:07:48 AtnNn [n=welcome@modemcable087.62-56-74.mc.videotron.ca] has joined #scheme 19:07:57 Riastradh: might it be that `parse-input-chars' (used in your s48-http-client.scm from schemantic-web) is missing from the darcs repo of parscheme? 19:09:06 bombshelter13_ [n=bombshel@209-161-231-13.dsl.look.ca] has joined #scheme 19:14:47 Oops. It helps to push patches. 19:14:48 -!- sepult [n=sepult@xdsl-87-78-74-230.netcologne.de] has quit [Read error: 104 (Connection reset by peer)] 19:24:50 -!- xor is now known as bsmntbombdood 19:31:12 -!- mokogobo [n=mokogobo@pcp075595pcs.unl.edu] has quit ["Leaving"] 19:31:49 illio [n=illio@2808ds1-arve.0.fullrate.dk] has joined #scheme 19:32:07 Is there a built in procedure to check the size of a list? 19:35:47 check? 19:36:16 LENGTH 19:36:37 -!- mejja [n=user@c-f6b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Remote closed the connection] 19:40:00 -!- attila_lendvai_ [n=ati@www.netvisor.hu] has quit ["..."] 19:44:51 Modius_ [n=Modius@adsl-209-30-130-75.dsl.austtx.swbell.net] has joined #scheme 19:45:15 m811 [n=user@234.191.191.90.dyn.estpak.ee] has joined #scheme 19:47:47 Adamant [n=Adamant@c-76-29-188-22.hsd1.ga.comcast.net] has joined #scheme 19:59:26 jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has joined #scheme 20:01:57 -!- Modius [n=Modius@adsl-209-30-130-75.dsl.austtx.swbell.net] has quit [Read error: 110 (Connection timed out)] 20:10:45 Lilarcor [n=Lilarcor@pool-71-126-184-191.washdc.east.verizon.net] has joined #scheme 20:10:54 geckosenator [n=sean@c-71-237-94-78.hsd1.co.comcast.net] has joined #scheme 20:14:59 -!- sphex_ is now known as sphex 20:16:52 -!- Lilarcor [n=Lilarcor@pool-71-126-184-191.washdc.east.verizon.net] has quit ["The Lord of Murder Shall Perish."] 20:17:39 -!- illio [n=illio@2808ds1-arve.0.fullrate.dk] has quit ["Leaving"] 20:22:50 -!- zbigniew [n=zb@3e8.org] has quit [Read error: 113 (No route to host)] 20:24:25 Modius [n=Modius@99.179.99.246] has joined #scheme 20:26:24 Modius__ [n=Modius@99.179.99.246] has joined #scheme 20:26:37 wrldpc [n=worldpea@pool-173-48-214-204.bstnma.fios.verizon.net] has joined #scheme 20:28:17 Riastradh: when using `parse-string' from parscheme, how do I figure out the position in the string where the parser stopped? 20:30:05 sepult [n=sepult@xdsl-87-78-74-230.netcologne.de] has joined #scheme 20:30:14 -!- sepult [n=sepult@xdsl-87-78-74-230.netcologne.de] has quit [Client Quit] 20:31:53 sepult [n=sepult@xdsl-87-78-74-230.netcologne.de] has joined #scheme 20:38:35 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 20:38:46 -!- Modius_ [n=Modius@adsl-209-30-130-75.dsl.austtx.swbell.net] has quit [Read error: 110 (Connection timed out)] 20:39:24 Modius_ [n=Modius@99.179.99.246] has joined #scheme 20:41:00 (I see that there's position tracking in the parse state, but that doesn't seem to be available to the `lose' or `win' arguments of parse-stream and its derivates) 20:43:02 gweiqi [n=greg@69.120.126.163] has joined #scheme 20:43:17 -!- gweiqi [n=greg@69.120.126.163] has quit [Client Quit] 20:43:48 -!- Modius [n=Modius@99.179.99.246] has quit [Connection timed out] 20:44:42 -!- Modius__ [n=Modius@99.179.99.246] has quit [Read error: 110 (Connection timed out)] 20:56:28 decaf [i=58e84877@gateway/web/ajax/mibbit.com/x-26f712304c4015d9] has joined #scheme 20:58:28 choas [n=lars@p5B0DDDF6.dip.t-dialin.net] has joined #scheme 21:11:49 antoszka [n=antoszka@unaffiliated/antoszka] has joined #scheme 21:13:45 rotty, it's stored in the parse error. 21:14:17 See READ-HTTP-RESPONSE for an example. 21:17:44 riastradh: yeah, but in the `win' procedure, I don't access to the parse error. 21:19:14 I see. Hmm, you are correct. It would be necessary to extend the PARSE-STREAM procedure to pass the parse state's position to the winning and losing continuations. What do you want to do this for? 21:20:44 Riastradh: say I got an email (rfc822) stored in a bytevector, and then use parscheme to parse the headers -- after the parsing is done, I want to know where the body begins 21:21:27 OK. I'd probably do that by finding the double-CRLF and then parsing the header and body separately, but that sounds reasonable enough. 21:22:42 Any suggestion for the name of a variant of PARSE-STREAM that also passes the position to the winning continuation? 21:24:14 hmm... 21:24:58 -!- Modius_ [n=Modius@99.179.99.246] has quit [Read error: 54 (Connection reset by peer)] 21:25:16 One obvious choice is PARSE-STREAM*. 21:25:25 yeah, the generic one :-) 21:26:09 Also, quick exercise for the reader: If PARSE-STREAM* were to pass the position as well as the parse error, would the position be different from the parse error's position? 21:26:23 -!- reprore_ [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 21:26:55 reprore [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 21:27:10 you mean passing the position to the `lose' argument as well? 21:27:21 Modius [n=Modius@ppp-70-250-153-251.dsl.austtx.swbell.net] has joined #scheme 21:27:50 Sorry, yes. 21:29:02 Ran [n=Ran@81-226-215-80-no31.tbcn.telia.com] has joined #scheme 21:29:19 I guess they could differ, as the parser could have consumed input after the "error position", and then backtracked to that position 21:30:06 (but I'm just blind-guessing here) 21:30:22 -!- p1dzkl [i=p1dzkl@cl-88.cph-01.dk.sixxs.net] has quit ["changing servers"] 21:32:45 Hello. How do I get to the "listener prompt" (is that the correct term?) when using MIT-GNU Scheme? 21:33:30 Can you be more precise, Ran? Are you asking how to start MIT Scheme so that you enter a REPL, or are you asking how to enter a REPL from from some state that you have got MIT Scheme into, or are you asking something else? 21:34:51 I suppose the first one, how to start MIT Scheme so that I then can enter REPL. 21:35:30 Have you installed MIT Scheme on a Unixoid operating system? 21:36:39 No, I'm afraid not. I am currently trying to learn Scheme, on my main PC, which uses Windows XP. 21:37:24 OK. I don't know anything about MIT Scheme (or any Scheme) on Windows. There are, however, instructions on the web site, at . 21:37:26 -rudybot__:#scheme- http://tinyurl.com/dd8uxn 21:37:47 Riastradh, I have installed it and started it, but I do not know how to get to the REPL. 21:38:12 How did you start it, and what happened when you started it? 21:38:15 I was recommended to follow http://www.scheme.com/tspl3/ . I found MIT-GNU Scheme, but I don't know if that is a good starting point. Simply finding a starting point seems to be quite hard. 21:39:31 Well, I started it by executing the exe file as by the manual. 21:39:58 Which gave me two GUI windows, one saying MIT/GNU Scheme and the other one saying Edwin: *scheme*. 21:40:11 -!- synthase [n=synthase@68.63.19.212] has quit [Read error: 113 (No route to host)] 21:40:28 What does the window saying `Edwin: *scheme*' say? 21:41:13 Standard startup copyright information. 21:41:19 Followed by...? 21:42:04 Blankspace, then a black bar which says ~"edwin: *scheme* (REPL: listen)-----All------" 21:42:15 What's the last word of the `standard startup copyright information'? 21:42:59 ; Package: (user), basicly it's a window in which I can edit text, and some text is loaded on startup 21:43:17 Go up a couple of lines; does it say anything about, say, help, or a tutorial? 21:44:54 Yes, C-h C-h opens a help document inside the window, plus information like "space to scroll" and "Type a Help option:", but typing anything closes the help window. 21:45:10 The window you see in front of you is a window for interaction with Scheme, or a REPL. Briefly, to evaluate an expression in it, type `C-x C-e' after the expression, but you should read the tutorial. 21:45:16 Try `C-h t', as the text suggests. 21:46:21 ouh, now I get it. Opening up the information about each help item renders it impossible to open a help file. Yes, I'm into the help files now. 21:46:29 -!- hkBst [n=hkBst@gentoo/developer/hkbst] has quit [Read error: 104 (Connection reset by peer)] 21:56:31 Hm, okay, that was not the case. Simply getting into the help menu is ultra confusing... hah. 21:57:09 What's confusing about it? 21:59:38 Well, pressing C-h and then any of the keys that should open a help file will instead do some other command. 21:59:49 Huh? 22:00:10 -!- elfor [n=johanfre@85.8.2.11.static.se.wasadata.net] has quit [] 22:00:47 I press C-h, it tells me that I should press some character, I press that character, I end up with getting the same thing as if I was not in the help menu (or "pre help" menu) 22:01:20 What do you mean by `with getting the same thing as if I was not in the help menu'? 22:02:22 Well, if I say press C-h a, It'll prompt me "Command apropos (regexp):" 22:03:25 Yes, that's what `C-h a' is supposed to do; then when you type a regular expression into the prompt, Edwin will search for commands whose names match the regular expression you entered. 22:04:07 How does that lead me to a help file? 22:04:30 What `help file' are you looking for, exactly? The tutorial? If so, type `C-h t'. 22:05:01 Right. 22:08:04 p1dzkl [i=p1dzkl@cl-88.cph-01.dk.sixxs.net] has joined #scheme 22:10:54 -!- hotblack23 [n=jh@p5B055866.dip.t-dialin.net] has quit [Read error: 145 (Connection timed out)] 22:12:40 sladegen [n=nemo@unaffiliated/sladegen] has joined #scheme 22:15:18 incubot: you know anything about puppies? 22:15:22 ROAD Island's, HUSH Puppies, and how LUKE finds GOLD on his LAND!! 22:15:44 I wonder if I should put myself in ESCROW!! 22:18:20 -!- Debolaz [n=debolaz@berle.cc] has quit [Read error: 110 (Connection timed out)] 22:18:45 RageOfThou [n=RageOfTh@92.36.165.63] has joined #scheme 22:24:27 -!- choas [n=lars@p5B0DDDF6.dip.t-dialin.net] has quit [Read error: 113 (No route to host)] 22:36:35 -!- MrFahrenheit [n=RageOfTh@92.36.156.110] has quit [Read error: 110 (Connection timed out)] 22:44:17 Speaking in terms of PLT Scheme, can definitions made inside the REPL (mzscheme or DrScheme's interactions window) be somehow extracted and saved to a file? 22:44:49 I'm working on an "interactive" kind of program that takes advantage of the interactiveness of the interpreter. 22:46:15 For example, I've got a large list with data which I'd like to analyze/play with. 22:46:49 So far I have a couple of simple functions that traverse the list and do things like sum intergers, print data in a more pleasing way, etc. 22:47:38 The use case is simple enough that a lot of this can be done with one-liner lambda expressions and abstract list functions, i.e. defined inside of the interpreter. 22:48:26 So is there anyway to save those after I've created them inside the interpreter? 22:50:49 instead of using DEFINE you could use MY-DEFINE which stores t hem all in a list 22:51:22 Oh, cool! 22:51:32 I hadn't even thought of that! :) 22:52:01 Can DEFINE be done inside of another function? Or would I need to use a macro? 22:53:18 GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has joined #scheme 22:53:36 it must be a macro 22:53:57 -!- athos [n=philipp@92.250.250.68] has quit [Remote closed the connection] 22:55:14 -!- jewel [n=jewel@dsl-247-202-230.telkomadsl.co.za] has quit [Read error: 113 (No route to host)] 22:56:44 -!- kniu [n=kniu@OVERLORD.RES.CMU.EDU] has quit [Read error: 110 (Connection timed out)] 22:57:11 kniu [n=kniu@CMU-284828.WV.CC.CMU.EDU] has joined #scheme 23:03:19 -!- reprore [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 54 (Connection reset by peer)] 23:03:50 reprore [n=reprore@ntkngw261071.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 23:14:42 brandelune [n=suzume@pl479.nas932.takamatsu.nttpc.ne.jp] has joined #scheme 23:15:02 Modius_ [n=Modius@adsl-68-93-135-129.dsl.austtx.swbell.net] has joined #scheme 23:16:15 r00t_ [n=r00t@115.241.101.129] has joined #scheme 23:19:08 -!- cornucopic [n=r00t@115.241.89.123] has quit [Read error: 113 (No route to host)] 23:26:35 -!- Modius [n=Modius@ppp-70-250-153-251.dsl.austtx.swbell.net] has quit [Read error: 110 (Connection timed out)] 23:27:52 -!- Edico [n=Edico@unaffiliated/edico] has quit ["Leaving"] 23:28:06 Ran_ [n=Ran@81-226-215-80-no31.tbcn.telia.com] has joined #scheme 23:30:07 -!- vixey [n=e@amcant.demon.co.uk] has quit [Remote closed the connection] 23:31:46 -!- Ran [n=Ran@81-226-215-80-no31.tbcn.telia.com] has quit [Read error: 60 (Operation timed out)] 23:31:48 -!- Ran_ is now known as Ran 23:35:09 illio [n=illio@2808ds1-arve.0.fullrate.dk] has joined #scheme 23:35:31 -!- GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has quit ["Leaving."] 23:37:17 I'm having a bit of a problem here.. I'm trying to learn Scheme, but there's one exercise here I can't seem to get right.. I need to create a simple procedure unzip as shown here: http://pastebin.com/d52f522ee .. what I have right now is this: http://pastebin.com/d665d451b .. I'm probably doing something simple wrong.. petite is telling me: "Error: attempt to apply non-procedure (2)." 23:40:34 your final line of the unzip procedure doesn't look right 23:43:10 I think you want to make the list ( . ) 23:43:52 or as conses ( . ( . )) 23:44:22 synthase [n=synthase@68.63.19.212] has joined #scheme 23:44:44 p1dzkl, okay.. I'll try that.. I'm used to imperiative programming with simple loops and all that.. never been that great on recursion.. :-P.. I'll probably learn at some point 23:44:52 converting that to Scheme: (cons (car (car p)) (cons (cdr (car p)) (unzip (cdr p)))) 23:45:17 s/p/pl/ 23:45:45 illio: So what you want is a list of all the 'car' of each element, and a list of all the 'cdr' of each element? 23:46:13 synx, yeah that's right 23:46:40 hmm, then I understood it wrong 23:47:08 p1dzkl, hehe yours did part of it right :-P.. more than mine at least.. now it's outputting something else than errors 23:47:43 illio: So you probably want to have two return values, one for the cars and one for the cdrs. I usually do that easiest with a named let iterative loop. 23:48:19 synx, okay.. I actually read about that in book I was following.. haven't used it yet though 23:48:25 (let loop ((p p) (cars null) (cdrs null)) (cond ... (loop (cdr p) (cons (car p) cars) (cons (cdr p) cdrs)))))) 23:48:27 -!- decaf [i=58e84877@gateway/web/ajax/mibbit.com/x-26f712304c4015d9] has left #scheme 23:48:57 That way you slowly eat away at the 'p' list, and each iteration of the loop you increase the size of cars and cdrs by one each. 23:49:34 And when it's null you can return (values (reverse cars) (reverse cdrs)) 23:49:46 Or use 'list' instead of values to get the result you originally posted. 23:49:56 (it's handy to build up a list in reverse, in scheme) 23:50:09 synx, okay.. not sure I understood that :-).. but I'll try to take a closer look at that, and perhaps read the let part again :-) 23:50:46 Yes, learn the syntax of let very carefully. It's supremely useful and flexible. 23:51:13 I won't go out on a limb and say it's better than lambda, but sometimes I wonder...