00:00:31 -!- vixey [n=vicky@amcant.demon.co.uk] has quit [Client Quit] 00:03:23 -!- rtra [n=rtra@unaffiliated/rtra] has quit [Read error: 145 (Connection timed out)] 00:03:40 -!- rtra_ is now known as rtra 00:08:59 Mr-Cat__ [n=Mr-Cat@bahirkin1507.dialup.corbina.ru] has joined #scheme 00:08:59 -!- Mr-Cat_ [n=Mr-Cat@bahirkin1507.dialup.corbina.ru] has quit [Read error: 104 (Connection reset by peer)] 00:11:43 Khisanth [n=Khisanth@pool-141-157-230-134.ny325.east.verizon.net] has joined #scheme 00:12:39 -!- jak3 [n=cano@c-66-177-236-251.hsd1.fl.comcast.net] has quit [Read error: 110 (Connection timed out)] 00:19:21 -!- Mr-Cat__ [n=Mr-Cat@bahirkin1507.dialup.corbina.ru] has quit [Read error: 104 (Connection reset by peer)] 00:21:35 bombshelter13_ [n=bombshel@209-161-238-145.dsl.look.ca] has joined #scheme 00:25:27 -!- moghar [n=user@unaffiliated/moghar] has left #scheme 00:26:07 -!- bombshelter13_ [n=bombshel@209-161-238-145.dsl.look.ca] has quit [Client Quit] 00:26:27 bombshelter13_ [n=bombshel@209-161-238-145.dsl.look.ca] has joined #scheme 00:26:50 -!- Cale [n=Cale@CPE001c10c70239-CM000e5cdd834a.cpe.net.cable.rogers.com] has quit [Read error: 60 (Operation timed out)] 00:30:41 Cale [n=Cale@CPE001c10c70239-CM000e5cdd834a.cpe.net.cable.rogers.com] has joined #scheme 00:33:07 -!- amoe [n=amoe@cpc1-brig3-0-0-cust512.brig.cable.ntl.com] has quit ["leaving"] 00:37:32 -!- bombshelter13_ [n=bombshel@209-161-238-145.dsl.look.ca] has quit ["Where is the glory in complying with demands?"] 00:37:57 bombshel2er13 [n=bombshel@142.204.133.123] has joined #scheme 00:38:39 -!- bombshel2er13 [n=bombshel@142.204.133.123] has quit [Client Quit] 00:40:27 bombshelter13_ [n=bombshel@209-161-238-145.dsl.look.ca] has joined #scheme 00:40:39 -!- Nshag [i=user@Mix-Orleans-106-2-194.w193-248.abo.wanadoo.fr] has quit [Read error: 104 (Connection reset by peer)] 00:41:15 -!- bombshelter13_ [n=bombshel@209-161-238-145.dsl.look.ca] has quit [Client Quit] 00:42:43 bombshel2er13 [n=bombshel@209-161-238-145.dsl.look.ca] has joined #scheme 00:43:10 -!- bombshel2er13 [n=bombshel@209-161-238-145.dsl.look.ca] has quit [Client Quit] 00:45:37 bombshelter13_ [n=bombshel@209-161-238-145.dsl.look.ca] has joined #scheme 00:45:45 -!- dmoerner [n=dmr@ppp-71-139-45-71.dsl.snfc21.pacbell.net] has quit [Read error: 110 (Connection timed out)] 00:51:57 -!- attila_lendvai [n=ati@catv-89-132-189-132.catv.broadband.hu] has quit [Read error: 110 (Connection timed out)] 01:04:56 Mr-Cat [n=Mr-Cat@bahirkin1507.dialup.corbina.ru] has joined #scheme 01:05:12 -!- name [n=name@sburn/devel/name] has quit ["Lost terminal"] 01:09:38 tizoc` [n=user@r190-135-43-152.dialup.adsl.anteldata.net.uy] has joined #scheme 01:12:12 forcer [n=forcer@e179196019.adsl.alicedsl.de] has joined #scheme 01:13:21 -!- Kusanagi [n=Lernaean@unaffiliated/kusanagi] has quit [Read error: 104 (Connection reset by peer)] 01:13:58 Kusanagi [n=Lernaean@unaffiliated/kusanagi] has joined #scheme 01:14:50 -!- Judofyr [n=Judofyr@95.34.27.156.customer.cdi.no] has quit ["raise Hand, 'wave'"] 01:15:54 Vaeshir [n=zane@c-66-31-28-121.hsd1.ma.comcast.net] has joined #scheme 01:16:43 -!- tizoc [n=user@r190-135-39-3.dialup.adsl.anteldata.net.uy] has quit [Read error: 60 (Operation timed out)] 01:21:39 Poeir [n=Poeir@c-98-222-133-165.hsd1.il.comcast.net] has joined #scheme 01:21:59 -!- Vaeshir [n=zane@c-66-31-28-121.hsd1.ma.comcast.net] has quit [] 01:27:58 X-Scale: "the rest of them are on \"More from user\"" is a pretty ridiculous thing to say. 01:32:15 rudybot: give eli "a lollipop" 01:32:16 eli: mejja has given you a value, use (GRAB) in an eval to get it (case sensitive) 01:46:25 rudybot: eval (GRAB) 01:46:34 rudybot: eval (STEAL) 01:46:34 proq: error: reference to undefined identifier: STEAL 01:46:38 hehe 01:47:40 a lollipop? 01:48:09 rudybot: give proq "a prop" 01:48:09 proq: error: Talk to yourself much too? 01:48:22 rudybot: of course 01:48:22 proq: ? 01:58:11 -!- cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has quit [Read error: 113 (No route to host)] 02:04:08 -!- Arelius changed the topic of #scheme to: rudybot hey 02:04:08 -!- ChanServ changed the topic of #scheme to: (map surf-to '("http://schemers.org/" "http://community.schemewiki.org/" "http://library.readscheme.org/" "http://mitpress.mit.edu/sicp/" "http://swiss.csail.mit.edu/classes/6.001/abelson-sussman-lectures/" "http://www.htdp.org/" "http://www.scheme.com/tspl/")) ; Public logs at 02:04:08 -!- ChanServ has set mode +t-o Arelius 02:04:27 Whoops 02:09:29 rudybot: eval (GRAB) 02:09:30 proq: ; Value: 7 02:09:45 -!- dudrenov [n=user@h-67-101-217-41.snfccasy.covad.net] has quit ["ERC Version 5.2 (IRC client for Emacs)"] 02:12:17 -!- exexex [n=chatzill@85.101.21.41] has quit [Remote closed the connection] 02:23:13 Arelius: classic. 02:23:29 =P 02:29:58 -!- ramkrsna [n=ramkrsna@unaffiliated/ramkrsna] has quit ["Leaving"] 02:34:11 nothingHappens [n=nothingH@12-226-78-3.client.mchsi.com] has joined #scheme 02:41:15 borism_ [n=boris@195-50-201-33-dsl.krw.estpak.ee] has joined #scheme 02:46:19 -!- borism [n=boris@195-50-211-134-dsl.krw.estpak.ee] has quit [Read error: 145 (Connection timed out)] 02:53:04 saccade [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 03:03:08 -!- benny [n=benny@i577A051C.versanet.de] has quit [Read error: 113 (No route to host)] 03:16:55 saccade__ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 03:17:49 mfredrickson [n=mfredric@c-98-212-171-158.hsd1.il.comcast.net] has joined #scheme 03:20:40 -!- gweiqi [n=greg@69.120.126.163] has quit ["Leaving."] 03:21:01 -!- saccade__ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Client Quit] 03:22:15 -!- mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Remote closed the connection] 03:23:21 gweiqi [n=greg@69.120.126.163] has joined #scheme 03:24:34 -!- saccade [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Read error: 110 (Connection timed out)] 03:27:54 newb12345 [n=x@DNab43896b.Stanford.EDU] has joined #scheme 03:27:57 i want to write an webapp in scheme 03:28:01 what's the best existing tool? 03:28:43 paredit 03:29:10 i don't think paredit helps much with things like how do i open web connection, how do i talk to a db, etc ... 03:32:29 newb12345: I've heard good things about "LeftParen" 03:33:06 Nah, he never finished what he starts. Look to "RightParen" if you really want to get work done. 03:34:45 -!- decoder_ring [n=adam@c-68-40-195-220.hsd1.mi.comcast.net] has quit [] 03:36:14 using just one or the other does feel somehow ... unbalanced 03:36:32 it'd be like me recommending "yin". 03:36:53 newb12345: Seriously, there are many web frameworks for Scheme. 03:37:02 there's ruby on rails 03:37:03 Which implementation are you using? 03:37:08 is there an equiv like scheme on shit? 03:37:12 i'm using gambit scheme 03:37:44 Oh... then I'm not sure what your options are. I think all of the frameworks are implementation specific. 03:37:55 can you name some of them? 03:37:59 i may be willing to switch implementations 03:38:03 "scheme on crack" 03:38:12 PLT has their servlets framework. 03:38:21 newb12345: check out http://hop.inria.fr 03:38:27 based on bigloo 03:38:29 scheme on salad 03:38:29 scheme on crack doesn't bring me much 03:38:32 Yes, Hop is really nice. 03:38:35 the hop.inria.fr one is pretty cool 03:38:37 Chicken has the spiffy webserver and a whole bunch of other extensions. 03:38:37 _very_ ambitious, also seems to actually work, which is kinda impressive. 03:39:11 scheme on squid 03:39:17 Gauche has kahua, a continuation-based webserver, as well as lots of builtin modules for cgi scripting. 03:39:19 y'know, like in a sushi place. 03:39:21 -!- Dark-Star [i=Darkstar@p57B55FD0.dip.t-dialin.net] has quit [Read error: 60 (Operation timed out)] 03:40:38 Dark-Star [i=Darkstar@p57B57BD4.dip.t-dialin.net] has joined #scheme 03:43:39 annodomini [n=lambda@63.138.215.190] has joined #scheme 03:52:59 tizoc [n=user@r190-135-10-94.dialup.adsl.anteldata.net.uy] has joined #scheme 03:58:19 offby1` [n=user@q-static-138-125.avvanta.com] has joined #scheme 04:00:02 rudybot_ [n=luser@q-static-138-125.avvanta.com] has joined #scheme 04:01:34 -!- rdd [n=rdd@c83-250-154-52.bredband.comhem.se] has quit [Read error: 104 (Connection reset by peer)] 04:01:53 rdd [n=rdd@c83-250-154-52.bredband.comhem.se] has joined #scheme 04:02:12 -!- tizoc` [n=user@r190-135-43-152.dialup.adsl.anteldata.net.uy] has quit [Read error: 110 (Connection timed out)] 04:02:44 -!- offby1 [n=user@q-static-138-125.avvanta.com] has quit [Nick collision from services.] 04:02:49 -!- offby1` is now known as offby1 04:04:23 -!- melito [n=melito@70.99.250.82] has quit ["Leaving..."] 04:05:48 tizoc` [n=user@r190-135-4-225.dialup.adsl.anteldata.net.uy] has joined #scheme 04:09:29 scheme on prozac 04:13:03 -!- offby1-quassel [n=quassel@q-static-138-125.avvanta.com] has quit [No route to host] 04:13:33 offby1-quassel [n=quassel@q-static-138-125.avvanta.com] has joined #scheme 04:14:30 -!- rudybot [n=luser@q-static-138-125.avvanta.com] has quit [Read error: 110 (Connection timed out)] 04:16:16 -!- tizoc [n=user@r190-135-10-94.dialup.adsl.anteldata.net.uy] has quit [Read error: 110 (Connection timed out)] 04:18:45 -!- forcer [n=forcer@e179196019.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 04:21:23 dmoerner [n=dmr@ppp-71-139-45-71.dsl.snfc21.pacbell.net] has joined #scheme 04:21:26 -!- athos [n=philipp@92.250.204.223] has quit [Remote closed the connection] 04:26:51 -!- dmoerner [n=dmr@ppp-71-139-45-71.dsl.snfc21.pacbell.net] has quit ["leaving"] 04:27:02 dmoerner [n=dmr@ppp-71-139-45-71.dsl.snfc21.pacbell.net] has joined #scheme 04:30:24 scheme on the skids 04:32:20 Scheme on rye 04:34:09 scheme on skis has been proposed 04:34:17 as has chicken on wings :) 04:35:40 Should be chicken en croute. 04:36:45 Not that I have any idea what a web framework is or might be or oughta be... I'll bow out now. 04:43:01 -!- gweiqi [n=greg@69.120.126.163] has left #scheme 04:47:09 -!- X-Scale [i=email@89-180-72-88.net.novis.pt] has left #scheme 04:48:49 saccade [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 04:50:10 -!- newb12345 [n=x@DNab43896b.Stanford.EDU] has quit [Read error: 110 (Connection timed out)] 04:51:50 "Rails" is a fools quest. 04:52:40 Rails is popular because it makes all the decisions for you. This appeals to people who don't know what they're doing, and lets lots of poor and mediocre programmers put together mediocre web apps quickly. 04:52:40 -!- saccade [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Client Quit] 04:53:31 No good programmer wants those decisions made for him - at least in a fixed, unchangeable way. 04:53:44 arcfide [n=arcfide@h-69-3-101-94.chcgilgm.dynamic.covad.net] has joined #scheme 04:53:59 -!- meanburrito920_ [n=John@adsl-76-236-79-250.dsl.lsan03.sbcglobal.net] has quit ["has been attacked by a grue"] 04:53:59 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 04:54:01 Good evening #scheme. 04:54:17 Good evening. 04:54:28 arcfide: is that prescriptive or proscriptive? 04:57:38 Good Eeeevening. 04:57:59 arcfide: I wanted to ask yesterday -- it looks like you're basically making a form that evaluates at the syntax level, no? 04:58:28 eli: yes. 04:58:33 yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has joined #scheme 04:58:34 arcfide: you seem to be writing a suicide note! 04:58:39 Actually, I am not, someone else wants this, and I wanted to find a better way to do it. 04:58:59 arcfide: So, why the `meta-let*', why not a single expression? 04:59:00 Suicide form? 04:59:35 Something that will allow you to expand `meta-let*' into (let ([x (meta ...)] [y (meta ...)]) ...) 04:59:51 eli: I don't understand the full extent of it, and I have not read all of his code, but supposedly there are a set of procedures that he uses to get this stuff, and some of the latter calls depend on results already obtained by the former. 05:00:09 eli: He wants the form to be splicing. 05:00:25 But that's unrelated, still. 05:00:40 -!- mr-slave [n=luser@winooski.ccs.neu.edu] has quit [Remote closed the connection] 05:00:57 -!- dmoerner [n=dmr@ppp-71-139-45-71.dsl.snfc21.pacbell.net] has quit ["leaving"] 05:00:57 But, yes, that is effectively what this is doing, except with LET* semantics, and splicing. 05:01:09 mr-slave [n=luser@winooski.ccs.neu.edu] has joined #scheme 05:01:28 But what's the point of lumping it all together like that? 05:01:49 ...when you can solve each part, in a way that can combine. 05:02:23 I have been arguing with him about that, and he has thus far insisted that it's the most natural way of expressing it, and that if he was just doing this normally, he would have used a LET* in place of the META-LET* and then just SET! the results to the right names. 05:02:43 Huh? 05:02:49 mr-slave: eval (define-syntax-rule (meta expr) (let-syntax ([id (lambda (stx) #`(quote #,(datum->syntax #'here expr)))]) id)) 05:02:57 He has indicated that he could solve the problem with something like a series of (DEFINE-VALUES (A B C) (META (PRODUCER))). 05:03:06 mr-slave: eval (define-syntax-rule (meta-let ([x val] ...) body ...) (let ([x (meta val)] ...) body ...)) 05:04:10 dmoerner [n=dmr@ppp-71-139-45-71.dsl.snfc21.pacbell.net] has joined #scheme 05:04:12 Yes, except that it needs to be a splicing form. 05:04:14 mr-slave: eval (define-syntax meta-let* (syntax-rules () [(meta-let* ([x val] [x1 val1]...) body ...) (meta-let ([x val]) (meta-let* ([x1 (meta val1)] ...) body ...))] [(meta-let* () body ...) (let () body ...)])) 05:05:02 That's still unrelated. 05:05:09 eli: What do you mean? 05:05:19 It's still a separate problem. 05:05:22 The META-LET* doesn't do what he wants. 05:05:40 Sorry, that META-LET*. 05:06:02 dakeyras [n=dakeyras@pool-98-117-125-63.sttlwa.fios.verizon.net] has joined #scheme 05:06:03 What doesn't it do? 05:06:22 -!- dakeyras [n=dakeyras@pool-98-117-125-63.sttlwa.fios.verizon.net] has quit [Client Quit] 05:06:26 dakeyras [n=dakeyras@pool-98-117-125-63.sttlwa.fios.verizon.net] has joined #scheme 05:06:39 (META-LET* () B1 B2 ...) => (BEGIN B1 B2 ...). 05:07:02 Splice. 05:07:11 eli: He uses this form to introduce bindings in place, yes. 05:07:18 OK, that's my cue: 05:07:23 *eli* rolls his eyes. 05:07:43 Heheh. 05:07:52 I'm not sure I understand your point. 05:08:29 Are you arguing that this is a bad idea from an usage point of view? If so, I agree with you, but the question I posed yesterday was about a cleanly written or described version that was still effecient. 05:08:37 The "splicing" aspect of this is boringly irrelevant. The problems are still unrelated, and should be solved separately. 05:08:50 eli: How would you suggest he should solve the issue then? 05:09:05 It's not hard to do any of these problems in isolation, and even combining them isn't hard. 05:09:23 Yes, you made my point, hence my eye-roll. 05:09:29 I gave a variety of other solutions to him, such as DEFINE-VALUES and META. 05:09:41 It was aimed at that guy, not at you. 05:09:50 That's a separate argument that only he can make, because I frankly don't quite understand why he's doing it either. 05:10:05 But, he has created a macro that runs significantly faster than the one I made. 05:10:08 That's why I'm confused. 05:10:09 :-) 05:10:29 I would like to make it faster, and still not make my eyes bleed when I read it. 05:10:47 In any case, modulo speed curiosities that might interest you, I suggest a roll or two too. 05:11:03 roll? 05:11:10 mr-slave: chant for offby1 05:11:11 minion: chant for offby1 05:11:11 offby1: MORE SLOT 05:12:03 Of course, he'll be publishing his code pretty soon, so we can all tear it to pieces, but my criticisms of this part of the code has prompted him to ask me to give him a better version of the macro. ;-) 05:13:09 arcfide: Well, I thought there was something interesting there inintially. 05:13:13 saccade [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 05:13:24 eli: *shrug* Yeah.... 05:13:26 *offby1* does a little dance 05:13:56 *eli* throws some quarters at offby1 05:14:38 eli: Sorry to get your hopes up. It's a simple problem, once you get the quoting issues handled, and it is interesting a bit in revealing things about the way syntaxes work with primitives syntax and the like in Ikarus and such. 05:15:33 My first version, which didn't have the appropriate syntax wrapping worked in Chez because Chez allows macros to return essentially arbitrary objects, without needing them to be properly quoted and wrapped, whereas Ikarus does not provide this, and that was a little enlightening to me. 05:15:43 arcfide: Yeah, I realize that. FWIW, the `at-syntax' thing that I pointed you at is doing something more interesting. 05:15:56 I though there was a stronger connection. 05:16:48 Hehe, it was an interesting read, regardless.. 05:18:57 -!- saccade [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit ["This computer has gone to sleep"] 05:22:17 -!- banister` [n=john@203-97-217-154.cable.telstraclear.net] has quit [Remote closed the connection] 05:22:51 -!- dmoerner [n=dmr@ppp-71-139-45-71.dsl.snfc21.pacbell.net] has quit ["leaving"] 05:26:25 -!- tizoc` [n=user@r190-135-4-225.dialup.adsl.anteldata.net.uy] has quit [Read error: 104 (Connection reset by peer)] 05:27:44 -!- tjafk2 [n=timj@e176200241.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 05:27:50 tjafk1 [n=timj@e176216032.adsl.alicedsl.de] has joined #scheme 05:28:41 MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has joined #scheme 05:29:02 -!- nothingHappens [n=nothingH@12-226-78-3.client.mchsi.com] has quit [Read error: 110 (Connection timed out)] 05:33:18 tizoc [n=user@r190-135-27-40.dialup.adsl.anteldata.net.uy] has joined #scheme 05:37:04 dmoerner [n=dmr@ppp-71-139-45-71.dsl.snfc21.pacbell.net] has joined #scheme 05:38:07 -!- synthase [n=synthase@c-69-243-234-165.hsd1.al.comcast.net] has quit [Read error: 110 (Connection timed out)] 05:38:42 -!- jonrafkind [n=jon@crystalis.cs.utah.edu] has quit [Read error: 113 (No route to host)] 05:48:59 -!- geckosen1tor [n=sean@adsl-68-73-98-69.dsl.dytnoh.sbcglobal.net] has quit [Read error: 104 (Connection reset by peer)] 05:51:06 -!- gcopenhaver [n=greg@c-71-206-116-36.hsd1.mi.comcast.net] has quit ["Leaving."] 05:54:22 kraant [n=kraant@CPE-58-161-128-2.nsw.bigpond.net.au] has joined #scheme 05:57:59 -!- tr3 [n=tr3@host28-43-dynamic.183-80-r.retail.telecomitalia.it] has quit [Remote closed the connection] 06:05:00 navaburo [n=navaburo@ool-4351b643.dyn.optonline.net] has joined #scheme 06:05:21 How can I invoke a bash script from a scheme program? 06:05:25 jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has joined #scheme 06:05:37 (like the C shell function) 06:06:04 -!- mfredrickson [n=mfredric@c-98-212-171-158.hsd1.il.comcast.net] has quit [] 06:07:11 mfredrickson [n=mfredric@c-98-212-171-158.hsd1.il.comcast.net] has joined #scheme 06:07:39 -!- dmoerner [n=dmr@ppp-71-139-45-71.dsl.snfc21.pacbell.net] has quit ["leaving"] 06:09:31 GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has joined #scheme 06:09:39 -!- GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has quit [Client Quit] 06:09:58 navaburo: it depends on your implementation, but usually they have something like SYSTEM which allows you to run some shell command. 06:10:11 rudybot_: doc system 06:10:12 Daemmerung: no docs for a current binding, but provided by: scheme/system 06:10:57 Well, that was useless. Anyway, for PLT, http://docs.plt-scheme.org/reference/subprocess.html#(def._((lib._scheme/system..ss)._system)) 06:11:50 thanks 06:13:48 -!- arcfide [n=arcfide@h-69-3-101-94.chcgilgm.dynamic.covad.net] has quit ["Sleep"] 06:13:52 dmoerner [n=dmr@ppp-71-139-45-71.dsl.snfc21.pacbell.net] has joined #scheme 06:21:03 -!- csaunders [n=chris@ip216-239-86-17.vif.net] has quit [Remote closed the connection] 06:28:49 -!- yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has quit [Read error: 110 (Connection timed out)] 06:29:17 tessier__ [n=treed@wsip-68-15-4-27.sd.sd.cox.net] has joined #scheme 06:29:32 -!- tessier [n=treed@mail.copilotconsulting.com] has quit ["leaving"] 06:31:19 -!- MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has quit [Read error: 113 (No route to host)] 06:40:20 silentOpen [n=dsheets@SENIOR-ONE-SIXTY-EIGHT.MIT.EDU] has joined #scheme 06:45:13 -!- dakeyras [n=dakeyras@pool-98-117-125-63.sttlwa.fios.verizon.net] has quit [] 06:47:59 yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has joined #scheme 06:51:14 -!- dmoerner [n=dmr@ppp-71-139-45-71.dsl.snfc21.pacbell.net] has quit ["Lost terminal"] 06:55:09 tizoc` [n=user@r190-135-3-7.dialup.adsl.anteldata.net.uy] has joined #scheme 07:02:57 -!- yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has quit ["Leaving..."] 07:06:01 -!- tizoc [n=user@r190-135-27-40.dialup.adsl.anteldata.net.uy] has quit [Read error: 110 (Connection timed out)] 07:39:25 -!- navaburo [n=navaburo@ool-4351b643.dyn.optonline.net] has quit [Read error: 110 (Connection timed out)] 07:58:50 ejs [n=eugen@94-248-24-64.dynamic.peoplenet.ua] has joined #scheme 08:04:06 benny [n=benny@i577A0C45.versanet.de] has joined #scheme 08:15:19 jah [n=jah@126.56.76-86.rev.gaoland.net] has joined #scheme 08:15:20 HG` [n=wells@118.82.169.165] has joined #scheme 08:23:14 newb12345 [n=x@DNab434ded.Stanford.EDU] has joined #scheme 08:38:28 -!- newb12345 [n=x@DNab434ded.Stanford.EDU] has left #scheme 08:47:32 -!- ejs [n=eugen@94-248-24-64.dynamic.peoplenet.ua] has quit [Read error: 104 (Connection reset by peer)] 08:50:53 attila_lendvai [n=ati@catv-89-132-189-132.catv.broadband.hu] has joined #scheme 08:53:21 -!- attila_lendvai [n=ati@catv-89-132-189-132.catv.broadband.hu] has quit [Remote closed the connection] 09:13:28 ejs [n=eugen@94-248-24-64.dynamic.peoplenet.ua] has joined #scheme 09:14:29 -!- bombshelter13_ [n=bombshel@209-161-238-145.dsl.look.ca] has quit [] 09:17:58 -!- HG` [n=wells@118.82.169.165] has quit ["Leaving."] 09:51:33 -!- jah [n=jah@126.56.76-86.rev.gaoland.net] has quit ["Quitte"] 09:56:37 raikov [n=igr@81.153.145.122.ap.yournet.ne.jp] has joined #scheme 10:06:48 lolcow [n=lolcow@196-210-146-133-ndn-esr-3.dynamic.isadsl.co.za] has joined #scheme 10:08:10 -!- leppie [n=lolcow@196.210.162.53] has quit [Read error: 60 (Operation timed out)] 10:10:21 hotblack23 [n=jh@p5B05391D.dip.t-dialin.net] has joined #scheme 10:14:35 -!- bhz- [n=rack@cpe-065-190-059-116.triad.res.rr.com] has quit [Read error: 104 (Connection reset by peer)] 10:15:29 -!- Dark-Star [i=Darkstar@p57B57BD4.dip.t-dialin.net] has quit [] 10:22:26 bhz- [n=rack@cpe-065-190-059-116.triad.res.rr.com] has joined #scheme 10:44:56 Ragnaroek [i=54a6605e@gateway/web/ajax/mibbit.com/x-88114b89c22b0ab7] has joined #scheme 10:46:18 -!- Ragnaroek is now known as setf 10:48:39 -!- setf [i=54a6605e@gateway/web/ajax/mibbit.com/x-88114b89c22b0ab7] has quit [Client Quit] 10:48:49 Ragnaroek [i=54a6605e@gateway/web/ajax/mibbit.com/x-a701bc7cb4941f3f] has joined #scheme 10:49:02 Oh good, we don't want his kind around here >:| 10:50:54 -!- Ragnaroek is now known as setf 11:01:17 -!- hotblack23 [n=jh@p5B05391D.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 11:06:48 -!- alaricsp [n=alaricsp@217.205.201.45] has quit [] 11:07:07 barney [n=bernhard@p549A3819.dip0.t-ipconnect.de] has joined #scheme 11:09:17 cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has joined #scheme 11:14:53 -!- rdd [n=rdd@c83-250-154-52.bredband.comhem.se] has quit [Connection reset by peer] 11:15:10 rdd [n=rdd@c83-250-154-52.bredband.comhem.se] has joined #scheme 11:17:24 dlurf [n=no@80.251.192.3] has joined #scheme 11:20:40 luz [n=davids@201.29.226.246] has joined #scheme 11:21:09 -!- ejs [n=eugen@94-248-24-64.dynamic.peoplenet.ua] has quit [Read error: 104 (Connection reset by peer)] 11:24:38 -!- hemulen [n=hemulen@cpe-069-134-114-252.nc.res.rr.com] has quit [] 11:29:16 -!- rdd [n=rdd@c83-250-154-52.bredband.comhem.se] has quit [] 11:29:41 rdd [n=rdd@c83-250-154-52.bredband.comhem.se] has joined #scheme 11:34:13 -!- aquanaut [n=user@static-141-157-25-210.balt.east.verizon.net] has quit [Read error: 110 (Connection timed out)] 11:34:45 -!- Arelius [n=Indy@netblock-68-183-230-134.dslextreme.com] has quit [] 11:35:04 -!- bhz- [n=rack@cpe-065-190-059-116.triad.res.rr.com] has quit [] 11:37:51 athos [n=philipp@92.250.204.223] has joined #scheme 11:49:55 ecraven [n=nex@140.78.42.103] has joined #scheme 12:06:47 name [n=name@sburn/devel/name] has joined #scheme 12:06:47 -!- barney [n=bernhard@p549A3819.dip0.t-ipconnect.de] has quit [Read error: 104 (Connection reset by peer)] 12:07:28 alaricsp [n=alaricsp@217.205.201.45] has joined #scheme 12:07:55 barney [n=bernhard@p549A3819.dip0.t-ipconnect.de] has joined #scheme 12:09:16 Is it possible to define a macro with syntax-rules or syntax-case - it does not matter, that will expand in multiple forms - no a single one? In other words, I need some kind of splicing... 12:10:37 MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has joined #scheme 12:10:43 I.e. (m x) becomes (f1 x)(f2 x) 12:13:28 expanding to (begin (f1 x) (f2 x)) is as splicing as it gets with syntax-rules 12:15:05 it allows to expand to multiple definitions, but you can't expand (- (m x) 1) to (- (f1 x) (f2 x) 1) 12:16:18 pldzkl: Mmm, this seems to be what I exactly need... Am I right that scheme splices toplevel begins? 12:16:22 thanks 12:18:23 tizoc [n=user@r190-135-1-97.dialup.adsl.anteldata.net.uy] has joined #scheme 12:18:28 Now I'm just curious, is there a way to implement the latter thing: to expand (- (m x) 1) to (- (f1 x) (f2 x) 1)? 12:19:27 Or should `-' be defined as a macro in this case? 12:20:14 Mr-Cat: expand into (begin form0 form1 ...) 12:21:11 If you want the latter, expand to (- (+ (f1 x) (f2 x)) 1) 12:21:33 foof: The latter case was just an example 12:22:11 So the question should be read like this: (g (m x) 1) -> (g (f1 x) (f2 x) 1) 12:22:43 -!- athos [n=philipp@92.250.204.223] has quit ["Lost terminal"] 12:23:17 But that is not what I need, here I'm just curious. (begin form1 form2 ...) should be enough for me 12:23:30 And I claim that you would never want that, so which example you use is relevant. 12:24:44 athos [n=philipp@92.250.204.223] has joined #scheme 12:25:25 -!- tizoc` [n=user@r190-135-3-7.dialup.adsl.anteldata.net.uy] has quit [Read error: 110 (Connection timed out)] 12:26:37 davids [n=davids@201.29.226.246] has joined #scheme 12:27:29 -!- luz [n=davids@201.29.226.246] has quit [Read error: 110 (Connection timed out)] 12:28:15 tizoc` [n=user@r190-135-40-207.dialup.adsl.anteldata.net.uy] has joined #scheme 12:29:54 -!- raikov [n=igr@81.153.145.122.ap.yournet.ne.jp] has quit [Read error: 60 (Operation timed out)] 12:36:30 -!- tizoc [n=user@r190-135-1-97.dialup.adsl.anteldata.net.uy] has quit [Read error: 110 (Connection timed out)] 12:59:47 nan8 [n=user@dslb-088-067-025-121.pools.arcor-ip.net] has joined #scheme 13:01:26 whats the "standard name" of this: (define (cons-map count f) (if (<= count 0) '() (cons (f) (cons-map (- count 1) f)))) ;; [ i thought about using fold - but that would require to create a useless number sequence - maybe stream-fold - but i guess i am missing something obvious] ? 13:01:45 vixey [n=vicky@amcant.demon.co.uk] has joined #scheme 13:05:29 higepon890 [n=taro@FL1-122-133-100-227.tky.mesh.ad.jp] has joined #scheme 13:06:01 nan8: You don't want (cons (f count) ...) ? 13:07:29 foof: no 13:08:14 voidpointer [n=voidpoin@unaffiliated/voidpointer] has joined #scheme 13:08:18 foof: (though sometimes that is nice, too) 13:08:49 -!- Mr-Cat [n=Mr-Cat@bahirkin1507.dialup.corbina.ru] has quit [Read error: 54 (Connection reset by peer)] 13:09:04 that would just be (map f (iota n)) 13:09:23 as it is you have (map (lambda (_) (f)) (iota n)) 13:10:00 but iota will create the list (assume count is huge)? 13:10:12 So use foof-loop :) 13:10:29 foof-loop? 13:11:20 minion: foof-loop? 13:11:21 foof-loop: Taylor R. Campbell's extensible looping macros, at , documented at 13:11:30 http://chicken.wiki.br/foof-loop 13:11:31 ah 13:11:36 ;-) 13:18:29 chaoslynx [n=cpehle@p57A762ED.dip.t-dialin.net] has joined #scheme 13:20:56 hmmm - but isn't there already a standard procedure equivalent to the "cons-map" above - or any suggestions for a better name? 13:21:15 CON-SMAP 13:21:21 (do ((i 0 (+ i 1)) (r '() (cons (f) r))) ((= i n) r)) 13:22:00 And no, there's no standard name. What you're saying is "make (f)'s." 13:22:10 There's make-list, but all elements are eq?. 13:23:16 hmm - maybe make-list-f ? 13:23:37 not a nice name either 13:24:32 hotblack23 [n=jh@p5B054074.dip.t-dialin.net] has joined #scheme 13:24:36 The closest would be list-tabulate, analogous to SRFI-43's vector-tabulate. 13:24:48 (vector->list (vector-tabulate f count)) 13:25:51 ah! list-tabulate is in srfi-1 ? 13:26:28 But it's still not what you want, it calls (f i). 13:26:53 foof: but it quite close (i can just ignore the argument ;-) - thanks! 13:27:06 ~s/it quite/it is quite/ 13:28:47 but now i am not sure wether there is any guarantee on order of operation 13:30:39 Mr-Cat [n=Mr-Cat@bahirkin1507.dialup.corbina.ru] has joined #scheme 13:33:40 "No guarantee is made about the dynamic order in which init-proc is applied to these indices." 13:33:58 ;-( 13:34:09 ? 13:34:22 If you're not even using the indices, why do you care? 13:34:52 foof: well, sometimes order matters 13:35:13 foof: example: (list-tabulate 10 (read-line)) 13:35:15 The only time I ever want something like what you're describing is when I want n random foo's. 13:36:01 That's broken to begin with. In that case you want a special read utility that can handle EOF. 13:36:21 -!- araujo [n=araujo@gentoo/developer/araujo] has quit ["Leaving"] 13:37:04 foof: just an example (EOF could be handled in some different way ...) 13:43:25 -!- tizoc` is now known as tizoc 13:51:48 gorki [n=chatzill@p54A7C809.dip.t-dialin.net] has joined #scheme 13:54:31 -!- chaoslynx [n=cpehle@p57A762ED.dip.t-dialin.net] has quit [Client Quit] 13:57:12 -!- kraant [n=kraant@CPE-58-161-128-2.nsw.bigpond.net.au] has quit [Read error: 110 (Connection timed out)] 13:57:52 tizoc` [n=user@r190-135-0-79.dialup.adsl.anteldata.net.uy] has joined #scheme 14:09:00 -!- tizoc [n=user@r190-135-40-207.dialup.adsl.anteldata.net.uy] has quit [Read error: 110 (Connection timed out)] 14:12:52 mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 14:17:10 orgy` [n=ratm_@pD9FFF752.dip.t-dialin.net] has joined #scheme 14:17:57 GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has joined #scheme 14:18:07 -!- GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has quit [Client Quit] 14:26:51 Nshag [i=user@Mix-Orleans-105-3-196.w193-250.abo.wanadoo.fr] has joined #scheme 14:33:03 -!- hark [n=strider@hark.slew.org] has quit [Read error: 113 (No route to host)] 14:34:29 ejs [n=eugen@94-248-58-174.dynamic.peoplenet.ua] has joined #scheme 14:37:17 __name__ [n=name@sburn/devel/name] has joined #scheme 14:37:41 -!- name [n=name@sburn/devel/name] has quit [Nick collision from services.] 14:37:46 -!- __name__ is now known as name 14:50:42 hark [n=strider@hark.slew.org] has joined #scheme 14:51:42 moghar [n=user@unaffiliated/moghar] has joined #scheme 14:51:59 forcer [n=forcer@e177142220.adsl.alicedsl.de] has joined #scheme 14:53:44 -!- davids [n=davids@201.29.226.246] has quit [Read error: 60 (Operation timed out)] 14:53:59 gweiqi [n=greg@69.120.126.163] has joined #scheme 14:55:55 -!- tizoc` is now known as tizoc 15:03:55 davids [n=davids@201008007068.user.veloxzone.com.br] has joined #scheme 15:04:06 Dawgmatix [n=deepanka@207-237-30-94.c3-0.avec-ubr11.nyr-avec.ny.cable.rcn.com] has joined #scheme 15:17:21 -!- tizoc is now known as metafoca 15:17:52 -!- metafoca is now known as tizoc 15:21:38 -!- name [n=name@sburn/devel/name] has quit ["Lost terminal"] 15:23:23 GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has joined #scheme 15:23:33 -!- GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has quit [Client Quit] 15:29:48 xwl [n=user@221.221.157.195] has joined #scheme 15:32:51 -!- Mr-Cat [n=Mr-Cat@bahirkin1507.dialup.corbina.ru] has quit [Remote closed the connection] 15:35:20 X-Scale [i=email@89.180.98.138] has joined #scheme 15:36:38 dakeyras [n=dakeyras@pool-98-117-125-63.sttlwa.fios.verizon.net] has joined #scheme 16:02:36 npe [n=npe@66.112.249.71] has joined #scheme 16:07:11 synthase [n=synthase@c-69-243-234-165.hsd1.al.comcast.net] has joined #scheme 16:11:36 -!- xwl [n=user@221.221.157.195] has quit [Remote closed the connection] 16:16:54 -!- rdd [n=rdd@c83-250-154-52.bredband.comhem.se] has quit [Read error: 54 (Connection reset by peer)] 16:17:14 rdd [n=rdd@c83-250-154-52.bredband.comhem.se] has joined #scheme 16:21:59 -!- higepon890 [n=taro@FL1-122-133-100-227.tky.mesh.ad.jp] has quit [Read error: 113 (No route to host)] 16:22:47 slhsen [n=user@85.103.197.129] has joined #scheme 16:25:12 ken-p [n=unknown@84.92.70.37] has joined #scheme 16:34:40 anybody using gauche-c-wrapper and can tell me how to do pointer arithmetic? 16:46:54 -!- slhsen [n=user@85.103.197.129] has quit [Remote closed the connection] 16:59:47 -!- dlurf [n=no@80.251.192.3] has quit [Read error: 54 (Connection reset by peer)] 17:00:10 dlurf [n=no@80.251.192.3] has joined #scheme 17:11:30 nan8: haven't used it extensively... 17:16:37 -!- ecraven [n=nex@140.78.42.103] has quit ["bbl"] 17:20:58 -!- ejs [n=eugen@94-248-58-174.dynamic.peoplenet.ua] has quit ["Leaving"] 17:23:38 drdo [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 17:29:31 Anyone know where I can find a define-syntax for define? 17:30:32 I'm not sure how to handle syntax-rules that take multiple expressions... 17:31:29 synx, ... 17:32:16 e.g. ((define (name arg ...) body ...) (define name (lambda (arg ...) body ...))) 17:32:36 sorry I don't normally use that junk, but I need to make my own form of catch for this woefully inadequate (or undocumented) scheme variety. 17:33:17 Does syntax-rules really know what the ellipses mean? o.O 17:33:42 synx, what are you referring to as 'junk'? 17:34:02 synx, no syntax-rules doesn't understand ..., the example I gave is complete nonsense designed to confuse you 17:34:16 syntax manipulation. 17:34:18 smartass :) 17:34:26 You can not look up 17:34:29 r5rs syntax-rules 17:34:29 http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-7.html#%_idx_184 17:34:30 -mr-slave:#scheme- http://tinyurl.com/6bo7mk 17:34:31 -rudybot_:#scheme- http://tinyurl.com/6bo7mk 17:34:36 to find a complete, unambiguous specification 17:34:46 How many bots does a channel need? 17:35:05 sjamaan, more 17:37:58 exexex [n=chatzill@85.96.47.148] has joined #scheme 17:38:45 Mr-Cat [n=Mr-Cat@78-106-72-40.broadband.corbina.ru] has joined #scheme 17:39:57 bots 17:41:15 vixey: I just thought you weren't producing something that syntax rules could literally understand. 17:41:42 well don't check the R5RS link to see for sure 17:42:33 It's hard to talk about syntax, because your own words have a syntax, and telling if you mean "fill in the ..." or "literally ..." is difficult. 17:42:35 I thought the r5rs was giving hints as to where to fill stuff in. ^.^; 17:43:06 17:43:08 refers to 17:43:09 ... 17:43:23 in the spec. when they write a literal ..., that's metasyntax 17:43:39 so you are right about it giving hints what to fill in 17:43:48 but is also a valid term 17:44:31 examples here are actual scheme code, http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-10.html#%_sec_7.3 17:44:32 -mr-slave:#scheme- http://tinyurl.com/424d9o 17:44:33 -rudybot_:#scheme- http://tinyurl.com/424d9o 17:45:39 awk, crap 17:45:48 this scheme doesn't define syntax-rules at all, only define-macro >_< 17:46:04 why are you dealing with this horrible implementation? 17:47:07 dmoerner [n=dmr@ppp-71-139-45-71.dsl.snfc21.pacbell.net] has joined #scheme 17:48:14 I want to load a bunch of gimp xcf files, mess with them and save images. 17:48:30 oh so you are stuck with guile 17:48:49 I thought I read tha guile implemented R5RS 17:52:53 drdo` [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 17:52:54 levi` [n=user@levi.dsl.xmission.com] has joined #scheme 17:52:56 offby1` [n=user@q-static-138-125.avvanta.com] has joined #scheme 17:53:31 -!- drdo` [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Remote closed the connection] 17:53:43 I'm pretty sure guile has syntax-rules... 17:53:50 Judofyr [n=Judofyr@c809ABF51.dhcp.bluecom.no] has joined #scheme 17:54:15 -!- tessier__ [n=treed@wsip-68-15-4-27.sd.sd.cox.net] has quit [clarke.freenode.net irc.freenode.net] 17:54:15 -!- rudybot_ [n=luser@q-static-138-125.avvanta.com] has quit [clarke.freenode.net irc.freenode.net] 17:54:15 -!- offby1 [n=user@q-static-138-125.avvanta.com] has quit [clarke.freenode.net irc.freenode.net] 17:54:15 -!- borism_ [n=boris@195-50-201-33-dsl.krw.estpak.ee] has quit [clarke.freenode.net irc.freenode.net] 17:54:15 -!- Poeir [n=Poeir@c-98-222-133-165.hsd1.il.comcast.net] has quit [clarke.freenode.net irc.freenode.net] 17:54:15 -!- rtra [n=rtra@unaffiliated/rtra] has quit [clarke.freenode.net irc.freenode.net] 17:54:16 -!- levi [n=user@levi.dsl.xmission.com] has quit [clarke.freenode.net irc.freenode.net] 17:54:16 -!- pizza_ [n=pizza@poipu/supporter/pizza-milkshake] has quit [clarke.freenode.net irc.freenode.net] 17:54:16 -!- sad0ur [n=sad0ur@psi.cz] has quit [clarke.freenode.net irc.freenode.net] 17:54:16 -!- Adrinael [i=adrinael@rid7.kyla.fi] has quit [clarke.freenode.net irc.freenode.net] 17:54:16 -!- z0d [n=z0d@unaffiliated/z0d] has quit [clarke.freenode.net irc.freenode.net] 17:54:16 -!- sladegen [n=nemo@unaffiliated/sladegen] has quit [clarke.freenode.net irc.freenode.net] 17:54:16 -!- elias` [n=me@unaffiliated/elias/x-342423] has quit [clarke.freenode.net irc.freenode.net] 17:54:57 rudybot_ [n=luser@q-static-138-125.avvanta.com] has joined #scheme 17:55:34 gimp's script-fu doesn't even have documentation though. It's in something called "tinyscheme" which only has some general information on "how to use scheme" as documentation 17:56:08 Adrinael [n=adrinael@barrel.rolli.org] has joined #scheme 17:56:16 z0d [n=z0d@unaffiliated/z0d] has joined #scheme 17:56:29 sad0ur [n=sad0ur@psi.cz] has joined #scheme 17:58:54 Poeir [n=Poeir@c-98-222-133-165.hsd1.il.comcast.net] has joined #scheme 17:59:03 tessier__ [n=treed@wsip-68-15-4-27.sd.sd.cox.net] has joined #scheme 17:59:39 pizza_ [n=pizza@66.152.246.202] has joined #scheme 18:00:17 elias` [n=me@unaffiliated/elias/x-342423] has joined #scheme 18:02:58 -!- alaricsp [n=alaricsp@217.205.201.45] has quit [] 18:03:30 drdo` [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 18:08:05 drdo`` [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 18:08:10 -!- drdo [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Connection timed out] 18:08:18 rtra [n=rtra@89-180-52-205.net.novis.pt] has joined #scheme 18:08:25 ecraven [n=nex@140.78.42.103] has joined #scheme 18:11:18 drdo``` [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 18:12:24 borism [n=boris@195-50-201-33-dsl.krw.estpak.ee] has joined #scheme 18:15:49 Gorgoroth [i=Gorgorot@195-132-141-240.rev.numericable.fr] has joined #scheme 18:23:23 drdo```` [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 18:24:23 -!- drdo` [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Read error: 110 (Connection timed out)] 18:26:44 -!- drdo`` [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Connection timed out] 18:28:45 -!- hotblack23 [n=jh@p5B054074.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 18:31:38 navaburo [n=navaburo@ool-4351b643.dyn.optonline.net] has joined #scheme 18:31:58 incubot: I think that there is a huge body of compelling historical evidence that this sentence is false. 18:32:01 Right now I'm more amused than anything else. There isn't a bloody thing I can do about it -- that whole constitution thing being merely a historical fancy to which I have taken an idle liking --, so I might as well find humour in the TSA's incompetent attempt to disguise their embarrassing choice of luggage to search. 18:32:45 incubot: give riastradh a lollipop! 18:32:46 I could also draw on Poe, and introduce ROWDY-DOW-LOLLIPOP-HUM-DRUM-AND-GOOSETHERUMFOODLE. 18:36:03 peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has joined #scheme 18:36:58 -!- moghar [n=user@unaffiliated/moghar] has left #scheme 18:37:55 -!- peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has quit [Client Quit] 18:38:13 peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has joined #scheme 18:38:18 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 18:39:39 -!- drdo``` [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Read error: 110 (Connection timed out)] 18:41:23 choas [n=lars@p5B0DC519.dip.t-dialin.net] has joined #scheme 18:54:06 -!- Dawgmatix [n=deepanka@207-237-30-94.c3-0.avec-ubr11.nyr-avec.ny.cable.rcn.com] has left #scheme 18:56:03 -!- levi` is now known as levi 18:57:45 -!- dakeyras [n=dakeyras@pool-98-117-125-63.sttlwa.fios.verizon.net] has quit [] 19:05:26 dakeyras [n=dakeyras@pool-98-117-125-63.sttlwa.fios.verizon.net] has joined #scheme 19:06:20 -!- dakeyras [n=dakeyras@pool-98-117-125-63.sttlwa.fios.verizon.net] has quit [Client Quit] 19:08:00 mike [n=mike@dslb-092-074-011-211.pools.arcor-ip.net] has joined #scheme 19:08:29 -!- mike is now known as Guest54206 19:17:24 -!- choas [n=lars@p5B0DC519.dip.t-dialin.net] has quit ["leaving"] 19:25:43 wow someone lit a fire under incubot today 19:30:33 araujo [n=araujo@gentoo/developer/araujo] has joined #scheme 19:36:17 Cale_ [n=Cale@CPE001c10c70239-CM000e5cdd834a.cpe.net.cable.rogers.com] has joined #scheme 19:36:43 -!- nan8 [n=user@dslb-088-067-025-121.pools.arcor-ip.net] has quit [Remote closed the connection] 19:37:03 -!- Cale [n=Cale@CPE001c10c70239-CM000e5cdd834a.cpe.net.cable.rogers.com] has quit [Nick collision from services.] 19:37:07 -!- Cale_ is now known as Cale 19:39:06 ejs [n=eugen@94-248-58-174.dynamic.peoplenet.ua] has joined #scheme 19:40:24 -!- npe [n=npe@66.112.249.71] has quit [] 19:43:40 -!- ski__ [n=md9slj@remote3.student.chalmers.se] has quit [SendQ exceeded] 19:45:43 -!- Gorgoroth [i=Gorgorot@195-132-141-240.rev.numericable.fr] has quit [] 19:48:13 npe [n=npe@66.112.249.71] has joined #scheme 19:49:28 -!- npe [n=npe@66.112.249.71] has quit [Client Quit] 19:52:40 -!- synthase [n=synthase@c-69-243-234-165.hsd1.al.comcast.net] has quit [Read error: 60 (Operation timed out)] 20:04:13 tizoc` [n=user@r190-135-48-48.dialup.adsl.anteldata.net.uy] has joined #scheme 20:07:21 Cale_ [n=Cale@CPE001c10c70239-CM000e5cdd834a.cpe.net.cable.rogers.com] has joined #scheme 20:07:35 -!- Cale [n=Cale@CPE001c10c70239-CM000e5cdd834a.cpe.net.cable.rogers.com] has quit [Nick collision from services.] 20:07:41 -!- Cale_ is now known as Cale 20:13:05 saccade [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 20:14:13 -!- tizoc [n=user@r190-135-0-79.dialup.adsl.anteldata.net.uy] has quit [Read error: 110 (Connection timed out)] 20:14:27 drdo````` [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 20:15:32 -!- drdo```` [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Read error: 60 (Operation timed out)] 20:17:39 -!- tizoc` is now known as tizoc 20:17:45 -!- drdo````` [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Read error: 60 (Operation timed out)] 20:24:47 -!- gorki [n=chatzill@p54A7C809.dip.t-dialin.net] has quit ["ChatZilla 0.9.83-rdmsoft [XULRunner 1.9.0.5/2008121622]"] 20:25:32 -!- navaburo [n=navaburo@ool-4351b643.dyn.optonline.net] has quit [Remote closed the connection] 20:28:06 saccade__ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 20:28:06 -!- saccade [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Read error: 60 (Operation timed out)] 20:28:17 hotblack23 [n=jh@p5B056A87.dip.t-dialin.net] has joined #scheme 20:40:08 -!- saccade__ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit ["This computer has gone to sleep"] 20:44:37 hkBst [n=hkBst@gentoo/developer/hkbst] has joined #scheme 20:46:33 synthase [n=synthase@c-69-243-234-165.hsd1.al.comcast.net] has joined #scheme 20:46:39 jmo- [n=jmo-@83.233.243.145] has joined #scheme 20:47:36 -!- hkBst [n=hkBst@gentoo/developer/hkbst] has quit [Read error: 104 (Connection reset by peer)] 20:48:12 hkBst [n=hkBst@gentoo/developer/hkbst] has joined #scheme 20:53:30 -!- ejs [n=eugen@94-248-58-174.dynamic.peoplenet.ua] has quit ["Leaving"] 21:05:58 -!- peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has quit [] 21:08:43 sladegen [n=nemo@unaffiliated/sladegen] has joined #scheme 21:19:07 -!- forcer [n=forcer@e177142220.adsl.alicedsl.de] has quit [Read error: 60 (Operation timed out)] 21:20:37 forcer [n=forcer@e179195216.adsl.alicedsl.de] has joined #scheme 21:23:15 patmaddox [n=pergesu@ip68-4-201-9.oc.oc.cox.net] has joined #scheme 21:26:12 ejs [n=eugen@94-248-58-174.dynamic.peoplenet.ua] has joined #scheme 21:27:48 -!- rudybot_ is now known as rudybot 21:28:01 -!- ejs [n=eugen@94-248-58-174.dynamic.peoplenet.ua] has quit [Client Quit] 21:29:13 -!- offby1` is now known as offby1 21:35:23 ejs [n=eugen@94-248-58-174.dynamic.peoplenet.ua] has joined #scheme 21:36:50 -!- forcer [n=forcer@e179195216.adsl.alicedsl.de] has quit [Read error: 60 (Operation timed out)] 21:39:09 -!- X-Scale [i=email@89.180.98.138] has left #scheme 21:45:51 saccade [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 21:52:29 forcer [n=forcer@e177143198.adsl.alicedsl.de] has joined #scheme 21:52:52 raikov [n=igr@81.153.145.122.ap.yournet.ne.jp] has joined #scheme 21:56:48 is there a standard definition of Pi in r5rs (or mzscheme)? 21:57:15 r5rs pi 21:57:15 Sorry, I couldn't find anything for pi. 21:57:23 r5rs atan 21:57:23 http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-9.html#%_idx_328 21:57:25 -rudybot:#scheme- http://tinyurl.com/9m2o78 21:57:34 -mr-slave:#scheme- http://tinyurl.com/9m2o78 21:57:42 oh yeah 21:58:11 rudybot: eval (acos -1) 21:58:12 mejja: ; Value: 3.141592653589793 21:58:17 -!- setf [i=54a6605e@gateway/web/ajax/mibbit.com/x-a701bc7cb4941f3f] has quit ["http://www.mibbit.com ajax IRC Client"] 21:59:32 thanks mejja 22:00:49 -!- mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Remote closed the connection] 22:02:24 mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 22:05:14 -!- hotblack23 [n=jh@p5B056A87.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 22:05:26 -!- rtra [n=rtra@89-180-52-205.net.novis.pt] has quit ["Caught sigterm, terminating..."] 22:05:41 puchacz [n=puchacz@87-194-5-99.bethere.co.uk] has joined #scheme 22:05:49 rtra [n=rtra@89-180-52-205.net.novis.pt] has joined #scheme 22:10:12 meanburrito9201 [n=meanburr@76.236.78.72] has joined #scheme 22:10:12 -!- lolcow [n=lolcow@196-210-146-133-ndn-esr-3.dynamic.isadsl.co.za] has quit [Read error: 54 (Connection reset by peer)] 22:10:20 -!- meanburrito9201 [n=meanburr@76.236.78.72] has left #scheme 22:13:46 meanburrito920__ [n=John@adsl-76-236-78-72.dsl.lsan03.sbcglobal.net] has joined #scheme 22:14:11 reprore [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 22:14:39 forcer- [n=forcer@e179197136.adsl.alicedsl.de] has joined #scheme 22:15:37 -!- Judofyr [n=Judofyr@c809ABF51.dhcp.bluecom.no] has quit [Remote closed the connection] 22:15:46 how can i truncate a floating point number to an integer? i.e. 0.0 -> 0, 0.5 -> 0 22:16:29 r5rs TRUNCATE 22:16:29 http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-9.html#%_idx_306 22:16:30 -mr-slave:#scheme- http://tinyurl.com/aluypd 22:16:30 -rudybot:#scheme- http://tinyurl.com/aluypd 22:17:24 truncate and round apparently still return a float 22:17:28 -!- Guest54206 [n=mike@dslb-092-074-011-211.pools.arcor-ip.net] has quit ["This computer has gone to sleep"] 22:17:45 rudybot: eval (round 0.0) 22:17:45 pizza__: ; Value: 0.0 22:17:47 leppie [n=lolcow@dsl-241-170-127.telkomadsl.co.za] has joined #scheme 22:17:50 rudybot: eval (truncate 0.0) 22:17:50 pizza__: ; Value: 0.0 22:18:17 rudybot: eval (floor 0.0) 22:18:17 pizza__: ; Value: 0.0 22:18:19 pizza__, Would you please read the link I got for you? 22:18:22 -!- meanburrito920__ [n=John@adsl-76-236-78-72.dsl.lsan03.sbcglobal.net] has quit [Client Quit] 22:18:28 yes, i'm there 22:18:32 (I know the answer is no, so I shall paste it for you:) 22:18:36 meanburrito920_ [n=John@adsl-76-236-78-72.dsl.lsan03.sbcglobal.net] has joined #scheme 22:18:37 procedure: (truncate x) 22:18:37 procedure: (round x) 22:18:37 These procedures return integers. 22:18:53 truncate and then inexact->exact afaik 22:18:56 sorry, i thought 0.0 wasn't one 22:18:57 -!- mfredrickson [n=mfredric@c-98-212-171-158.hsd1.il.comcast.net] has quit [] 22:19:24 rudybot: eval (inexact->exact 4.0) 22:19:25 Mr-Cat: ; Value: 4 22:19:39 The latter thing may matter for FFI 22:19:46 -!- reprore [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 104 (Connection reset by peer)] 22:19:53 In chicken at least 22:19:57 rudybot: eval (integer? (truncate 0.0)) 22:19:57 vixey: ; Value: #t 22:20:02 reprore_ [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 22:20:24 vixey: i read the link and that line in the docs, i was just confused by the return of 0.0 22:20:45 dont worry pizza__, i dont get it either... 22:20:47 pjb3 [n=pjb3@c-76-100-98-185.hsd1.md.comcast.net] has joined #scheme 22:20:50 rudybot: eval (integer? 0.0) 22:20:50 rudybot: eval (truncate 0.0) 22:20:50 Mr-Cat: ; Value: #t 22:20:51 pizza__: ; Value: 0.0 22:20:56 interesting 22:23:10 I may be wrong, but I think, that schemes sometimes don't downcast inexact values to exact even if the result can be exact number... 22:23:11 -!- exexex [n=chatzill@85.96.47.148] has quit [Remote closed the connection] 22:23:39 rudybot: eval ((define x (make-vector 1 0)) (vector-set! x 0 (+ (vector-ref x 0) 1)) x) 22:23:39 pizza__: error: eval:1:1: define-values: illegal use (not at top-level) in: (define-values (x) (make-vector 1 0)) 22:23:50 I remember r6rs saying something about this case, but I don't remember, what exactly 22:24:21 like i said, i dont get it :| 22:24:52 one of my remaining bugs, if someone can explain it to me, i can fix it. 22:25:19 Schemes /never/ "downcast" inexact to exact on their own. Inexactness (inexactitude?) is contagious. 22:25:39 -!- forcer [n=forcer@e177143198.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 22:25:47 Daemmerung: but explain (interger? 3.0) => #t 22:26:01 3.0 is an inexact integer. 22:26:16 Forget all this C/C+ "float" "int" shit. 22:26:37 rudybot: eval (inexact? 3.0) 22:26:38 Daemmerung: ; Value: #t 22:26:43 rudybot: eval (integer? 3.0) 22:26:43 Daemmerung: ; Value: #t 22:26:44 well i cant from an implementers point of view, i need to map an integer somehow 22:27:07 What you do within the implementation is your own business, so long as Scheme comes out the other end. 22:27:50 rudybot: eval (inexact? (truncate 3.0)) 22:27:51 pizza__: ; Value: #t 22:28:00 so you saying integer? should be for any number x where x == (round x) ? 22:28:08 -!- barney [n=bernhard@p549A3819.dip0.t-ipconnect.de] has quit [Remote closed the connection] 22:28:29 rudybot: eval (inexact->exact (truncate 3.0)) 22:28:29 pizza__: ; Value: 3 22:28:58 thanks vixey, Mr-Cat, Daemmerung and rudybot ;) 22:29:48 Consider also the following. 22:30:00 rudybot: eval (exact? #e3.1) 22:30:02 Daemmerung: ; Value: #t 22:30:10 rudybot: eval (integer? #e3.1) 22:30:10 Daemmerung: ; Value: #f 22:30:16 different story :) 22:30:16 Daemmerung: Well, you're right. Scheme is not required to produce exact results when arguments are inexact 22:30:20 -!- reprore_ [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 22:30:20 rudybot: eval (exact? (truncate #e3.1)) 22:30:20 Daemmerung: ; Value: #t 22:30:30 rational? => #t 22:31:07 Looked it up in r6rs 22:31:08 I understand when it is prefixed with exactness 22:31:29 I commend a careful reading of R5RS 6.2.2. 22:32:10 leppie: Afaik, exactness and number type (integer, real...) is orthogonal in scheme 22:32:16 i think i have gone thru that :( but let me refresh my memory 22:32:18 Bingo. 22:33:29 Daemmerung: Thanks. in r6rs the separated it in two sections and shuffled them randomly into the document 22:33:37 s/the/they/ 22:33:50 Mr-Cat: where is it in R6? (for my edification) 22:34:23 Sections 3 and 11.7 22:34:30 ok, i remember that, and i am still no wiser :( 22:34:41 reprore [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 22:35:08 and a bit of section 4 afaik 22:35:28 ah ok 6.2.5 says what I said... 22:35:42 better update :) 22:36:23 you see r6rs has integer-valued? too 22:36:41 nothingHappens [n=nothingH@12-226-78-3.client.mchsi.com] has joined #scheme 22:36:44 Arelius [n=Indy@netblock-68-183-230-134.dslextreme.com] has joined #scheme 22:38:08 -!- saccade [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Read error: 104 (Connection reset by peer)] 22:39:32 -!- puchacz [n=puchacz@87-194-5-99.bethere.co.uk] has quit [Remote closed the connection] 22:41:21 -!- ejs [n=eugen@94-248-58-174.dynamic.peoplenet.ua] has quit [Read error: 104 (Connection reset by peer)] 22:41:28 -!- Debolaz [n=debolaz@195.159.114.206] has quit [Read error: 104 (Connection reset by peer)] 22:41:32 Debolaz2 [n=debolaz@195.159.114.206] has joined #scheme 22:42:02 So, afaik, exact?, integer-valued? and so on probe the number's internal representation, while integer? tries to guess the right type 22:43:03 rudybot: eval (rational? 0.5) 22:43:03 Mr-Cat: ; Value: #t 22:44:56 saccade [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 22:44:59 Howdy people. 22:46:25 lol, by adding the 'fix' for integer?, i caused 16 more failed tests... 22:47:30 errors? 22:47:40 -!- Debolaz2 is now known as Debolaz 22:48:07 yes for r6rs tests from plt, has about 9000 22:49:09 -!- reprore [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 22:52:25 :( 22:54:06 i think i maybe by using integer? to check for exact numbers somewhere 22:56:53 that round rule is no good :( as (= +inf.0 (round +inf.0)) => #t 22:57:04 and thats clearly not an integer 23:02:25 -!- Mr-Cat [n=Mr-Cat@78-106-72-40.broadband.corbina.ru] has left #scheme 23:03:15 Mr-Cat [n=Mr-Cat@78-106-72-40.broadband.corbina.ru] has joined #scheme 23:04:07 rtra_ [n=rtra@89.181.20.72] has joined #scheme 23:07:54 Are there any good scheme imap libraries? 23:08:22 -!- rtra [n=rtra@unaffiliated/rtra] has quit [Read error: 145 (Connection timed out)] 23:09:05 -!- rtra_ is now known as rtra 23:10:41 -!- Adrinael [n=adrinael@barrel.rolli.org] has quit [Read error: 60 (Operation timed out)] 23:13:42 X-Scale [i=email@89.180.44.126] has joined #scheme 23:15:23 -!- ecraven [n=nex@140.78.42.103] has quit ["bbl"] 23:17:13 -!- Mr-Cat [n=Mr-Cat@78-106-72-40.broadband.corbina.ru] has left #scheme 23:17:50 Adrinael [i=adrinael@rid7.kyla.fi] has joined #scheme 23:17:55 Mr-Cat [n=Mr-Cat@78-106-72-40.broadband.corbina.ru] has joined #scheme 23:21:36 -!- raikov [n=igr@81.153.145.122.ap.yournet.ne.jp] has quit [Remote closed the connection] 23:22:08 -!- jmo- [n=jmo-@83.233.243.145] has quit [Connection timed out] 23:40:30 -!- hkBst [n=hkBst@gentoo/developer/hkbst] has quit [Read error: 104 (Connection reset by peer)] 23:44:55 -!- antoszka [n=antoszka@unaffiliated/antoszka] has quit ["+++ killed by SIGSEGV +++"] 23:44:56 arcfide [n=arcfide@h-69-3-101-94.chcgilgm.dynamic.covad.net] has joined #scheme 23:51:10 -!- saccade [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Read error: 104 (Connection reset by peer)] 23:53:08 saccade [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 23:53:10 Dawgmatix [n=dawgmati@207-237-30-94.c3-0.avec-ubr11.nyr-avec.ny.cable.rcn.com] has joined #scheme 23:54:21 peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has joined #scheme 23:58:39 -!- vixey [n=vicky@amcant.demon.co.uk] has quit [Client Quit]