00:05:45 -!- aidalgol [~user@114-134-6-5.rurallink.co.nz] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 00:13:02 -!- saint_cypher [~saint_cyp@70-36-245-104.dsl.static.sonic.net] has quit [Remote host closed the connection] 00:20:53 -!- metasyntax [~taylor@72.86.89.174] has quit [*.net *.split] 00:20:53 -!- tessier [~treed@kernel-panic/copilotco] has quit [*.net *.split] 00:20:53 -!- duncanm [~duncan@a-chinaman.com] has quit [*.net *.split] 00:20:53 -!- Hal9k [~Lernaean@unaffiliated/kusanagi] has quit [*.net *.split] 00:20:53 -!- weinholt [weinholt@debian/emeritus/weinholt] has quit [*.net *.split] 00:24:04 -!- Nils^ [steele@beegees.mtveurope.org] has quit [Ping timeout: 276 seconds] 00:24:42 duncanm [~duncan@a-chinaman.com] has joined #scheme 00:24:42 la la la 00:28:20 Hal9k [~Lernaean@24-107-60-232.dhcp.stls.mo.charter.com] has joined #scheme 00:28:22 -!- Hal9k [~Lernaean@24-107-60-232.dhcp.stls.mo.charter.com] has quit [Changing host] 00:28:22 Hal9k [~Lernaean@unaffiliated/kusanagi] has joined #scheme 00:28:30 weinholt [weinholt@debian/emeritus/weinholt] has joined #scheme 00:29:04 R3cur51v3 [~Recursive@rrcs-97-77-55-50.sw.biz.rr.com] has joined #scheme 00:32:57 tessier [~treed@mail.copilotco.com] has joined #scheme 00:33:37 -!- RageOfThou [~RageOfTho@users-33-59.vinet.ba] has quit [Ping timeout: 245 seconds] 00:37:34 metasyntax [~taylor@72.86.89.174] has joined #scheme 00:39:37 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Ping timeout: 264 seconds] 00:55:18 -!- homie` [~user@xdsl-78-34-108-208.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 01:05:34 adadglgmut [~adadgltmu@cpe-174-100-207-183.neo.res.rr.com] has joined #scheme 01:15:04 -!- adadglgmut [~adadgltmu@cpe-174-100-207-183.neo.res.rr.com] has quit [Ping timeout: 248 seconds] 01:16:23 -!- Komi [Komi@83.231.19.221] has quit [] 01:27:37 Checkie [7436@unaffiliated/checkie] has joined #scheme 01:43:43 xwl [~user@125.34.169.83] has joined #scheme 01:53:24 -!- WoodenBoy [~WoodenBoy@87-194-114-233.bethere.co.uk] has quit [Quit: Leaving] 01:59:52 -!- curi_ [~curi@adsl-99-114-139-86.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 248 seconds] 02:02:05 ski [~slj@c-e812e055.1149-1-64736c10.cust.bredbandsbolaget.se] has joined #scheme 02:33:41 -!- snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has quit [Ping timeout: 240 seconds] 02:36:01 -!- proq [~user@unaffiliated/proqesi] has quit [Ping timeout: 276 seconds] 02:37:36 snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has joined #scheme 02:40:44 toast` [~toast`@c-71-231-102-232.hsd1.wa.comcast.net] has joined #scheme 02:52:35 timj__ [~timj@e176192235.adsl.alicedsl.de] has joined #scheme 02:55:42 -!- timj_ [~timj@e176194182.adsl.alicedsl.de] has quit [Ping timeout: 245 seconds] 03:05:50 emma [~em@unaffiliated/emma] has joined #scheme 03:11:06 sunnyps [~sunny@86.snat-111-91-127.hns.net.in] has joined #scheme 03:35:57 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 03:58:28 -!- R3cur51v3 [~Recursive@rrcs-97-77-55-50.sw.biz.rr.com] has quit [Ping timeout: 265 seconds] 03:59:38 homie [~user@xdsl-78-34-108-208.netcologne.de] has joined #scheme 04:06:03 -!- toast` [~toast`@c-71-231-102-232.hsd1.wa.comcast.net] has quit [Quit: toast`] 04:07:02 -!- snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has quit [Quit: snarkyboojum] 04:10:51 R3cur51v3 [~Recursive@rrcs-97-77-55-50.sw.biz.rr.com] has joined #scheme 04:21:10 -!- asarch [~asarch@189.188.159.212] has quit [Quit: Leaving] 04:38:09 ysph [~user@adsl-221-198-178.mgm.bellsouth.net] has joined #scheme 04:42:04 -!- davazp [~user@83.55.180.105] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 04:43:28 toast` [~toast`@c-71-231-102-232.hsd1.wa.comcast.net] has joined #scheme 04:48:53 -!- bzzbzz [~franco@modemcable240.34-83-70.mc.videotron.ca] has quit [Quit: leaving] 04:59:27 -!- zbigniew [~zb@li177-156.members.linode.com] has quit [Ping timeout: 245 seconds] 05:00:17 zbigniew [~zb@li177-156.members.linode.com] has joined #scheme 05:01:43 adadglgmut [~adadgltmu@cpe-174-100-207-183.neo.res.rr.com] has joined #scheme 05:01:45 saint_cypher [~saint_cyp@c-76-126-70-224.hsd1.ca.comcast.net] has joined #scheme 05:01:53 _Pb [~pb@75.131.194.186] has joined #scheme 05:02:49 <_Pb> is there a named-let*? 05:03:25 -!- hohoho [~hohoho@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 05:05:16 -!- saint_cypher [~saint_cyp@c-76-126-70-224.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 05:06:44 <_Pb> is there a named lambda? 05:10:37 -!- _Pb [~pb@75.131.194.186] has quit [Quit: leaving] 05:35:43 JoelMcCracken [~joelmccra@pool-72-95-149-214.pitbpa.east.verizon.net] has joined #scheme 05:37:22 -!- JoelMcCracken [~joelmccra@pool-72-95-149-214.pitbpa.east.verizon.net] has quit [Client Quit] 05:38:56 -!- e-future [~e-future@unaffiliated/sergio/x-8197433] has quit [Ping timeout: 260 seconds] 05:40:28 e-future [~e-future@unaffiliated/sergio/x-8197433] has joined #scheme 06:04:01 -!- gravicappa [~gravicapp@ppp85-140-64-4.pppoe.mtu-net.ru] has quit [Ping timeout: 276 seconds] 06:04:53 -!- e-future [~e-future@unaffiliated/sergio/x-8197433] has quit [Ping timeout: 260 seconds] 06:06:16 e-future [~e-future@unaffiliated/sergio/x-8197433] has joined #scheme 06:07:13 -!- R3cur51v3 [~Recursive@rrcs-97-77-55-50.sw.biz.rr.com] has quit [Ping timeout: 264 seconds] 06:34:11 -!- xwl [~user@125.34.169.83] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 06:34:20 xwl [~user@125.34.169.83] has joined #scheme 06:34:27 gravicappa [~gravicapp@ppp85-140-64-170.pppoe.mtu-net.ru] has joined #scheme 06:35:32 -!- ysph [~user@adsl-221-198-178.mgm.bellsouth.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 06:36:06 HG` [~HG@xdsl-92-252-99-210.dip.osnanet.de] has joined #scheme 07:00:59 kar8nga [~kar8nga@m-197.vc-graz.ac.at] has joined #scheme 07:15:06 masm [~masm@2.80.145.159] has joined #scheme 07:25:30 R3cur51v3 [~Recursive@rrcs-97-77-55-50.sw.biz.rr.com] has joined #scheme 07:28:32 abhaya [abhaya@gateway/shell/anapnea.net/x-tprwmvckfsuomdbv] has joined #scheme 07:59:10 -!- R3cur51v3 [~Recursive@rrcs-97-77-55-50.sw.biz.rr.com] has quit [Read error: Operation timed out] 08:02:21 -!- kar8nga [~kar8nga@m-197.vc-graz.ac.at] has quit [Remote host closed the connection] 08:22:05 -!- toast` [~toast`@c-71-231-102-232.hsd1.wa.comcast.net] has quit [Quit: toast`] 08:22:21 toast` [~toast`@c-71-231-102-232.hsd1.wa.comcast.net] has joined #scheme 08:25:50 mathk [~mathk@lns-bzn-20-82-64-40-93.adsl.proxad.net] has joined #scheme 08:36:56 -!- abhaya [abhaya@gateway/shell/anapnea.net/x-tprwmvckfsuomdbv] has left #scheme 08:42:01 emma_ [~em@unaffiliated/emma] has joined #scheme 08:59:26 karme [~user@2a01:4f8:100:51c1::4] has joined #scheme 09:46:07 -!- homie [~user@xdsl-78-34-108-208.netcologne.de] has quit [Ping timeout: 245 seconds] 10:06:26 -!- masm [~masm@2.80.145.159] has quit [Quit: Leaving.] 10:07:18 homie [~user@xdsl-87-79-52-8.netcologne.de] has joined #scheme 10:10:01 -!- jmcphers [~jmcphers@218.185.108.156] has quit [Remote host closed the connection] 10:16:59 -!- mathk [~mathk@lns-bzn-20-82-64-40-93.adsl.proxad.net] has quit [Quit: ..zzZzzZ] 10:27:00 malcolmci [~malcolmci@203.171.96.17.static.rev.aanet.com.au] has joined #scheme 11:00:05 Blkt [~user@dynamic-adsl-94-34-30-168.clienti.tiscali.it] has joined #scheme 11:00:33 good day everyone 11:02:06 -!- emma_ [~em@unaffiliated/emma] has quit [Quit: Lost terminal] 11:03:56 hhomar [~hhomar@92.27.39.92] has joined #scheme 11:05:09 Komi [Komi@62.32.133.50] has joined #scheme 11:05:25 hi 11:34:05 williambr [~williambr@host86-184-25-70.range86-184.btcentralplus.com] has joined #scheme 11:36:25 -!- williambr [~williambr@host86-184-25-70.range86-184.btcentralplus.com] has quit [Quit: Colloquy for iPad - http://colloquy.mobi] 11:37:37 -!- karme [~user@2a01:4f8:100:51c1::4] has quit [Remote host closed the connection] 11:52:45 -!- Nshag [user@lns-bzn-21-82-64-117-225.adsl.proxad.net] has quit [Ping timeout: 240 seconds] 11:52:52 alvatar [~alvatar@75.233.218.87.dynamic.jazztel.es] has joined #scheme 12:00:18 -!- Blkt [~user@dynamic-adsl-94-34-30-168.clienti.tiscali.it] has quit [Ping timeout: 240 seconds] 12:05:03 Nshag [user@lns-bzn-36-82-251-61-22.adsl.proxad.net] has joined #scheme 12:07:55 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 12:08:00 Blkt [~user@dynamic-adsl-94-34-30-168.clienti.tiscali.it] has joined #scheme 12:16:46 jewel [~jewel@196-210-134-12.dynamic.isadsl.co.za] has joined #scheme 12:35:22 -!- Blkt [~user@dynamic-adsl-94-34-30-168.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 12:42:57 -!- alvatar [~alvatar@75.233.218.87.dynamic.jazztel.es] has quit [Quit: leaving] 13:00:57 -!- adadglgmut [~adadgltmu@cpe-174-100-207-183.neo.res.rr.com] has quit [Ping timeout: 240 seconds] 13:09:45 i think this may be a bug but i'm not sure (maybe i'm doing something wrong?): 13:09:50 Welcome to Racket v5.0. 13:09:50 > (mcons 2 3) 13:09:51 (mcons 2 3) 13:13:21 ok, forget it, i'm just stupid 13:29:21 alvatar [~alvatar@125.127.222.87.dynamic.jazztel.es] has joined #scheme 13:33:46 -!- sunnyps [~sunny@86.snat-111-91-127.hns.net.in] has quit [Read error: Connection reset by peer] 13:37:39 fradgers- [~fradgers-@5adb10a1.bb.sky.com] has joined #scheme 13:41:56 -!- Komi [Komi@62.32.133.50] has quit [Ping timeout: 252 seconds] 13:43:41 sunnyps [~sunny@241.snat-111-91-110.hns.net.in] has joined #scheme 13:45:10 Komi [Komi@83.231.60.93] has joined #scheme 14:00:56 choas [~lars@p5B0DB232.dip.t-dialin.net] has joined #scheme 14:05:18 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 14:08:48 masm [~masm@bl16-151-229.dsl.telepac.pt] has joined #scheme 14:09:15 thehcdreamer [~thehcdrea@host205-5-static.14-79-b.business.telecomitalia.it] has joined #scheme 14:13:14 -!- HG` [~HG@xdsl-92-252-99-210.dip.osnanet.de] has quit [Quit: Leaving.] 14:15:05 Hi, I'm having an hard time implementing what I thought was a trivial program. The program should take a list like '((1 2) (3 4)) and produce a list with one pair of parentheses removed from each top level, for example in this case the output would be (1 2 3 4). This is what I've come up http://pastie.org/1038820 but I can't figure out how to properly use cons. 14:20:32 thehcdreamer: do you know about `append'? 14:20:43 specbot: r5rs append 14:20:43 http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-9.html#%_idx_420 14:20:43 -rudybot:#scheme- http://tinyurl.com/5ccsel 14:21:11 rotty: mhm, right 14:21:11 thanks 14:21:36 yw 14:27:03 MrFahrenheit [~RageOfTho@users-55-148.vinet.ba] has joined #scheme 14:27:04 hohoho [~hohoho@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 14:38:31 wingo [~wingo@81.39.161.70] has joined #scheme 14:38:50 *wingo* gives secret handshake to scheme underground 14:46:56 -!- toast` [~toast`@c-71-231-102-232.hsd1.wa.comcast.net] has quit [Quit: toast`] 14:57:22 -!- xwl [~user@125.34.169.83] has quit [Remote host closed the connection] 14:58:27 -!- malcolmci [~malcolmci@203.171.96.17.static.rev.aanet.com.au] has quit [Quit: Leaving] 15:00:33 toast` [~toast`@c-71-231-102-232.hsd1.wa.comcast.net] has joined #scheme 15:02:57 adadglgmut [~adadgltmu@cpe-174-100-207-183.neo.res.rr.com] has joined #scheme 15:03:51 xwl [~user@125.34.169.83] has joined #scheme 15:06:24 -!- thehcdreamer [~thehcdrea@host205-5-static.14-79-b.business.telecomitalia.it] has quit [Quit: thehcdreamer] 15:18:01 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 15:19:02 wingo, I found a trivial bug in Guile's implementation of SRFI 18: MUTEX-UNLOCK!, and some other operations, don't make tail calls to the exception handler. The problem had to do with the way that some abstraction called WRAP was structured. Can you fix this? 15:20:25 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 240 seconds] 15:20:58 More specifically, they make non-tail calls to the exception handler. 15:22:57 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 15:25:41 -!- toast` [~toast`@c-71-231-102-232.hsd1.wa.comcast.net] has quit [Quit: toast`] 15:26:54 lvillani [~lvillani@fedora/lvillani] has joined #scheme 15:29:57 toast` [~toast`@c-71-231-102-232.hsd1.wa.comcast.net] has joined #scheme 16:01:50 Riastradh: will take a look at it, tx 16:02:50 How do I turn off the stupid readline nonsense in MzScheme? 16:03:45 Hrm, pretend there's no tty? 16:03:47 I try to paste some code into the REPL, and it asks me `Display all 1726 possibilities? (y or n)', dumps a gigantic list of names, and then gives reader errors, completely failing to take the input I just gave it. 16:05:05 mzscheme -f stdin works-for-me 16:05:11 Sometimes pasting code into the REPL works, although for some reason MzScheme puts a bunch of spaces before the next prompt, apparently proportional to the number of lines I just entered. 16:06:15 I'm running MzScheme 4.2.4 under `M-x run-scheme' in GNU Emacs 22.2.1. I didn't think Emacs would allocate a tty for M-x run-scheme. 16:07:13 luz [~davids@189.60.69.82] has joined #scheme 16:07:31 If it didn't, you wouldn't get a prompt. 16:07:43 Or interactive options. 16:12:38 Wait, actually it gives the prompt anyway. 16:13:41 Anyway, I usually paste into buffer and eval buffer 16:13:55 That's what I tried the first time. 16:14:12 I used C-c C-r to evaluate the region. MzScheme barfed a pile of names on me and failed to evaluate the code. 16:14:24 Why is this readline crap turned on by default, anyway? 16:16:32 Riastradh: filed https://savannah.gnu.org/bugs/index.php?30407 16:16:50 i would like to turn on readline by default for guile, fwiw, but i don't think i can 16:17:02 Why?? 16:17:03 chezscheme recently defaulted to turning on its expression editor i think 16:17:24 Who uses a REPL outside of a reasonable editor? 16:17:32 *wingo* raises sheepish hand 16:17:37 ...and wants a crappy, half-arsed editor in its place? 16:17:39 a lot of users, too... 16:18:37 You could get a much better effect by typing `emacs -f run-scheme', with no programming effort. 16:18:41 i prefer no facilities like readline support in the repl 16:19:04 i can use rlwrap anyway if i need them 16:20:16 Riastradh: racket/mzscheme readline is annoying 16:20:20 tab completion support from the implementation is important 16:21:02 so annoying that on Windows you can't even paste code to the repl realiably 16:21:29 you can always paste code to a repl, provided your code has no tabs 16:21:39 *wingo* grumbles about tabs in scheme source code some more 16:24:41 who uses tabs in scheme source code? 16:24:48 tabs are also annoying :) 16:25:10 Tabs should be avoided, but they should also be treated as whitespace, not as control characters. 16:25:45 How about using SIGINFO to request name completion, wingo? 16:26:08 -!- gravicappa [~gravicapp@ppp85-140-64-170.pppoe.mtu-net.ru] has quit [Ping timeout: 260 seconds] 16:34:24 signals are pretty evil... would be possible, though. 16:34:49 You already take special action on SIGINT, don't you? 16:35:17 Completion is just another out-of-band control request. 16:35:19 yes, just raise an exception 16:35:23 That's legal, but not sane. 16:35:29 biab 16:35:40 gravicappa [~gravicapp@ppp91-78-228-203.pppoe.mtu-net.ru] has joined #scheme 16:36:46 What's not sane? 16:38:03 Using signals for something like that. Then again, I've never gotten a psychiatric evaluation myself. 16:39:07 It's a simple out-of-band channel so that the REPL can read all input and not treat any of it specially requiring any sort of quotation or anything. 16:39:42 Anything more complicated should be done through a more principled channel, of course, such as SLIME. 16:45:07 How is using tab for completion at a REPL any worse than, say, Emacs in a tty interpreting tab? 16:45:23 What if the REPL provides a full set of Emacs-like keybindings when run in a tty? 16:45:24 chandler, you don't pipe stuff to Emacs. 16:45:47 Any REPL which interprets tab as anything but whitespace when stdin is a pipe is broken. 16:46:31 Here, typing C-c C-r, or M-w and then C-y, qualifies as `piping stuff to the REPL'. 16:47:40 Inside an inferior lisp buffer? I'm not sure who's interpreting the C-y in that example. 16:47:54 Emacs is interpreting C-c C-r, M-w, and C-y. 16:48:19 But the data I send to the REPL that way may contain characters that the REPL interprets magically. 16:48:30 Well, if you're running the REPL in an inferior buffer, it shouldn't do tab completion. 16:48:39 Exactly! 16:48:52 That's what I was complaining about originally. 16:48:59 Oh. I've just now found your original problem in scrollback. 16:49:07 Do you know how I can turn it off? 16:49:11 Hm. 16:49:25 I could read the manual, but I'm immersed in other parts of the manual right now. 16:50:09 ...which may be more interesting to you than this; see . 16:50:29 -!- ASau [~user@83.69.227.32] has quit [Read error: Connection reset by peer] 16:51:20 (Annoyingly, reading the racket list via Gmane is still broken with respect to message threading.) 16:52:04 (Isn't that the responsibility of your newsreader?) 16:52:24 (Or does Gmane actually corrupt the message-id and references header fields?) 16:53:05 (I believe it's corrupting it, as Gmane's own threaded web interface is broken as well. It wasn't broken before the mailing list rename.) 16:54:08 I don't seem to get any readline cruft in my local installation of racket. 16:57:12 Strange. This is PLT Scheme 4.2.4, but I suppose the installation might be weird, since it's on Athena. 16:57:15 Anyway, time for lunch. 16:57:51 readline doesn't seem to be enabled by default - you have to require it for it to work. There might be a racketrc, er, mzschemerc around somewhere. 17:08:33 nowhereman [~pierre@AStrasbourg-551-1-9-124.w86-213.abo.wanadoo.fr] has joined #scheme 17:09:12 -!- nowhere_man [~pierre@AStrasbourg-551-1-67-22.w92-141.abo.wanadoo.fr] has quit [Ping timeout: 265 seconds] 17:11:59 -!- sunnyps [~sunny@241.snat-111-91-110.hns.net.in] has quit [Quit: Ex-Chat] 17:23:58 kazzmir [~jon@c-67-172-254-235.hsd1.ut.comcast.net] has joined #scheme 17:25:01 -!- toast` [~toast`@c-71-231-102-232.hsd1.wa.comcast.net] has quit [Quit: toast`] 17:26:31 ASau [~user@83.69.227.32] has joined #scheme 17:28:32 -!- kazzmir [~jon@c-67-172-254-235.hsd1.ut.comcast.net] has quit [Client Quit] 17:29:03 kazzmir [~jon@c-67-172-254-235.hsd1.ut.comcast.net] has joined #scheme 17:29:43 -!- kazzmir [~jon@c-67-172-254-235.hsd1.ut.comcast.net] has quit [Client Quit] 17:30:07 jonrafkind [~jon@c-67-172-254-235.hsd1.ut.comcast.net] has joined #scheme 17:59:15 -!- Komi [Komi@83.231.60.93] has quit [Ping timeout: 240 seconds] 18:00:07 Hmm. 18:00:18 When I launch mzscheme, it creates a ~/.mzschemerc file. 18:02:36 ... 18:02:52 This is not PLT Scheme's fault, however; this is the fault of whoever made the stupid Athena locker. 18:03:01 Komi [Komi@83.231.60.93] has joined #scheme 18:04:28 Still, it would be nice to know how to turn readline crap off once it has been turned on. 18:12:33 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Ping timeout: 265 seconds] 18:14:05 sladegen [~nemo@unaffiliated/sladegen] has joined #scheme 18:34:07 -!- Hal9k [~Lernaean@unaffiliated/kusanagi] has quit [] 18:40:32 Hal9k [~Lernaean@unaffiliated/kusanagi] has joined #scheme 18:46:57 -!- alvatar [~alvatar@125.127.222.87.dynamic.jazztel.es] has quit [Quit: leaving] 18:49:26 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Disconnected by services] 18:49:35 sladegen [~nemo@unaffiliated/sladegen] has joined #scheme 18:52:44 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 260 seconds] 19:05:01 -!- hhomar [~hhomar@92.27.39.92] has quit [Quit: WeeChat 0.3.2] 19:20:04 -!- jonrafkind [~jon@c-67-172-254-235.hsd1.ut.comcast.net] has quit [Ping timeout: 276 seconds] 19:36:12 -!- pizza_ [pizza@poipu/supporter/pizza-milkshake] has left #scheme 19:40:48 alvatar [~alvatar@125.127.222.87.dynamic.jazztel.es] has joined #scheme 19:49:55 -!- gravicappa [~gravicapp@ppp91-78-228-203.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 20:02:29 -!- Komi [Komi@83.231.60.93] has quit [] 20:21:42 hadronzoo [~hadronzoo@64.134.146.106] has joined #scheme 20:24:39 jonrafkind [~jon@c-67-172-254-235.hsd1.ut.comcast.net] has joined #scheme 20:27:29 RageOfThou [~RageOfTho@users-33-252.vinet.ba] has joined #scheme 20:30:42 -!- MrFahrenheit [~RageOfTho@users-55-148.vinet.ba] has quit [Ping timeout: 245 seconds] 20:33:24 drwho [~drwho@c-76-124-164-157.hsd1.pa.comcast.net] has joined #scheme 20:37:47 -!- jewel [~jewel@196-210-134-12.dynamic.isadsl.co.za] has quit [Ping timeout: 245 seconds] 20:39:22 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 20:42:08 -!- ASau [~user@83.69.227.32] has quit [Quit: reboot] 20:47:25 -!- emma [~em@unaffiliated/emma] has quit [Remote host closed the connection] 20:51:03 -!- sjamaan [~sjamaan@netbsd/developer/sjamaan] has quit [Ping timeout: 265 seconds] 20:51:23 -!- kniu [~kniu@pool-71-106-7-247.lsanca.dsl-w.verizon.net] has quit [Quit: Leaving] 20:51:35 emma [~em@unaffiliated/emma] has joined #scheme 20:51:56 kniu [~kniu@pool-71-106-7-247.lsanca.dsl-w.verizon.net] has joined #scheme 20:52:36 sjamaan [~sjamaan@netbsd/developer/sjamaan] has joined #scheme 21:00:47 jmcphers [~jmcphers@218.185.108.156] has joined #scheme 21:01:07 -!- alvatar [~alvatar@125.127.222.87.dynamic.jazztel.es] has quit [Quit: leaving] 21:03:07 Frobble grobble continuation barriers fnork blork composable continuation prompts fwibbly thibbly. 21:03:17 Discuss. 21:06:31 -!- jonrafkind [~jon@c-67-172-254-235.hsd1.ut.comcast.net] has quit [Ping timeout: 265 seconds] 21:16:57 -!- wingo [~wingo@81.39.161.70] has quit [Ping timeout: 245 seconds] 21:17:43 wingo [~wingo@81.39.161.70] has joined #scheme 21:19:06 -!- sjamaan [~sjamaan@netbsd/developer/sjamaan] has quit [Ping timeout: 265 seconds] 21:19:22 jonrafkind [~jon@c-67-172-254-235.hsd1.ut.comcast.net] has joined #scheme 21:23:24 ASau [~user@83.69.227.32] has joined #scheme 21:23:56 araujo [~araujo@61.173.116.67] has joined #scheme 21:24:06 -!- araujo [~araujo@61.173.116.67] has quit [Changing host] 21:24:06 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 21:26:07 sjamaan [~sjamaan@frohike.xs4all.nl] has joined #scheme 21:26:07 -!- sjamaan [~sjamaan@frohike.xs4all.nl] has quit [Changing host] 21:26:07 sjamaan [~sjamaan@netbsd/developer/sjamaan] has joined #scheme 21:40:43 karlw [~karl@75-149-50-209-SFBA.hfc.comcastbusiness.net] has joined #scheme 21:45:25 How does tail-recursive map work? 21:45:58 When you apply the modifier `tail-recursive' to MAP, what do you mean? 21:46:09 I guess you could implement map with an accumulator 21:46:22 and then reverse it at the end 21:47:43 -!- lvillani [~lvillani@fedora/lvillani] has quit [Quit: Leaving] 21:49:06 SISC claims to support it, but I can't think of a tail-recursive algorithm with better than O(n^2) time complexity. 21:49:44 whats your algorithm 21:54:09 -!- fradgers- [~fradgers-@5adb10a1.bb.sky.com] has left #scheme 21:55:37 So something like (reverse (foldl ...))? 21:58:41 yea 21:58:42 thats 2N right? 21:58:45 -!- mbishop [~martin@adsl-222-17-124.msy.bellsouth.net] has quit [Ping timeout: 265 seconds] 21:59:51 (define (mmap func data) (reverse (foldl (lambda (a b) (cons (func a) b)) '() data))) 22:01:03 Yeah, and foldl and reverse are both tail recursive. I wonder how many implementations mess this up. 22:02:29 Mess what up? 22:03:06 Fail to implement tail-recursive map. 22:03:23 What is the observable property that you're worried about? 22:05:44 My embedded device runs out of memory from calling map an a "long" list. 22:06:14 Note that you already need O(n) space in order to use MAP and its result. So MAP that uses O(1) intermediate space scales no better or worse than a MAP that uses O(n) intermediate space. 22:08:11 Perhaps what you're worried about is (1) a Scheme system that has a stack whose capacity is bounded by a constant, while its heap is not so bounded, and (2) running on that system a definition of MAP that uses O(n) space on the stack. 22:08:29 But in Scheme systems for which (1) is not true, what does (2) matter? 22:08:58 I suppose. 22:09:03 Example: Scheme48. 22:11:05 SISC looks good anyway. As I understand, it's the only Java-based implementation that supports full tail recursion and call/cc 22:11:24 In Scheme48, there is actually a little more space for continuations than there is for objects other than continuations. There is a region of memory called the stack, and another region of memory called the heap. Continuations may reside in the stack or in the heap (or anywhere else in memory, for that matter), and if the stack overflows, the continuations in the stack are moved into the heap. Non-continuations are not stored in the stack. 22:11:26 mbishop [~martin@adsl-150-51-143.msy.bellsouth.net] has joined #scheme 22:12:26 SISC sounds nice, but I have never used it myself, and I'm afraid it is no longer maintained. Its authors frequented this channel a while ago, but I haven't heard from them in the past few years. 22:12:54 schmir [~schmir@p54A9022F.dip0.t-ipconnect.de] has joined #scheme 22:15:04 Google pays Kawa developers, but Kawa isn't properly tail-recursive and violates R5RS in several other important cases. 22:16:26 Clojure, on the other hand, is just another hyped-up JVM language. 22:16:57 -!- wingo [~wingo@81.39.161.70] has quit [Ping timeout: 245 seconds] 22:18:59 -!- homie [~user@xdsl-87-79-52-8.netcologne.de] has quit [Read error: Connection reset by peer] 22:25:14 Foras [~chatzilla@74-133-8-110.dhcp.insightbb.com] has joined #scheme 22:25:18 Hi 22:25:30 Hi. 22:25:42 Im new to programming and I was wondering if someone could recommend me an interpreter and tutorial. 22:25:59 Try . 22:26:25 Is racket the same as Scheme? 22:26:32 Yes. 22:26:57 It's a politically correct term for Scheme. 22:26:57 No. Racket is a multilingual programming system that was based on Scheme and implements several Scheme dialects. 22:27:35 *karlw* ducks. 22:27:45 See . 22:27:47 So any old Scheme tutorial will work on Racket? 22:28:20 Watch the SICP lectures. 22:29:20 thehcdreamer [~thehcdrea@host205-5-static.14-79-b.business.telecomitalia.it] has joined #scheme 22:29:34 Hal and Jerry break things down as well as anyone. You can always press pause if it's too fast. 22:30:20 -!- thehcdreamer [~thehcdrea@host205-5-static.14-79-b.business.telecomitalia.it] has quit [Client Quit] 22:30:20 Otherwise, both HTDP and Simply Scheme are good. 22:30:32 SICP lectures? 22:30:33 O_o 22:32:03 http://www.archive.org/details/mit_ocw_sicp 22:32:17 it says thats for LISP 22:32:26 Scheme is a Lisp. 22:32:48 And there are no syntax differences? 22:33:06 I believe Racket has an environment for SICP code. 22:33:27 They call it Lisp since it's the 80's and Common Lisp doesn't exist. 22:34:13 -!- paint [~paint@unaffiliated/paint] has quit [Read error: Operation timed out] 22:34:33 Common Lisp existed then. The standard was not complete until about 1994, but CLtL1 was published in 1984. 22:34:36 http://www.htdp.org/2003-09-26/Companion/drscheme-Z-H-1.html#node_toc_node_chap_0 22:34:37 -rudybot:#scheme- http://tinyurl.com/2bw447x 22:34:41 Will this work just as well? 22:35:01 SICP code runs well in Racket. Just keep in mind that Racket is case sensitive. 22:37:29 I prefer learning via reading 22:38:28 Then I'd recommend Simply Scheme (which has a DrRacket language). 22:39:02 -!- schmir [~schmir@p54A9022F.dip0.t-ipconnect.de] has quit [Ping timeout: 245 seconds] 22:40:05 Alright 22:40:13 I have a good idea as to where I'll go next 22:40:17 Thanks guys 22:40:22 -!- Foras [~chatzilla@74-133-8-110.dhcp.insightbb.com] has left #scheme 22:51:37 paint [~paint@unaffiliated/paint] has joined #scheme 22:53:27 -!- choas [~lars@p5B0DB232.dip.t-dialin.net] has quit [Quit: leaving] 22:58:54 saint_cypher [~saint_cyp@c-76-126-70-224.hsd1.ca.comcast.net] has joined #scheme 23:15:35 MrZen [~dsc@89.211.189.121] has joined #scheme 23:16:59 -!- masm [~masm@bl16-151-229.dsl.telepac.pt] has quit [Quit: Leaving.] 23:49:04 -!- sjamaan [~sjamaan@netbsd/developer/sjamaan] has quit [Ping timeout: 260 seconds] 23:53:11 IJP [~Ian@host86-174-204-139.range86-174.btcentralplus.com] has joined #scheme 23:54:35 angstrom [~anon@unaffiliated/angstrom] has joined #scheme 23:57:38 -!- RageOfThou [~RageOfTho@users-33-252.vinet.ba] has quit [Read error: Connection reset by peer]