00:00:11 Riastradh: the reader macros you were referring to, are you talking about DEFINE-SHARP-MACRO, or is there another hook? 00:00:54 That is it. 00:08:53 -!- replor [n=replor@ntkngw375028.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [No route to host] 00:11:14 *offby1* handles that macro gingerly 00:11:29 in fact, I think there's a plastic disposal bin, labeled "sharps" 00:14:04 -!- phao [n=phao@20158145171.user.veloxzone.com.br] has quit ["Leaving"] 00:16:28 -!- alaricsp [n=alaricsp@217.205.201.45] has quit [] 00:29:01 bombshelter13 [n=bombshel@209-161-228-143.dsl.look.ca] has joined #scheme 00:30:21 -!- athos [n=philipp@92.250.204.223] has quit ["leaving"] 00:30:55 borism_ [n=boris@195-50-200-69-dsl.krw.estpak.ee] has joined #scheme 00:37:10 -!- borism [n=boris@195-50-206-42-dsl.krw.estpak.ee] has quit [Read error: 145 (Connection timed out)] 00:37:15 -!- ventonegro [i=alex@189-95-145-170.3g.claro.net.br] has quit [Remote closed the connection] 00:39:29 b/c "octothorpes" wouldn't fit on the side of the bin 00:39:30 -!- yagur [n=yyaaa@211.109.158.113] has quit ["  ."] 00:40:53 -!- amoe [n=amoe@cpc3-brig3-0-0-cust346.brig.cable.ntl.com] has left #scheme 00:53:20 cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has joined #scheme 00:56:23 r2q2 [n=user@c-71-228-37-14.hsd1.il.comcast.net] has joined #scheme 01:00:15 -!- dfeuer [n=dfeuer@wikimedia/Dfeuer] has quit [Read error: 104 (Connection reset by peer)] 01:00:47 -!- jonrafkind [n=jon@wireless9.wireless.utah.edu] has quit [Connection timed out] 01:01:15 dfeuer [n=dfeuer@wikimedia/Dfeuer] has joined #scheme 01:02:27 -!- kniu [n=kniu@CMU-301252.WV.CC.CMU.EDU] has quit [Read error: 104 (Connection reset by peer)] 01:02:38 kniu [n=kniu@CMU-301252.WV.CC.CMU.EDU] has joined #scheme 01:04:13 orgy_ [n=ratm_@pD9FFFA7F.dip.t-dialin.net] has joined #scheme 01:04:27 athos [n=philipp@92.250.204.223] has joined #scheme 01:05:10 -!- aneqrs [n=andreas@c83-253-104-206.bredband.comhem.se] has quit [] 01:09:11 bombshelter13_ [n=bombshel@209-161-228-143.dsl.look.ca] has joined #scheme 01:13:37 -!- hkBst [n=hkBst@gentoo/developer/hkbst] has quit [Read error: 104 (Connection reset by peer)] 01:15:39 jonrafkind [n=jon@dhcp-16-ebc-uconnect.wireless.utah.edu] has joined #scheme 01:17:38 -!- mbtrimpe [n=mtrimpe@d107110.upc-d.chello.nl] has quit [Remote closed the connection] 01:18:10 mtrimpe [n=mtrimpe@d107110.upc-d.chello.nl] has joined #scheme 01:18:30 -!- sam_ [n=Sami__@hoasnet-fe1add00-113.dhcp.inet.fi] has quit [] 01:20:46 -!- orgy` [n=ratm_@pD9FFF3C1.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 01:22:22 -!- name [n=name@sburn/devel/name] has quit ["Lost terminal"] 01:24:46 -!- araujo [n=araujo@gentoo/developer/araujo] has quit [Read error: 60 (Operation timed out)] 01:25:35 -!- mtrimpe [n=mtrimpe@d107110.upc-d.chello.nl] has quit [Read error: 104 (Connection reset by peer)] 01:26:02 mtrimpe [n=mtrimpe@d107110.upc-d.chello.nl] has joined #scheme 01:27:39 -!- athos [n=philipp@92.250.204.223] has quit [Read error: 54 (Connection reset by peer)] 01:29:04 -!- wasabi_ [n=wasabi@ntoska144121.oska.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 60 (Operation timed out)] 01:29:23 araujo [n=araujo@gentoo/developer/araujo] has joined #scheme 01:33:37 -!- mtrimpe [n=mtrimpe@d107110.upc-d.chello.nl] has quit [Read error: 104 (Connection reset by peer)] 01:34:03 mtrimpe [n=mtrimpe@d107110.upc-d.chello.nl] has joined #scheme 01:35:56 -!- jonrafkind [n=jon@dhcp-16-ebc-uconnect.wireless.utah.edu] has quit [Connection timed out] 01:38:21 wasabi_ [n=wasabi@ntoska144121.oska.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 01:39:29 athos [n=philipp@92.250.204.223] has joined #scheme 01:40:12 -!- tjafk1 [n=timj@e176209078.adsl.alicedsl.de] has quit ["Client exiting"] 01:41:00 isomer`` [n=isomer@001310E6CB31.wbb.net.cable.rogers.com] has joined #scheme 01:41:24 -!- tizoc [n=user@r190-135-7-103.dialup.adsl.anteldata.net.uy] has left #scheme 01:45:13 tizoc [n=user@r190-135-7-103.dialup.adsl.anteldata.net.uy] has joined #scheme 01:49:21 -!- isomer [n=isomer@74.210.117.27] has quit [Connection timed out] 02:00:10 orgy__ [n=ratm_@pD9FFF4BC.dip.t-dialin.net] has joined #scheme 02:01:26 r2q2` [n=user@c-71-228-37-14.hsd1.il.comcast.net] has joined #scheme 02:05:46 -!- saccade_ [n=saccade@dhcp-18-188-73-185.dyn.mit.edu] has quit ["This computer has gone to sleep"] 02:06:49 -!- mtrimpe [n=mtrimpe@d107110.upc-d.chello.nl] has quit [Read error: 104 (Connection reset by peer)] 02:07:15 mtrimpe [n=mtrimpe@d107110.upc-d.chello.nl] has joined #scheme 02:16:14 -!- orgy_ [n=ratm_@pD9FFFA7F.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 02:16:35 -!- mtrimpe [n=mtrimpe@d107110.upc-d.chello.nl] has quit [Read error: 104 (Connection reset by peer)] 02:16:36 yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has joined #scheme 02:17:03 mtrimpe [n=mtrimpe@d107110.upc-d.chello.nl] has joined #scheme 02:17:20 -!- orgy__ [n=ratm_@pD9FFF4BC.dip.t-dialin.net] has quit [Client Quit] 02:17:24 -!- r2q2 [n=user@c-71-228-37-14.hsd1.il.comcast.net] has quit [Read error: 110 (Connection timed out)] 02:17:30 orgy` [n=ratm_@pD9FFF4BC.dip.t-dialin.net] has joined #scheme 02:18:51 -!- MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has quit [Excess Flood] 02:19:06 -!- orgy` [n=ratm_@pD9FFF4BC.dip.t-dialin.net] has quit [Client Quit] 02:20:13 MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has joined #scheme 02:27:05 mejja [n=user@c-4db6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 02:27:43 -!- mtrimpe [n=mtrimpe@d107110.upc-d.chello.nl] has quit [Read error: 104 (Connection reset by peer)] 02:28:10 mtrimpe [n=mtrimpe@d107110.upc-d.chello.nl] has joined #scheme 02:37:09 r2q2`` [n=user@c-71-228-37-14.hsd1.il.comcast.net] has joined #scheme 02:37:58 -!- mtrimpe [n=mtrimpe@d107110.upc-d.chello.nl] has quit [Read error: 104 (Connection reset by peer)] 02:38:22 mtrimpe [n=mtrimpe@d107110.upc-d.chello.nl] has joined #scheme 02:38:34 -!- synx [i=synx@gateway/gpg-tor/key-0xA71B0C6A] has quit [Remote closed the connection] 02:40:04 -!- Cowmoo [n=Cowmoo@c-98-218-212-176.hsd1.va.comcast.net] has left #scheme 02:40:24 synx [i=synx@gateway/gpg-tor/key-0xA71B0C6A] has joined #scheme 02:48:18 -!- bombshelter13 [n=bombshel@209-161-228-143.dsl.look.ca] has quit [Read error: 113 (No route to host)] 02:54:23 -!- r2q2` [n=user@c-71-228-37-14.hsd1.il.comcast.net] has quit [Read error: 110 (Connection timed out)] 03:06:50 augustbankr [n=augustba@68-116-166-32.dhcp.oxfr.ma.charter.com] has joined #scheme 03:08:47 hiya schemers, is this a good place to ask beginner questions? 03:09:49 No, you need to ask beginner questions about scheme in #php 03:09:55 :3 03:09:57 lol 03:10:35 i was just worried i was going to be flamed if i asked noob qs, thats all.. 03:11:00 saccade_ [n=saccade@65.78.24.47] has joined #scheme 03:11:21 Don't ask to ask, just ask. 03:11:21 Usually not, no 03:11:25 no, but you may be flamed by asking if you can ask questions 03:11:42 incubot: make that WILL 03:11:45 eval (let ((a (make-string 1 (integer->char 1)))) (display (string-append a "ACTION jumps" a))) 03:12:13 *synx* jumps 03:13:00 :^A 03:14:21 -!- yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has quit ["Leaving..."] 03:14:37 (define L1 '(a b c)) and (define L2 '(b c));; (eq? (cdr L1) L2) is giving me false, but aren't (cdr l1) and l2 both equal to (b c)? 03:16:10 im using plt-scheme and PrettyBig language.. 03:17:00 augustbankr: EQ? checks whether two objects are exactly the same thing, not whether their structure is similar. 03:18:13 sounds like wasteful duplication there 03:19:06 rudybot: eval (define L2 '(b c)) (define L1 (cons 'a L2)) (eq? (cdr L1) L2) 03:19:11 synx: error: with-limit: out of time 03:19:24 what 03:21:08 forcer: so both of them are not just a list containing b, c symbols, but different structures? 03:23:04 They're two different lists, containing b, c symbols. 03:25:26 ahhh, i see now. 03:30:12 -!- fschwidom [n=fschwido@dslb-084-059-060-240.pools.arcor-ip.net] has quit [Remote closed the connection] 03:36:04 -!- drdo [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Read error: 104 (Connection reset by peer)] 03:37:51 drdo [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 03:40:06 -!- dfeuer [n=dfeuer@wikimedia/Dfeuer] has quit [Remote closed the connection] 03:42:25 -!- Cale [n=Cale@CPE001c10c70239-CM000e5cdd834a.cpe.net.cable.rogers.com] has quit [Read error: 110 (Connection timed out)] 03:45:27 dfeuer [n=dfeuer@wikimedia/Dfeuer] has joined #scheme 03:45:39 Adamant [n=Adamant@c-98-244-152-196.hsd1.ga.comcast.net] has joined #scheme 03:48:09 -!- isomer`` is now known as isomer 03:48:50 rudybot: eval (define L2 '(b c)) (define L1 (cons 'a L2)) (eq? (cdr L1) L2) 03:48:50 offby1: ; Value: #t 03:49:08 synx: if it gcs during an eval, it can run out of time. I keep meaning to up the timeout a little. 03:49:35 -!- athos [n=philipp@92.250.204.223] has quit [Remote closed the connection] 03:50:11 yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has joined #scheme 03:56:05 -!- MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has quit [Remote closed the connection] 03:56:17 oh that's probably it then. 03:57:12 it often does that the first time it evals something after it reboots; apparently it needs to load an awful lot of code to do "eval" 04:00:18 -!- augustbankr [n=augustba@68-116-166-32.dhcp.oxfr.ma.charter.com] has quit ["Leaving"] 04:02:04 elmex_ [n=elmex@e180067091.adsl.alicedsl.de] has joined #scheme 04:07:48 rudybot: uptime 04:07:49 mejja: I've been up for one week, four days; this tcp/ip connection has been up for one week, four days 04:12:44 replor [n=replor@ntkngw375028.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 04:17:38 -!- elmex [n=elmex@e180068027.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 04:17:41 -!- elmex_ is now known as elmex 04:26:38 rudybot should get some sleep. Aren't hallucinations supposed to set in after the third or fourth consecutive day of sleep deprivation? 04:30:48 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 04:31:14 what makes you think he's not hallucinating? 04:32:18 what makes you think you're not hallucinating? 04:32:29 what makes you think there's no echo in here? 04:32:45 Why shouldn't a Jew answer a question with a question? 04:33:21 :) 04:34:48 :-) 04:34:51 -!- r2q2`` is now known as r2q2 04:35:02 Heh. 04:38:54 Riastradh: Where's my matzo balls 04:39:13 Try moth balls; I hear they're tastier. 04:41:22 *rimshot* 04:41:40 -!- AtnNn [n=welcome@modemcable230.56-56-74.mc.videotron.ca] has quit ["strawberries"] 04:41:58 Who has taken this joke past the point of being funny? 04:42:10 For the longest time, I once thought `rimshot' was a lewd expression of a nature I never quite figured out. 04:45:00 *offby1* makes an obscene gesture 04:46:19 *gnomon* broadcasts an obscene IRC action 04:46:35 actually "rimshot" isn't even the proper term 04:47:25 http://en.wikipedia.org/wiki/Sting_(percussion) 04:47:42 -!- JohnnyL [i=JohnnyL@ool-182ddad4.dyn.optonline.net] has quit [] 04:48:03 I'd like to take this tangent vector on the joke manifold and push it forward differentiably into the tangent bundle on the Scheme manifold. 04:49:18 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #scheme 04:53:20 rtra [n=rtra@unaffiliated/rtra] has joined #scheme 04:53:25 mbishop: but if you say "sting", nobody will know what you're talking about 05:01:02 Riastradh: Perhaps you were confusing it with a rimjob? 05:01:27 foof, `confusing' is too strong a word; `accidental mental association' would be more accurate. 05:03:25 i believe a rimshot is when you attempt a rimjob but bounce off the edge 05:04:08 This is the point in our program where I politely suggest more emphatically that we return to the subject of Scheme. 05:04:27 Cale [n=Cale@CPE001c10c70239-CM000e5cdd834a.cpe.net.cable.rogers.com] has joined #scheme 05:05:29 call-with-current-connotation 05:08:47 zbigniew: :) 05:08:48 ++ 05:08:48 ++ 05:09:07 -!- eno [n=eno@nslu2-linux/eno] has quit [Read error: 110 (Connection timed out)] 05:12:38 -!- drdo [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Read error: 60 (Operation timed out)] 05:21:01 Hey guys 05:21:05 I just figured out a better way to loop 05:21:55 (let ((rimshot #f)) (call/cc (lambda (cont) (set! rimshot cont))) (display "rimshot\n") (sleep 1) (rimshot)) 05:24:47 rudybot: eval (let ((rimshot #f)) (call/cc (lambda (cont) (set! rimshot cont))) (display "rimshot\n") (sleep 1) (rimshot)) 05:24:50 synx: error: with-limit: out of time 05:25:14 that was intentional |3 05:30:59 augustbankr [n=augustba@68-116-166-32.dhcp.oxfr.ma.charter.com] has joined #scheme 05:38:58 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 05:38:59 -!- augustbankr [n=augustba@68-116-166-32.dhcp.oxfr.ma.charter.com] has quit ["Leaving"] 05:39:17 Adamant [n=Adamant@c-98-244-152-196.hsd1.ga.comcast.net] has joined #scheme 05:39:19 augustbankr [n=augustba@68-116-166-32.dhcp.oxfr.ma.charter.com] has joined #scheme 05:39:53 jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has joined #scheme 05:40:43 -!- augustbankr [n=augustba@68-116-166-32.dhcp.oxfr.ma.charter.com] has quit [Client Quit] 05:44:28 mm hm 05:44:43 rudybot: eval (let ((rimshot #f)) (call/cc (lambda (cont) (set! rimshot cont))) (display "rimshot\n") (sleep 1/10) (rimshot)) 05:44:45 offby1: error: with-limit: out of time 05:46:37 jgracin [n=jgracin@82.193.208.195] has joined #scheme 05:51:45 rudybot: eval (display "ooh, error") 05:51:46 offby1: ; stdout: "rimshot\nrimshot\nrimshot\nrimshot\nrimshot\nrimshot\nrimshot\nrimshot\nrimshot\nrimshot\nrimshot\nrimshot\nrimshot\nrimshot\nrimshot\nrimshot\nrimshot\nrimshot\nrimshot\nooh, error" 05:51:54 *offby1* stares blankly 05:52:22 that top-level, it's a pisser 05:58:47 rudybot: eval (display "grits") 05:58:47 zbigniew: ; stdout: "homina\nhomina\nhomina\nhomina\nhomina\nhomina\nhomina\nhomina\nhomina\nhomina\nhomina\nhomina\nhomina\nhomina\nhomina\nhomina\nhomina\nhomina\nhomina\ngrits" 05:59:12 kaaah [n=karim@joondalup.davromaniak.eu] has joined #scheme 05:59:15 hi 06:00:15 what the frack... 06:00:43 now if only it was hominy and not homina.... 06:01:05 -!- mtrimpe [n=mtrimpe@d107110.upc-d.chello.nl] has quit [] 06:04:13 zbigniew: I'm glad I don't have a broken rib; I'd be in quite some pain from laughing 06:04:30 Adamant: close enough 06:04:34 I canrt read a line with read-line. it always returns "". why ? 06:04:40 *can't 06:10:53 offby1` [n=user@q-static-138-125.avvanta.com] has joined #scheme 06:14:33 is it a blank line? 06:15:26 same for me too, huh... 06:15:27 no 06:15:28 only in mzscheme though. 06:15:35 In drscheme (read-line) works fine. 06:15:40 is there a workaround ? 06:15:54 one idea is to confine your input solely to blank lines 06:16:23 kaaah: My guess would be in mzscheme read-line only works if you call read-line from a file, instead of from standard input, where it's supposed to read in the first place. 06:16:49 ok 06:18:58 > (begin (read-char) (read-line)) 06:18:58 abc 06:18:58 "abc" 06:19:08 try thusly 06:19:21 Sweet! A cow-orker just came by the office to drop off a Rocquefort, a grand cru cheddar and a pack of really nice Austrian water crackers. 06:19:36 *gnomon* <3's everyone 06:20:34 gnomon: Awww. 06:21:24 MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has joined #scheme 06:21:38 -1s/ocqu/oqu/ 06:22:18 kaaah: or use this more robust solution: http://www.cs.brown.edu/pipermail/plt-scheme/2006-January/011093.html 06:22:44 peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has joined #scheme 06:25:40 gnomon: did the cow-orker produce the cheese herself? 06:26:14 No, she picked it up at a cheese market that is apparently right nearby. 06:26:27 Coincidentally, my boss scolded me the other day for not having yet made that pilgrimage myself. 06:26:34 -!- offby1 [n=user@q-static-138-125.avvanta.com] has quit [Read error: 110 (Connection timed out)] 06:26:45 i see my attempt at a joke fell flat 06:26:57 I am humour-impaired right now. 06:27:07 No coffee yet. 06:28:52 Nice, someone ported Hedgehog Lisp to run under OpenWRT! 06:30:14 which lisp si that? 06:33:26 -!- replor [n=replor@ntkngw375028.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit ["Leaving..."] 06:33:51 duncanm, it's a non-traditional lisp dialect; it's generally closer to R4RS than to CL. 06:34:46 non-traditional lisps can no longer marry in CA 06:35:02 ? 06:35:03 zbigniew: That was pretty bad. 06:35:35 offby1`: marriage should be between a car and a cdr 06:35:47 offby1`: haha 06:35:47 you're on a roll! 06:36:01 you guys are good 06:36:14 would you be able to write programs in the new lisp? 06:36:16 it must be the late hour 06:36:21 zbigniew: Maybe they can have a lazy marriage then. 06:37:44 it would certainly be un-CONSsummated 06:37:58 now i need to shoot myself 06:38:06 I'll do it 06:38:29 umis [n=umis@prudent-gloryer.volia.net] has joined #scheme 06:41:39 *gnomon* facepalms 06:42:08 You'll pay for that, zbigniew. 06:43:19 -!- MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has quit [Read error: 113 (No route to host)] 06:44:55 *zbigniew* already paid for it in the coinage of self-respect 06:47:17 A debased currency, to be sure. 06:47:59 rudybot: eval #reader scribble/reader @string-titlecase{this is free-form text!} 06:48:00 offby1`: ; Value: "This Is Free-Form Text!" 06:48:28 -!- peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has quit [] 06:55:06 gnomon: so the way to your stomach is cheese? 06:55:59 I seem to remember someone complaining about the level of cheese quality in .us on there 06:56:02 err, here 06:56:37 That wasn't me. 06:59:15 -!- r2q2 [n=user@c-71-228-37-14.hsd1.il.comcast.net] has quit [Remote closed the connection] 06:59:34 -!- rtra [n=rtra@unaffiliated/rtra] has quit [Remote closed the connection] 06:59:59 I love Cheese 07:00:21 Adamant, as for cheese being the way to my stomach - many go down, but few return to the sunlit lands. 07:02:48 oh, cow 07:02:52 worker 07:02:54 I get it now. 07:02:59 -!- Debolaz [n=debolaz@nat.andersberle.com] has quit ["Leaving"] 07:09:06 -!- mejja [n=user@c-4db6e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit ["roquefort is a sheep milk cheese..."] 07:09:11 MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has joined #scheme 07:19:33 yay 07:31:37 tizoc_ [n=user@r190-135-16-112.dialup.adsl.anteldata.net.uy] has joined #scheme 07:35:41 -!- tizoc [n=user@r190-135-7-103.dialup.adsl.anteldata.net.uy] has quit [Read error: 60 (Operation timed out)] 07:47:49 hadronzoo [n=hadronzo@user-0c8h205.cable.mindspring.com] has joined #scheme 08:12:47 -!- MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has left #scheme 08:14:03 -!- Daeken [n=foo@c-24-99-122-104.hsd1.ga.comcast.net] has quit [] 08:25:20 schmalbe [n=bernhard@p549A377D.dip0.t-ipconnect.de] has joined #scheme 08:28:17 I'm not if I overlooked it on docs.plt-scheme but I couldn't find it... can I do something like, (let ((text "some string")) and then use text in: (regexp #rx"" port) without having to explicitly state the text? not sure if I'm explaining it right... 08:30:48 hml [n=x@unaffiliated/hml] has joined #scheme 08:32:02 I've tried it doesn't seem to accept that in the #rx statement... like, it wants an explicit string... anyone have an idea around that? my goal to send to the regexer a dynamic variable, or updated so that "text" can be something different at different time 08:32:05 s 08:35:10 Night guys 08:35:23 Arelius: New Zealander? 08:35:54 Nah, as much as I would enjoy new zealand I live in california 08:36:06 Ah, so it's pretty late night over there. 08:36:12 12:30 08:36:15 Yeah? 08:36:18 Thought later. 08:36:25 you in new zealand? 08:36:36 In a week's time. 08:36:40 Currently in Europe. 08:36:42 Awesome! 08:36:56 Didn't realise there's only 3 hours difference between NZ and California. 08:37:02 What's the change of time-zone about? 08:37:32 Err...? 08:37:36 Yup, it's more of a latitude difference 08:37:44 Mhm. 08:37:49 why Euorpe->California 08:37:53 err 08:37:59 Europe->New Zealand 08:38:15 Living here, visiting there :) 08:38:35 Yes, that answers my question properlly.... 08:39:11 I saw these awesome Wedding photos taken in new-zealand earlier today.... 08:39:21 http://makelightreal.com/light-a-mountain/ 08:40:46 Looks like lake Pukake. 08:41:01 Esp. the third one. 08:41:28 Certainly that is. 08:41:55 Ah, he even writes about that, except he spells the name incorrectly. 08:42:14 Hehe 08:42:21 Interesting 08:42:26 No, actually it seems I know the wrong spelling. 08:42:29 Dang. 08:42:35 Hehe 08:43:16 Well have a good time! 08:43:22 Hm. Both are used, but Pukaki is more common. 08:43:31 Bloody Maoris :) 08:43:38 Yeah =P 08:43:39 Couldn't decide on a spelling. 08:43:55 I wonder if it's a translation from something... 08:44:13 It's just a Maori word. Probably means something. 08:44:32 OK. Off to breakfast. Have a good night in California :) 08:45:07 I've tried it doesn't seem to accept that in the #rx statement... like, it wants an explicit string... anyone have an idea around that? my goal to send to the regexer a dynamic variable, or updated so that "text" can be something different at different time 08:45:08 s 08:45:20 Take care 08:45:50 -!- Arelius [n=Indy@209.77.67.98] has quit ["Out for the night"] 08:46:04 -!- geckosen1tor [n=sean@c-24-8-193-190.hsd1.co.comcast.net] has quit [Read error: 110 (Connection timed out)] 08:53:45 -!- bombshelter13_ [n=bombshel@209-161-228-143.dsl.look.ca] has quit [Client Quit] 08:54:13 phao [n=phao@20158137141.user.veloxzone.com.br] has joined #scheme 08:54:43 dakeyras [n=dakeyras@pool-98-117-125-63.sttlwa.fios.verizon.net] has joined #scheme 09:01:49 peyt [n=pete@li6-11.members.linode.com] has joined #scheme 09:27:57 -!- dakeyras [n=dakeyras@pool-98-117-125-63.sttlwa.fios.verizon.net] has quit [] 09:32:42 hotblack23 [n=jh@p5B057C6B.dip.t-dialin.net] has joined #scheme 09:36:35 ejs [n=eugen@4-182-124-91.pool.ukrtel.net] has joined #scheme 09:50:32 -!- yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has quit [Read error: 113 (No route to host)] 09:53:38 -!- saccade_ [n=saccade@65.78.24.47] has quit ["This computer has gone to sleep"] 09:54:41 attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has joined #scheme 10:01:05 if anyone has a moment... I'm trying to figure out why this code crashes the environment: http://pastecode.com/19590 I assume it's going into an infinite loop but I don't know why... Assume that port is a valid input-port. I couldn't find a better way to advance the file-position other than what you see there... any ideas? 10:05:55 -!- kalven_ is now known as kalven 10:08:33 kalven, how are you? 10:09:49 I'm fine, how's the rum? 10:18:51 -!- ejs [n=eugen@4-182-124-91.pool.ukrtel.net] has quit [Read error: 104 (Connection reset by peer)] 10:36:58 -!- benny [n=benny@i577A19ED.versanet.de] has quit [Remote closed the connection] 10:40:21 benny [n=benny@i577A19ED.versanet.de] has joined #scheme 10:40:30 -!- CaptainMorgan [n=CaptainM@c-24-61-150-59.hsd1.ma.comcast.net] has quit [Remote closed the connection] 10:42:46 kib2 [n=kib@bd137-1-82-228-159-28.fbx.proxad.net] has joined #scheme 10:56:39 ramkrsna [n=ramkrsna@unaffiliated/ramkrsna] has joined #scheme 10:59:50 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 11:00:59 ejs [n=eugen@78.24.72.162] has joined #scheme 11:05:17 CaptainMorgan [n=CaptainM@c-24-61-150-59.hsd1.ma.comcast.net] has joined #scheme 11:06:18 yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has joined #scheme 11:19:13 nowhere_man [i=pierre@pthierry.pck.nerim.net] has joined #scheme 11:22:12 does any existing sscheme implemntations have good sandboxing? I want to run untrusted user scripts and be able to 1) limit their cpu usage 2) limit their memory usage and 3) intercept all system calls 11:22:26 -!- ejs [n=eugen@78.24.72.162] has quit ["This computer has gone to sleep"] 11:32:32 peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has joined #scheme 11:33:07 hml: check out the Chicken sandbox egg 11:34:32 hml: http://chicken.wiki.br/sandbox 11:36:18 -!- peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has quit [Client Quit] 11:46:04 hkBst [n=hkBst@gentoo/developer/hkbst] has joined #scheme 11:59:13 -!- ttmrichter [n=ttmricht@58.48.197.122] has quit [Read error: 145 (Connection timed out)] 12:02:37 ttmrichter [n=ttmricht@58.49.17.144] has joined #scheme 12:14:21 choas [n=lars@chello213047242097.tirol.surfer.at] has joined #scheme 12:15:31 -!- yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has quit [Read error: 113 (No route to host)] 12:20:34 -!- choas [n=lars@chello213047242097.tirol.surfer.at] has quit ["Changing server"] 12:36:38 -!- ramkrsna [n=ramkrsna@unaffiliated/ramkrsna] has quit [Read error: 113 (No route to host)] 12:41:50 -!- hadronzoo [n=hadronzo@user-0c8h205.cable.mindspring.com] has quit [] 12:42:36 higepon559 [n=taro@FL1-122-130-138-220.tky.mesh.ad.jp] has joined #scheme 12:42:53 yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has joined #scheme 12:44:10 Hi folks. 12:44:54 Is there anybody knows the status of srfi-97? 12:45:50 It seems to be stopped? 12:50:55 higepon559: it looks like it's neither final nor withdrawn; why not post to the mailing list? 12:52:45 Because I found this mail in mailing list archive, and there's no reply. 12:52:55 http://srfi.schemers.org/srfi-97/mail-archive/msg00044.html 12:54:09 puchacz [n=puchacz@87-194-5-99.bethere.co.uk] has joined #scheme 12:55:54 name [n=name@sburn/devel/name] has joined #scheme 12:58:34 sam_ [n=Sami__@hoasnet-fe1add00-113.dhcp.inet.fi] has joined #scheme 13:10:22 orgy` [n=ratm_@pD9FFC947.dip.t-dialin.net] has joined #scheme 13:17:05 -!- tizoc_ is now known as tizoc 13:30:13 -!- wasabi_ [n=wasabi@ntoska144121.oska.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 60 (Operation timed out)] 13:36:47 wasabi_ [n=wasabi@ntoska144121.oska.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 13:45:46 -!- hml [n=x@unaffiliated/hml] has quit [Remote closed the connection] 13:51:01 -!- benny [n=benny@i577A19ED.versanet.de] has quit [Read error: 113 (No route to host)] 13:53:20 -!- yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has quit [Read error: 110 (Connection timed out)] 14:03:21 -!- a1len [n=James@unaffiliated/a1len] has quit ["Lost terminal"] 14:04:07 -!- jgracin [n=jgracin@82.193.208.195] has quit [Remote closed the connection] 14:08:09 -!- DuClare [n=duclare@a81-197-106-84.elisa-laajakaista.fi] has quit [Remote closed the connection] 14:08:16 DuClare [n=duclare@a81-197-106-84.elisa-laajakaista.fi] has joined #scheme 14:09:52 Nshag [i=user@Mix-Orleans-105-4-28.w193-250.abo.wanadoo.fr] has joined #scheme 14:16:05 benny [n=benny@i577A0A42.versanet.de] has joined #scheme 14:19:30 drdo [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 14:27:47 hmmm, mzscheme/plt has quite bad preformance w.r.t apply, how does that come? is it that jit optimizisation fails? 14:28:11 amoe [n=amoe@cpc3-brig3-0-0-cust346.brig.cable.ntl.com] has joined #scheme 14:30:02 elmex: APPLY is slow in every implementation 14:31:05 is it possible to write a syntax-rules pattern that expands to multiple expressions without using BEGIN? i want to cause a side effect then expand to a definition. 14:31:27 ah yeah not possible 14:32:02 *amoe* thinks more 14:34:39 okay, some advice then: i'm implementing a DSL 14:35:17 i have a procedure define-command! which mutates a global 'environment' (an alist mapping names to procedures) 14:35:35 and a procedure call-command which applies them 14:37:45 i want to create a macro (define-command name expr) that registers the command using define-command! and then defines a procedure (in the scheme environment) called NAME that is essentially a shortcut for writing (call-command 'name). 14:37:55 is this totally braindead? 14:41:42 -!- drdo [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Remote closed the connection] 14:42:40 i guess it's impossible, because the expansion would repeatedly perform the mutation. 14:43:06 so i would need to break hygiene for this, correct? 14:44:00 actually that doesn't make sense 14:44:01 bzzbzz [n=franco@modemcable027.191-81-70.mc.videotron.ca] has joined #scheme 14:44:14 *leppie* is too braindead to help, but i dont think such drastic measures would be needed 14:45:13 so want to do something like (begin expr (define foo)) ? 14:45:36 yeah, pretty much 14:45:40 but afaik that won't work 14:45:47 it will 14:45:56 oh shit it did 14:45:57 expr just need to be in a define form 14:46:00 nm 14:46:09 :) 14:46:39 begin splices while in a 'definition' context 14:46:43 thanks leppie :) 14:47:13 also excuse my profanity, the shock got to me 14:47:28 lol 14:49:12 athos [n=philipp@92.250.204.223] has joined #scheme 14:53:46 hmmmm. what i want to write is this: 14:53:59 (define-syntax test (syntax-rules () ((test) (begin (printf "foo\n") (define (bar) 4))))) 14:54:15 (sorry, replace the printf with display in your head) 14:54:49 (test) should then output foo 14:55:11 but calling (bar) afterwards => reference to undefined identifier :( 14:55:45 but (begin expr (define blah ...)) works at the toplevel... 14:57:26 you need to wrap (define dummy (printf "foo\n")) 14:59:34 -!- kib2 [n=kib@bd137-1-82-228-159-28.fbx.proxad.net] has quit ["Quitte"] 14:59:41 hmm, still bar is undefined after the macro call 15:00:10 ahh, thats beccause you never introduced bar :p 15:00:34 (define-syntax test (syntax-rules () ((test bar) (begin (printf "foo\n") (define (bar) 4))))) 15:00:42 now call (test bar) 15:01:00 drdo [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 15:01:29 :) 15:01:45 if you want to define bar not like that, you will have to intoduce it via bending the hygiene 15:01:56 -!- kaaah [n=karim@joondalup.davromaniak.eu] has left #scheme 15:02:15 nah, i don't need to break hygiene for this :) 15:02:21 with (datum->syntax #'test #'bar) 15:03:57 MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has joined #scheme 15:11:12 PongoTwistleton [n=nobody@194.199.143.58] has joined #scheme 15:11:47 -!- PongoTwistleton [n=nobody@194.199.143.58] has quit [Remote closed the connection] 15:13:07 mtrimpe [n=mtrimpe@d107110.upc-d.chello.nl] has joined #scheme 15:13:15 drdo` [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 15:27:20 -!- drdo [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Connection timed out] 15:28:11 -!- amoe [n=amoe@cpc3-brig3-0-0-cust346.brig.cable.ntl.com] has left #scheme 15:28:49 -!- wasabi_ [n=wasabi@ntoska144121.oska.nt.ftth.ppp.infoweb.ne.jp] has quit ["Leaving..."] 15:42:58 GreyLensma1 [n=ray@c-76-108-235-51.hsd1.fl.comcast.net] has joined #scheme 15:43:48 -!- drdo` is now known as drdo 15:57:57 wasabi_ [n=wasabi@ntoska144121.oska.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 16:06:32 -!- kniu [n=kniu@CMU-301252.WV.CC.CMU.EDU] has quit [Connection timed out] 16:14:40 replor [n=replor@ntkngw375028.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 16:17:34 sdda [n=qfq@85.96.156.123] has joined #scheme 16:19:37 sdda pasted "Continuation " at http://paste.lisp.org/display/71221 16:21:13 hey i study on Continuation.I am sure at least my sense is true about Continuation.and i am not advanced in scheme.Can anyone help me to find out my mistake 16:25:37 -!- pjdelport [n=pjd@ampere.divmod.com] has quit [Remote closed the connection] 16:28:00 nobody answered me :/ 16:31:00 mayeb a brace error? 16:32:04 -!- higepon559 [n=taro@FL1-122-130-138-220.tky.mesh.ad.jp] has quit [Read error: 113 (No route to host)] 16:37:05 brace error ? 16:37:37 you perhaps have a parentehsis at the wrong place 16:39:58 yes i guess but i try to set paranthesis correctly but i cannot do it. 16:40:46 i guess i have problem (lambda(x) (compose cont (comb (car l)))) cont))) in that line.But as i said i cannot find 16:41:22 Do you understand the error message? 16:41:37 yes 16:41:40 i understand 16:41:48 drdo` [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 16:41:52 error message said function 4 variable you give 5 16:42:15 -!- drdo [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Read error: 60 (Operation timed out)] 16:42:16 So you are passing an extra parameter. Don't do that. 16:42:59 hmm you said id ? 16:44:34 first parameter is f. second parameter is nv. third parameter is (cdr l). fourth parameter is (lambda (x) ...). fifth parameter is cont. One of these doesn't belong here. 16:44:55 sdda pasted "Continuation " at http://paste.lisp.org/display/71224 16:45:24 Daemmerung, can you at my new paste 16:45:48 You're making the same mistake. 16:46:24 the way you are calling the function recusrsively is wrong i guess 16:47:26 If you define a procedure of four arguments, you cannot subsequently call that same procedure with five arguments. You must call the procedure with the same number of arguments as its definition. 16:47:57 my subject is Continuation passing style.My teacher said it is like tail recursion.You must add an extra parameter called cont and you suld use this. 16:48:07 You need to talk to your teacher. 16:48:32 sorry 16:48:35 sdda: You can't add an extra parameter just by passing it 16:48:41 You also need to add it to the procedure definition 16:50:02 It's not a mechanical thing, sdda. You need to understand just what the `cont' being passed is doing. 16:50:34 how can i do that ? I am newbie.And i cannot find my mistake.Pls some help. And in adittion first paramete comb,second parameter nv third paramether cdr l fourth paramether is (lambda(x) (compose cont (comb (car l) cont )))))).Can i make mistake with paranthesis ? 16:51:23 yes, because what you just said, does not match what you pasted 16:51:48 also, that last parameter has an awful lot of right parentheses. it is meaningless as typed. 16:52:39 At a guess, you should not be passing both the (lambda (x) ...) -- which I gather you intend to be the new continuation -- AND the `cont' from the procedure's original invocation. Only one of those is the new continuation. 16:53:00 (that based on your paste, not on your typing) 16:53:38 Daemmerung, actually my english is not very good.I know this is not you problem but can you explain more clearly 16:53:59 the line that is commented out looks correct , syntactically 16:54:17 yes i know 16:54:27 i try to this with lambda 16:54:39 i mean lambda(x) 16:54:42 -!- drdo` is now known as drdo 16:56:00 sdda: in the recursive call, what purpose does your (lambda (x) ...) serve? 16:56:20 i think he want to get rid of the curry bit 16:57:49 -!- hkBst [n=hkBst@gentoo/developer/hkbst] has quit [Read error: 104 (Connection reset by peer)] 16:58:17 leppie, yes. Daemmerung my understanding is that lambda(x) --> creates a function nameless function with one parameter and i want to make cont as x in my paste because inside lambda cont takes some value and i thought i must send cont value to x 16:58:53 `x'? 16:59:02 hkBst [n=hkBst@gentoo/developer/hkbst] has joined #scheme 16:59:36 (lambda(x) (compose cont (comb (car l)))) cont))) --> x of lambda 17:00:05 sdda, look at what you just typed. That is not a single expression. That is two expressions and a pile of extra right parentheses. 17:01:18 -!- araujo [n=araujo@gentoo/developer/araujo] has quit ["Leaving"] 17:03:45 continuation passing style is very different from call/cc I'd say.... The latter is a mechanism to use the former to continue a procedure. 17:04:38 -!- sladegen [n=nemo@unaffiliated/sladegen] has quit [Read error: 60 (Operation timed out)] 17:07:30 -!- schmalbe [n=bernhard@p549A377D.dip0.t-ipconnect.de] has quit [Remote closed the connection] 17:08:16 i understand to do with curry but i should understand how to do it with lambda 17:08:56 -!- orgy` [n=ratm_@pD9FFC947.dip.t-dialin.net] has quit [Remote closed the connection] 17:11:51 I don't know what curry is. 17:12:39 With lambda you go (lambda (x,next) etc etc etc (next a b c)) to use CPS 17:12:45 sladegen [n=nemo@unaffiliated/sladegen] has joined #scheme 17:13:56 orgy` [n=ratm_@pD9FFC947.dip.t-dialin.net] has joined #scheme 17:13:58 augh 17:14:07 (lambda (x next) etc etc etc (next a b c)) to use CPS 17:18:55 synx, good luck. My cleaning power is all used up. 17:20:38 I have plenty of cleaning power suction left. 17:22:18 https://synx.us.to/code/cps.ss <-- I...think that's CPS... 17:23:14 Maybe I have to compartmentalize step2 step3 and step4 into a single lambda that only takes a b and c... 17:28:57 -!- forcer [n=forcer@f054127076.adsl.alicedsl.de] has quit [Read error: 60 (Operation timed out)] 17:32:39 -!- sdda [n=qfq@85.96.156.123] has quit [Read error: 110 (Connection timed out)] 17:33:27 benny99 [n=bebenny@p5486D9CE.dip.t-dialin.net] has joined #scheme 17:33:50 sdda [n=qfq@85.102.164.59] has joined #scheme 17:34:12 currying is where you pass only some of the arguments to a function, creating a function which takes the rest of the arguments 17:34:36 illustrated in SML: fun f a b = a + b; val g = f 1; (* g is now a function from int -> int *) 17:34:51 i know curry i understand whole curry :fulD.Curry is very use 17:34:57 curry is very useful 17:35:19 curry can take n paramethers 17:35:40 (infinite variable) I guss 17:35:42 i guess 17:36:19 Elly, but my point is to make CPS with lambda.Where is my mistake i cannt find it. 17:36:59 fnord1231 [n=fnord123@host81-159-182-21.range81-159.btcentralplus.com] has joined #scheme 17:39:44 -!- fnord1231 [n=fnord123@host81-159-182-21.range81-159.btcentralplus.com] has quit ["Leaving."] 17:39:48 fnord123 [n=fnord123@host81-159-182-21.range81-159.btcentralplus.com] has joined #scheme 17:40:14 peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has joined #scheme 17:40:43 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 17:41:06 at least someone suggest a web address for CPS i am googling but i am not advanced for googling as much as you. :D 17:41:46 what is this code supposed to do? 17:44:12 -!- athos [n=philipp@92.250.204.223] has quit ["leaving"] 17:44:37 drdo` [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 17:45:12 athos [n=philipp@92.250.204.223] has joined #scheme 17:50:47 Elly, code is CPS style of fold.And i try to add an extra variable cont and use this in fold function.Thats just it.I try to use cont in lambda(x) 17:50:59 sdda, like this? http://en.wikipedia.org/wiki/Continuation-passing_style 17:51:03 lambda(x) compose cont (f (car l) blah blah 17:51:18 what did you google for? 17:51:48 yes 17:52:06 google for "continuation passing style" instead of "CPS" 17:52:16 i try both 17:52:29 so you didnt see that link when you googled yourself? 17:52:39 its the first link to come up with "continuation passing style" 17:52:41 actually CPS scheme,continuation passing style scheme 17:53:11 ok, its the 3rd link with the one you tried "continuation .. scheme" 17:53:24 but the first two look good too 17:53:51 you are right 17:54:23 i see google books 17:54:56 but this is not scheme 17:55:17 on what page 17:55:21 the wikjipedia page has scheme code 17:55:47 -!- errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Connection timed out] 17:56:26 -!- replor is now known as hoho 17:57:48 kniu [n=kniu@LEMON.RES.CMU.EDU] has joined #scheme 17:59:11 no 17:59:39 sdda: http://web.archive.org/web/20040804101901/http://www.bloodandcoffee.net/campbell/txt/continuation-tutorial.log 17:59:40 -rudybot:#scheme- http://tinyurl.com/64592d 17:59:54 http://books.google.com/books?hl=en&id=3RjLXL2DTEoC&dq=continuation+passing+style&printsec=frontcover&source=web&ots=MtEg5Ch78s&sig=HFRUDB4BqZBoTly7fz2F3ZEkfok&sa=X&oi=book_result&resnum=2&ct=result#PPA3,M1 this is for CPS but not for scheme 17:59:54 -rudybot:#scheme- http://tinyurl.com/63936c 17:59:58 -!- drdo [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Connection timed out] 18:01:24 Huh, curry 18:01:29 curry can be defined in terms of lambda. 18:03:47 yes 18:03:53 i wrote curry :D 18:04:01 and i am able to use that 18:11:57 https://synx.us.to/code/cps.ss uses curry now, for hopefully better CPS style... 18:17:51 fnord1231 [n=fnord123@host86-164-115-222.range86-164.btcentralplus.com] has joined #scheme 18:18:03 sdda pasted "Continuation " at http://paste.lisp.org/display/71227 18:18:20 synx, actually i have no problem with curry 18:18:31 i understand curry perfectly 18:19:00 i face problem with lambda.And i try to use lambda.Because i need to learn lambda "how to use" etc. 18:19:04 can you look my code 18:19:50 fnord1232 [n=fnord123@host86-164-115-222.range86-164.btcentralplus.com] has joined #scheme 18:20:51 -!- fnord1231 [n=fnord123@host86-164-115-222.range86-164.btcentralplus.com] has quit [Client Quit] 18:27:10 -!- phao [n=phao@20158137141.user.veloxzone.com.br] has quit [Read error: 60 (Operation timed out)] 18:28:15 your code does not do anything. It just defines two named procedures. 18:29:45 hmm 18:29:59 what must i do ? pls i am very newbie. 18:30:53 -!- fnord123 [n=fnord123@host81-159-182-21.range81-159.btcentralplus.com] has quit [Read error: 110 (Connection timed out)] 18:33:05 -!- GreyLensma1 [n=ray@c-76-108-235-51.hsd1.fl.comcast.net] has left #scheme 18:37:17 sdda pasted "Continuation " at http://paste.lisp.org/display/71229 18:37:28 synx, 18:37:56 i am not sure but i guess i did it.jus i find a cure to procedure can look my paste 18:38:41 What are you trying to do? 18:40:28 phao [n=phao@20158137141.user.veloxzone.com.br] has joined #scheme 18:42:18 hmm i try to make (comb (car l) (lambda (x) result of (comb (car l) -->x than (fold-cont comb nv (cdr l) x (lambda(y) --> (fold-cont comb nv (cdr l) x to y than y count y yo 18:43:37 hmm i try to make (comb (car l) (lambda (x) result of "(comb (car l)" -->x than (fold-cont comb nv (cdr l) x (lambda(y) --> result of "(fold-cont comb nv (cdr l) x" to y than y to count 18:44:38 so you want to display the list, or what? 18:44:47 may need to sprinkle a few more close parens in there, champ 18:45:20 for example (foldr cons null '(1 2 3 4 5) id) --> (1 2 3 4 5) i want this 18:45:32 close parens where 18:45:35 -!- offby1` is now known as offby1 18:46:56 Oh, so you are trying to implement foldr, using continuation passing style? 18:51:48 yes 18:51:54 yes exactly 18:52:08 actually i implement fold function with CPS. 18:52:17 but fold works like foldr i guess 18:54:24 http://paste.lisp.org/display/71229 i guess this is true style but i dont understand the output 1. procedure why is like that 18:55:44 Debolaz [n=debolaz@nat.andersberle.com] has joined #scheme 19:06:21 drdo`` [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 19:07:31 -!- drdo`` is now known as drdo 19:18:51 sdda pasted "Continuation " at http://paste.lisp.org/display/71231 19:18:56 olgen [n=jacobm@0x535f66c5.bynxx14.dynamic.dsl.tele.dk] has joined #scheme 19:19:05 hey someone there 19:21:29 -!- drdo` [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Connection timed out] 19:23:29 sdda, what 19:23:40 looks like you tried to make some sort of lazy cons thing 19:24:57 it can be.I just try to do CPS styleçI mean i try to write fold with CPS 19:28:34 luz [n=davids@201.29.181.145] has joined #scheme 19:28:48 -!- umis [n=umis@prudent-gloryer.volia.net] has quit [] 19:29:33 -!- luz [n=davids@201.29.181.145] has quit [Client Quit] 19:31:20 tizoc_ [n=user@r190-135-60-70.dialup.adsl.anteldata.net.uy] has joined #scheme 19:32:34 Mr_SpOOn [n=Mr_SpOOn@89-97-102-218.ip17.fastwebnet.it] has joined #scheme 19:33:23 elias` [n=me@unaffiliated/elias/x-342423] has joined #scheme 19:47:48 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 19:49:13 -!- tizoc [n=user@r190-135-16-112.dialup.adsl.anteldata.net.uy] has quit [Read error: 110 (Connection timed out)] 19:49:15 pfo [n=pfo@chello084114049188.14.vie.surfer.at] has joined #scheme 19:51:13 Write fold-one that does one step of the fold, and takes itself as a continuation to pass. 19:54:23 yagur [n=yyaaa@211.109.158.113] has joined #scheme 19:57:32 jcowan [n=jcowan@dsl-216-227-83-253.taconic.net] has joined #scheme 19:58:32 JohnnyL [i=JohnnyL@ool-182ddad4.dyn.optonline.net] has joined #scheme 19:58:40 *jcowan* unvanishes. 20:00:31 -!- phao [n=phao@20158137141.user.veloxzone.com.br] has quit ["Leaving"] 20:03:46 -!- pfo [n=pfo@chello084114049188.14.vie.surfer.at] has quit [Remote closed the connection] 20:05:15 drdo` [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 20:06:00 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #scheme 20:08:15 -!- benny99 [n=bebenny@p5486D9CE.dip.t-dialin.net] has quit ["Ex-Chat"] 20:10:16 -!- drdo [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Read error: 60 (Operation timed out)] 20:10:43 bombshelter13 [n=bombshel@209-161-228-143.dsl.look.ca] has joined #scheme 20:12:50 bombshel1er13 [n=bombshel@209-161-228-143.dsl.look.ca] has joined #scheme 20:16:00 bombshel2er13 [n=bombshel@209-161-228-143.dsl.look.ca] has joined #scheme 20:19:56 -!- sdda [n=qfq@85.102.164.59] has quit [Read error: 113 (No route to host)] 20:20:45 jgracin [n=jgracin@82.193.208.195] has joined #scheme 20:25:15 bombshel3er13 [n=bombshel@209-161-228-143.dsl.look.ca] has joined #scheme 20:25:31 bombshel4er13 [n=bombshel@209-161-228-143.dsl.look.ca] has joined #scheme 20:26:07 araujo [n=araujo@gentoo/developer/araujo] has joined #scheme 20:32:33 -!- rdd [n=user@c83-250-142-219.bredband.comhem.se] has quit [Connection timed out] 20:34:28 -!- peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has quit [] 20:39:13 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 20:40:10 poof 20:43:29 fnord123 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has joined #scheme 20:43:45 peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has joined #scheme 20:43:45 -!- peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has quit [Remote closed the connection] 20:44:17 peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has joined #scheme 20:46:18 no, foop 20:48:46 -!- fnord1232 [n=fnord123@host86-164-115-222.range86-164.btcentralplus.com] has quit [Read error: 110 (Connection timed out)] 20:52:28 -!- peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has quit [] 20:54:34 saccade_ [n=saccade@dhcp-18-188-73-185.dyn.mit.edu] has joined #scheme 20:55:37 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #scheme 20:57:26 Jarvellis [n=jarv@dsl-217-155-101-22.zen.co.uk] has joined #scheme 21:06:17 a1len [n=James@unaffiliated/a1len] has joined #scheme 21:06:32 -!- jgracin [n=jgracin@82.193.208.195] has quit [Remote closed the connection] 21:08:40 Mr eli! 21:08:42 Mr PLT! 21:09:10 I was gonna make a suggestion but I guess I should report it as a bug. 21:15:46 -!- tizoc_ is now known as tizoc 21:17:40 aneqrs [n=andreas@c83-253-104-206.bredband.comhem.se] has joined #scheme 21:24:33 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 21:26:36 Hello everyone. 21:27:09 -!- aneqrs [n=andreas@c83-253-104-206.bredband.comhem.se] has quit [] 21:27:49 yeah yeah 21:27:58 -!- fnord123 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has quit [Read error: 60 (Operation timed out)] 21:28:49 *jcowan* observes the double positive in action. 21:32:54 oh, indeed. 21:42:17 -!- jcowan [n=jcowan@dsl-216-227-83-253.taconic.net] has quit ["Leaving"] 21:43:06 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #scheme 21:44:18 aneqrs [n=andreas@c83-253-104-206.bredband.comhem.se] has joined #scheme 22:02:25 vasa [n=vasa@mm-186-89-84-93.dynamic.pppoe.mgts.by] has joined #scheme 22:02:44 fnord123 [n=fnord123@host217-42-143-207.range217-42.btcentralplus.com] has joined #scheme 22:09:40 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 22:16:26 -!- jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has quit [Read error: 145 (Connection timed out)] 22:19:45 annodomini [n=lambda@pool-141-154-225-78.bos.east.verizon.net] has joined #scheme 22:24:33 -!- kniu [n=kniu@LEMON.RES.CMU.EDU] has quit [Remote closed the connection] 22:24:57 kniu [n=kniu@LEMON.RES.CMU.EDU] has joined #scheme 22:25:28 -!- kniu [n=kniu@LEMON.RES.CMU.EDU] has quit [Remote closed the connection] 22:25:55 kniu [n=kniu@LEMON.RES.CMU.EDU] has joined #scheme 22:26:56 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #scheme 22:33:24 -!- aneqrs [n=andreas@c83-253-104-206.bredband.comhem.se] has quit [] 22:33:48 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 22:33:55 jonrafkind [n=jon@c-67-186-250-110.hsd1.co.comcast.net] has joined #scheme 22:34:03 mejja [n=user@c-4db6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 22:41:32 -!- attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has quit [Read error: 113 (No route to host)] 22:45:32 -!- vasa [n=vasa@mm-186-89-84-93.dynamic.pppoe.mgts.by] has quit ["I am not vasya, i am vasa"] 22:46:58 aneqrs [n=andreas@c83-253-104-206.bredband.comhem.se] has joined #scheme 22:47:29 -!- aneqrs [n=andreas@c83-253-104-206.bredband.comhem.se] has quit [Read error: 104 (Connection reset by peer)] 22:47:32 __name__ [n=name@sburn/devel/name] has joined #scheme 22:48:02 -!- Kusanagi [n=Motoko@unaffiliated/kusanagi] has quit [] 22:48:33 -!- name [n=name@sburn/devel/name] has quit [Nick collision from services.] 22:48:41 -!- __name__ is now known as name 22:51:30 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #scheme 22:52:11 rdd [n=rdd@c83-250-142-219.bredband.comhem.se] has joined #scheme 22:53:42 aneqrs [n=andreas@c83-253-104-206.bredband.comhem.se] has joined #scheme 22:57:49 -!- hotblack23 [n=jh@p5B057C6B.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 22:59:11 Arelius [n=Indy@209.77.67.98] has joined #scheme 22:59:23 whats the opposite of not 22:59:35 do I really have to write (lambda (x) (not (not x)) ? 23:00:22 if I have a function that execs something else: (define (run-func) (exec test-func)) What would be a good default value for test-func.. a noop of sorts? 23:00:47 hm, nm. i was doing the wrong thing anyway 23:00:50 jonrafkind: (lambda (x) x) 23:00:57 jonrafkind: haha that's a conundrum 23:01:24 yea probably (lambda (x) x) is better 23:01:29 augustbankr [n=augustba@68-116-166-32.dhcp.oxfr.ma.charter.com] has joined #scheme 23:01:46 Arelius: No, that produces a different result than jonrafkind's lambda, depending 23:01:53 well the lack of not is it's opposite 23:02:33 Maybe. 23:03:07 (lambda (x) #f) 23:03:18 (; 23:03:26 sladegen: how is that anything simular? 23:03:39 synx: Only due to typing I figure 23:03:47 at least it's always boolean... 23:03:50 Kusanagi [n=Motoko@unaffiliated/kusanagi] has joined #scheme 23:04:36 (lambda (x) (if x #t #f)) 23:05:28 lelf [n=lelf@217.118.90.224] has joined #scheme 23:06:58 I think in most circumstances you don't have to force it too a bool though 23:07:50 you're entirely correct I'd say. 23:08:34 could also do a (lambda (x) (eqv? x #t)) I figure 23:13:55 Hey Cornlius. 23:14:45 synthasee [n=synthase@c-68-63-76-191.hsd1.al.comcast.net] has joined #scheme 23:15:43 more like (not (eqv? x #f))... 23:16:38 ... 23:16:45 yeah 23:17:17 Isn't that the same though 23:17:30 considering everything that is not #f evals to #t 23:17:38 or does eqv not work like that? 23:18:03 rudybot: eval (eqv? '() #f) 23:18:03 sladegen: ; Value: #f 23:18:20 oops 23:18:34 rudybot: eval (eqv? '() #t) 23:18:35 sladegen: ; Value: #f 23:18:44 rudybot: eval (not (eqv? '() #f)) 23:18:44 sladegen: ; Value: #t 23:19:23 but yeah... the only false value in scheme is #f. 23:19:26 Arelius: stuff that is not #f does NOT eval to #t 23:19:37 ohh 23:20:22 I suppose that makes sense 23:20:24 rudybot: eval 3 23:20:25 hkBst: ; Value: 3 23:20:32 Arelius: see ^ 23:20:35 Yeah 23:20:38 Sorry, my mistake 23:21:04 I thought eqv? against a bool might have evaluated the other as a bool 23:22:26 -!- Kusanagi [n=Motoko@unaffiliated/kusanagi] has quit [] 23:26:07 anyone know why (regexp-match (regexp "\\w") "a") returns #f? in plt scheme 23:26:24 -!- pchrist [n=spirit@gentoo/developer/pchrist] has quit ["leaving"] 23:26:55 pchrist [n=spirit@gentoo/developer/pchrist] has joined #scheme 23:27:30 -!- fnord123 [n=fnord123@host217-42-143-207.range217-42.btcentralplus.com] has quit ["Leaving."] 23:27:56 peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has joined #scheme 23:29:09 -!- Arelius [n=Indy@209.77.67.98] has quit [] 23:31:27 fnord123 [n=fnord123@host217-42-143-207.range217-42.btcentralplus.com] has joined #scheme 23:32:54 -!- sam_ [n=Sami__@hoasnet-fe1add00-113.dhcp.inet.fi] has quit [] 23:33:40 Kusanagi [n=Motoko@unaffiliated/kusanagi] has joined #scheme 23:34:39 fnord1231 [n=fnord123@host86-151-2-154.range86-151.btcentralplus.com] has joined #scheme 23:38:53 -!- aneqrs [n=andreas@c83-253-104-206.bredband.comhem.se] has quit [] 23:41:35 -!- Nshag [i=user@Mix-Orleans-105-4-28.w193-250.abo.wanadoo.fr] has quit ["Quitte"] 23:49:53 rudybot: eval (regexp-match (regexp "\\w") "\\w") 23:49:54 synx: ; Value: ("w") 23:51:33 jonrafkind: \\w is part of pregexp, not regexp 23:52:30 rudybot: eval (regexp-match (pregexp "\\w") "a") 23:52:31 synx: ; Value: ("a") 23:52:41 rudybot: eval (regexp-match #px"\\w" "a") 23:52:42 Daemmerung: ; Value: ("a") 23:53:00 neat! 23:55:05 -!- augustbankr [n=augustba@68-116-166-32.dhcp.oxfr.ma.charter.com] has quit ["Leaving"] 23:55:10 (How does one debug a regular expression, anyway?) 23:55:21 -!- fnord123 [n=fnord123@host217-42-143-207.range217-42.btcentralplus.com] has quit [Read error: 110 (Connection timed out)] 23:55:44 exactly, Daemmerung 23:57:25 -!- lelf [n=lelf@217.118.90.224] has quit ["used jmIrc"] 23:58:44 athos_ [n=philipp@92.250.204.223] has joined #scheme