00:06:10 -!- rramsden [~rramsden@s64-180-62-209.bc.hsia.telus.net] has quit [Quit: Leaving] 00:10:46 -!- pdelgallego_ [~pdelgalle@1385159903.dhcp.dbnet.dk] has quit [Read error: Operation timed out] 00:11:41 -!- pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has quit [Ping timeout: 258 seconds] 00:12:48 -!- Euthydemus [~euthydemu@vaxjo3.208.cust.blixtvik.net] has quit [Quit: leaving] 00:13:47 -!- Nshag [~none@AClermont-Ferrand-551-1-76-211.w92-143.abo.wanadoo.fr] has quit [Read error: Connection reset by peer] 00:15:44 Euthydemus [~euthydemu@vaxjo3.208.cust.blixtvik.net] has joined #scheme 00:16:15 -!- Euthydemus [~euthydemu@vaxjo3.208.cust.blixtvik.net] has quit [Read error: Connection reset by peer] 00:17:18 Euthydemus [~euthydemu@vaxjo3.208.cust.blixtvik.net] has joined #scheme 00:19:09 -!- Euthydemus [~euthydemu@vaxjo3.208.cust.blixtvik.net] has quit [Read error: Connection reset by peer] 00:22:17 Euthydemus [~euthydemu@vaxjo3.208.cust.blixtvik.net] has joined #scheme 00:26:15 -!- peddie [~peddie@18.181.2.107] has quit [Ping timeout: 258 seconds] 00:26:53 -!- Euthydemus [~euthydemu@vaxjo3.208.cust.blixtvik.net] has quit [Ping timeout: 252 seconds] 00:27:18 Euthydemus [~euthydemu@87.96.150.208] has joined #scheme 00:30:26 -!- Euthydemus [~euthydemu@87.96.150.208] has quit [Client Quit] 00:37:46 iAmerikan [~JohnnyTru@173.160.135.89] has joined #scheme 00:55:58 peddie [~peddie@18.181.2.107] has joined #scheme 00:58:55 -!- sashimiblade [~sashimibl@c-71-61-119-91.hsd1.oh.comcast.net] has quit [Ping timeout: 246 seconds] 00:59:20 -!- ckrailo [~ckrailo@208.86.167.249] has quit [Quit: Computer has gone to sleep.] 01:05:38 -!- drdo` is now known as drdo 01:11:33 -!- carleastlund [~cce@gotham.ccs.neu.edu] has quit [Quit: carleastlund] 01:14:45 -!- peddie [~peddie@18.181.2.107] has quit [Ping timeout: 260 seconds] 01:19:42 -!- pygospa [~TheRealPy@kiel-5f768927.pool.mediaWays.net] has quit [Disconnected by services] 01:19:54 pygospa [~TheRealPy@kiel-4dbedc59.pool.mediaWays.net] has joined #scheme 01:25:56 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Quit: Adamant] 01:28:58 xwl_ [~user@nat/nokia/x-voscyksebkfdfmsu] has joined #scheme 01:32:57 ckrailo [~ckrailo@utdpat242007.utdallas.edu] has joined #scheme 01:33:09 -!- masm [~masm@2.80.169.236] has quit [Ping timeout: 248 seconds] 01:33:48 aidalgol [~user@202.36.179.68] has joined #scheme 01:34:11 ddp [~ddp@58.137.63.55] has joined #scheme 01:35:26 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 01:35:26 peddie [~peddie@XVM-107.MIT.EDU] has joined #scheme 01:42:25 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Ping timeout: 252 seconds] 01:43:22 masm [~masm@bl19-169-236.dsl.telepac.pt] has joined #scheme 01:43:49 Nisstyre [~nisstyre@infocalypse-net.info] has joined #scheme 01:46:47 -!- Bahman [~Bahman@2.144.245.203] has quit [Quit: Leaving] 01:48:40 -!- peddie [~peddie@XVM-107.MIT.EDU] has quit [Ping timeout: 258 seconds] 01:52:37 peddie [~peddie@XVM-107.MIT.EDU] has joined #scheme 02:00:41 luft [~luft@ip68-97-2-172.ok.ok.cox.net] has joined #scheme 02:00:47 hi 02:01:21 -!- masm [~masm@bl19-169-236.dsl.telepac.pt] has quit [Read error: Operation timed out] 02:01:44 hello 02:02:01 I'm having trouble with the let operator 02:02:19 well, lots of operators in scheme, but lets stick with let at the moment 02:02:24 geoffhill [~geoffhill@c-24-12-189-238.hsd1.il.comcast.net] has joined #scheme 02:02:28 luft, did you let it smell fear when you originally approached it? If so, you're pretty much pooched. 02:02:42 I want to do (let (map) (+ x x)) 02:02:43 haha 02:02:56 with map defined elsewhere as ((x 0)) 02:03:05 luft, before we start diagnosing your code, can you describe in english what you're trying to accomplish? 02:03:25 hmm 02:03:44 One sentence or so should be fine. Less than one sentence can also be useful, but generally that's the exception rather than the rule. 02:04:03 I want to define map as ((x 0)) without scheme trying to evaluate x yet. 02:04:40 ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has joined #scheme 02:04:43 What do you mean "define map"? MAP already has a definition. 02:04:53 -!- Hal9k [~Lernaean@unaffiliated/kusanagi] has quit [Ping timeout: 246 seconds] 02:04:57 -!- EarlGray [~dmytrish@inherent.puzzler.volia.net] has quit [Remote host closed the connection] 02:05:04 er well, we'll name it something else then 02:05:13 like 'z' 02:05:19 -!- pdlogan [~patrick@c-76-27-203-101.hsd1.or.comcast.net] has quit [Ping timeout: 252 seconds] 02:05:26 EarlGray [~dmytrish@inherent.puzzler.volia.net] has joined #scheme 02:05:32 (let ((adorable-kitten 0)) (+ adorable-kitten adorable-kitten)) ? 02:06:10 yeah, something like that, but I don't want to have that ((adorable-kitten 0)) block hardcoded in there 02:06:21 How about this: 02:06:52 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 02:07:09 pdlogan [~patrick@c-76-27-203-101.hsd1.or.comcast.net] has joined #scheme 02:07:09 ((lambda (x) (let ((adorable-ticklish-baby-sloth x)) (+ adorable-ticklish-baby-sloth adorable-ticklish-baby-sloth))) 10) 02:07:17 -!- pdlogan [~patrick@c-76-27-203-101.hsd1.or.comcast.net] has left #scheme 02:07:32 Is that more or less what you want to accomplish? 02:07:40 closer yeah 02:08:00 Can you step back a moment, and explain what problem this desired use of LET is a subproblem of? 02:08:29 *gnomon* hands Riastradh a double armful of adorable ticklish baby sloths and kittens 02:08:57 *gnomon* hands Riastradh a spiny, venomous, ravenous sharktopus 02:10:00 I am given a function that has a series of subfunctions as its arguments. I am thinking that since I am not supposed to use variable definitions at all, I would use let to convert variables in the subarguments to their current value. 02:10:17 Hal9k [~Lernaean@24-107-60-232.dhcp.stls.mo.charter.com] has joined #scheme 02:10:19 -!- Hal9k [~Lernaean@24-107-60-232.dhcp.stls.mo.charter.com] has quit [Changing host] 02:10:20 Hal9k [~Lernaean@unaffiliated/kusanagi] has joined #scheme 02:10:30 that's what I've got in my head in the moment though i don't know if it will work 02:11:08 If this is a homework problem, luft, can you state exactly what the problem states, and then, in the context of that, describe the work you have done so far to solve it? 02:11:29 it's more of a project 02:11:47 but in essence, initially my program is fed two variables 02:11:52 prog and typemap 02:11:52 dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has joined #scheme 02:12:21 prog is a function like (block ( assignment (variable x) (value 1))) 02:12:42 typmap contains things like ((x int) (y bool)) 02:13:01 which I assume I can define int and bool as 0 and false respectively 02:13:24 You can define them to be anything you want. 02:13:45 my program is supposed to be built to run with (myprog prog typemap) 02:14:43 I made the assumption that I am supposed to do something like (let (typemap) (prog)) 02:15:20 LET is not appropriate for that, luft. It sounds as though you want to write an interpreter. 02:15:27 pretty much 02:15:36 You should lead with that, next time. 02:16:26 LET is not an interpreter; it won't help you here. 02:17:05 hmm I see 02:19:04 I better head to the library and hope the book has some more info on this for me then 02:19:04 mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has joined #scheme 02:20:11 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 252 seconds] 02:23:45 dnolen [~davidnole@184.152.69.75] has joined #scheme 02:24:27 luft, what kind of interpreter are you trying to write? 02:24:42 -!- iAmerikan [~JohnnyTru@173.160.135.89] has quit [Ping timeout: 240 seconds] 02:24:50 gnomon: GolfScript, surely? ;-) 02:25:51 What the world needs is another HQ9+ implementation! 02:26:16 gnomon: Lol. GolfScript is no HQ9+. 02:26:43 gnomon: It's actually a real programming language, _without_ prebuilt recipes for Hello World, quine, 99 bottles of beer, or anything else. 02:26:54 Pfft. What good is it? 02:27:05 Here's some of the fun things it can do: 02:27:44 10,{+}* # (fold + (iota 10)); just pretend that this form of fold takes the first list element as the seed value 02:28:13 Damn. I want to narrow a buffer, but only in one window. 02:30:27 -!- aidalgol [~user@202.36.179.68] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 02:30:30 gnomon: GolfScript has all the usual functions that functional programmers know and love, just compressed into one-character names. ;-) 02:32:41 cky, why would I use GolfScript instead of J (now that it's GPL'd!), Kona, or A+? 02:34:47 gnomon: I consider GolfScript more readable than J, but I will confess I haven't put any effort into learning J yet. 02:35:24 You can do so with a clear conscience, now that you can compile your own from source! 02:41:28 aidalgol [~user@202.36.179.68] has joined #scheme 02:41:35 GolfScript is easy to independently implement. :-) 02:41:53 gnomon: I've been meaning to write my own implementation in Scheme. 02:42:27 jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has joined #scheme 02:44:23 -!- ckrailo [~ckrailo@utdpat242007.utdallas.edu] has quit [Quit: Computer has gone to sleep.] 02:44:23 -!- jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has quit [Read error: Connection reset by peer] 02:44:57 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 02:48:28 common_tragedian [~common_tr@weir-02.slc.edu] has joined #scheme 02:51:02 -!- em is now known as emma 02:55:13 -!- ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has quit [Quit: Leaving] 02:58:37 -!- emporas [~emporas@athedsl-168289.home.otenet.gr] has quit [Ping timeout: 246 seconds] 03:02:08 vaasu [3bbfcaea@gateway/web/freenode/ip.59.191.202.234] has joined #scheme 03:03:48 hi, in dr-racket, in pretty printing, i dont mind pretty-print-columns are 'infinity, as long as the arguments are in a new indent, much like a tree, how can i pretty-print like this? 03:05:13 -!- xwl_ [~user@nat/nokia/x-voscyksebkfdfmsu] has quit [Remote host closed the connection] 03:05:54 iAmerikan [~JohnnyTru@c-71-227-245-40.hsd1.wa.comcast.net] has joined #scheme 03:09:54 xwl_ [~user@nat/nokia/x-ydihczdajuuhfngz] has joined #scheme 03:13:02 ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has joined #scheme 03:16:08 sashimiblade [~sashimibl@c-71-61-119-91.hsd1.oh.comcast.net] has joined #scheme 03:16:57 -!- vaasu [3bbfcaea@gateway/web/freenode/ip.59.191.202.234] has quit [Ping timeout: 252 seconds] 03:17:22 vaasu [3bbfcaea@gateway/web/freenode/ip.59.191.202.234] has joined #scheme 03:18:04 -!- rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has quit [Ping timeout: 264 seconds] 03:18:25 rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has joined #scheme 03:19:58 -!- peddie [~peddie@XVM-107.MIT.EDU] has quit [Ping timeout: 240 seconds] 03:20:40 -!- sashimiblade [~sashimibl@c-71-61-119-91.hsd1.oh.comcast.net] has quit [Ping timeout: 258 seconds] 03:28:10 copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has joined #scheme 03:28:10 -!- copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has quit [Changing host] 03:28:10 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 03:30:26 peddie [~peddie@XVM-107.MIT.EDU] has joined #scheme 03:46:25 -!- vaasu [3bbfcaea@gateway/web/freenode/ip.59.191.202.234] has quit [] 03:47:38 -!- peddie [~peddie@XVM-107.MIT.EDU] has quit [Ping timeout: 240 seconds] 03:49:06 -!- rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has quit [Ping timeout: 240 seconds] 03:50:25 rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has joined #scheme 03:52:32 jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has joined #scheme 03:54:28 coi 03:54:35 Yolk. 03:54:54 Egges, is it, or eyren? 03:58:54 rien_ [~rien@dyn-160-39-34-114.dyn.columbia.edu] has joined #scheme 04:02:38 myu2_ [~myu2@v051158.dynamic.ppp.asahi-net.or.jp] has joined #scheme 04:03:36 -!- rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has quit [*.net *.split] 04:03:36 -!- dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has quit [*.net *.split] 04:03:37 -!- myu2 [~myu2@v051158.dynamic.ppp.asahi-net.or.jp] has quit [*.net *.split] 04:04:09 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 04:07:42 "Certaynly it is harde to playse euery man by cause of dyuersite and chaunge of langage." --William Caxton 04:10:54 dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has joined #scheme 04:18:11 -!- emma is now known as em 04:19:00 peddie [~peddie@XVM-107.MIT.EDU] has joined #scheme 04:21:31 -!- jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has quit [Quit: Leaving] 04:22:13 -!- geoffhill [~geoffhill@c-24-12-189-238.hsd1.il.comcast.net] has quit [Quit: geoffhill] 04:31:10 -!- ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has quit [Quit: Leaving] 04:39:07 is there any way to halt execution in RSR5 scheme? 04:39:19 -!- rien_ [~rien@dyn-160-39-34-114.dyn.columbia.edu] has quit [Ping timeout: 252 seconds] 04:39:22 I don't know about RSR5, but there's no way in the R5RS. 04:39:31 k 04:40:09 rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has joined #scheme 04:42:20 -!- xwl_ [~user@nat/nokia/x-ydihczdajuuhfngz] has quit [Remote host closed the connection] 04:45:16 -!- common_tragedian [~common_tr@weir-02.slc.edu] has quit [Remote host closed the connection] 04:45:19 xwl_ [~user@nat/nokia/x-tythvxjyavqgtxzc] has joined #scheme 04:45:31 -!- aidalgol [~user@202.36.179.68] has quit [Quit: Off to class...] 04:54:52 gravicappa [~gravicapp@ppp91-77-175-208.pppoe.mtu-net.ru] has joined #scheme 04:57:14 -!- mornfall [~mornfall@kde/developer/mornfall] has quit [Read error: Operation timed out] 04:57:18 mornfall [~mornfall@anna2.fi.muni.cz] has joined #scheme 04:57:21 -!- mornfall [~mornfall@anna2.fi.muni.cz] has quit [Changing host] 04:57:21 mornfall [~mornfall@kde/developer/mornfall] has joined #scheme 04:59:15 jjong [~user@203.246.179.177] has joined #scheme 05:02:36 luft: I know in chicken there is, which is a R5RS-compatible scheme 05:02:52 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 05:13:43 xuser [~xuser@unaffiliated/xuser] has joined #scheme 05:15:28 -!- mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has quit [Ping timeout: 246 seconds] 05:23:43 -!- rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has quit [Ping timeout: 258 seconds] 05:24:31 rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has joined #scheme 05:30:27 -!- tupi [~david@189.60.162.71] has quit [Quit: Leaving] 05:35:02 Triplefault [~caleb@adsl-145-219-93.asm.bellsouth.net] has joined #scheme 05:45:35 -!- homie [~levgue@xdsl-78-35-161-36.netcologne.de] has quit [Read error: No route to host] 05:46:28 homie` [~levgue@xdsl-78-35-133-140.netcologne.de] has joined #scheme 05:53:52 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 05:54:30 pchrist [~spirit@gentoo/developer/pchrist] has joined #scheme 05:59:45 -!- lbc_ [~quassel@1908ds1-aboes.0.fullrate.dk] has quit [Remote host closed the connection] 06:00:44 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 06:04:35 -!- TippenEin [~chatzilla@c-24-245-21-197.hsd1.mn.comcast.net] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 4.0/20110318052756]] 06:06:45 jewel [~jewel@196-215-88-68.dynamic.isadsl.co.za] has joined #scheme 06:22:52 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 264 seconds] 06:23:14 -!- mmc1 [~michal@82-148-210-75.fiber.unet.nl] has quit [Quit: Leaving.] 06:25:34 -!- myu2_ [~myu2@v051158.dynamic.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 06:25:45 -!- leppie [~lolcow@196-215-49-168.dynamic.isadsl.co.za] has quit [Read error: Connection reset by peer] 06:26:20 leppie [~lolcow@196-215-49-168.dynamic.isadsl.co.za] has joined #scheme 06:35:26 -!- drdo [~user@91.205.108.93.rev.vodafone.pt] has quit [Remote host closed the connection] 06:36:06 drdo [~user@91.205.108.93.rev.vodafone.pt] has joined #scheme 06:42:58 -!- jewel [~jewel@196-215-88-68.dynamic.isadsl.co.za] has quit [Ping timeout: 246 seconds] 06:57:55 -!- gravicappa [~gravicapp@ppp91-77-175-208.pppoe.mtu-net.ru] has quit [Ping timeout: 252 seconds] 07:10:27 gravicappa [~gravicapp@ppp91-77-183-25.pppoe.mtu-net.ru] has joined #scheme 07:14:59 kanak [~kanak@18.221.1.248] has joined #scheme 07:29:53 arbscht [~arbscht@60-234-133-173.bitstream.orcon.net.nz] has joined #scheme 07:33:40 -!- arbscht [~arbscht@60-234-133-173.bitstream.orcon.net.nz] has quit [Client Quit] 07:34:26 arbscht [~arbscht@unaffiliated/arbscht] has joined #scheme 07:36:19 -!- homie` [~levgue@xdsl-78-35-133-140.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 07:43:11 homie [~levgue@xdsl-78-35-133-140.netcologne.de] has joined #scheme 08:07:04 pdelgallego_ [~pdelgalle@1385159903.dhcp.dbnet.dk] has joined #scheme 08:07:04 pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has joined #scheme 08:10:11 -!- rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has quit [Ping timeout: 276 seconds] 08:10:43 rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has joined #scheme 08:18:12 -!- codetonowhere1 [~Adium@78-105-3-181.zone3.bethere.co.uk] has quit [Quit: Leaving.] 08:23:25 -!- rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has quit [Ping timeout: 246 seconds] 08:24:25 rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has joined #scheme 08:29:26 lbc_ [~quassel@1908ds1-aboes.0.fullrate.dk] has joined #scheme 08:34:11 -!- eli [~eli@winooski.ccs.neu.edu] has quit [Ping timeout: 252 seconds] 08:36:13 -!- drdo [~user@91.205.108.93.rev.vodafone.pt] has quit [Ping timeout: 260 seconds] 08:40:19 -!- saiko-chriskun [~chris-kun@fsf/member/saiko-chriskun] has quit [Quit: WeeChat 0.3.4] 08:55:07 -!- blueadept [~blueadept@unaffiliated/blueadept] has quit [Quit: Leaving] 09:04:11 Bahman [~Bahman@2.144.245.203] has joined #scheme 09:05:18 -!- jrtayloriv [~jrtaylori@207-118-96-79.stat.centurytel.net] has quit [Ping timeout: 240 seconds] 09:05:55 Euthydemus [~euthydemu@vaxjo3.208.cust.blixtvik.net] has joined #scheme 09:06:41 Hi all! 09:22:00 -!- monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has quit [Quit: hello] 09:24:04 -!- gabot [~eli@winooski.ccs.neu.edu] has quit [Ping timeout: 258 seconds] 09:26:00 masm [~masm@bl19-169-236.dsl.telepac.pt] has joined #scheme 09:32:57 -!- xwl_ [~user@nat/nokia/x-tythvxjyavqgtxzc] has quit [Remote host closed the connection] 09:35:22 gabot [~eli@winooski.ccs.neu.edu] has joined #scheme 09:37:15 -!- ddp [~ddp@58.137.63.55] has quit [Quit: Leaving] 09:49:54 mmc1 [~michal@salm-office-nat.tomtomgroup.com] has joined #scheme 10:10:06 -!- rdd [~rdd@c83-250-52-16.bredband.comhem.se] has quit [Read error: Connection reset by peer] 10:10:36 rdd [~rdd@c83-250-52-16.bredband.comhem.se] has joined #scheme 10:15:13 -!- leppie [~lolcow@196-215-49-168.dynamic.isadsl.co.za] has quit [Ping timeout: 246 seconds] 10:20:16 leppie [~lolcow@196-215-49-168.dynamic.isadsl.co.za] has joined #scheme 10:22:14 -!- lbc_ [~quassel@1908ds1-aboes.0.fullrate.dk] has quit [Read error: Connection reset by peer] 10:41:34 bokr [~bokr@109.110.35.251] has joined #scheme 10:49:13 blueadept [~blueadept@unaffiliated/blueadept] has joined #scheme 11:00:39 hi Bahman 11:16:00 femtoo [~femto@95-89-249-242-dynip.superkabel.de] has joined #scheme 11:25:29 -!- chturne [~chturne@nas45-9.york.ac.uk] has quit [Ping timeout: 260 seconds] 11:34:27 -!- bokr [~bokr@109.110.35.251] has left #scheme 11:48:00 lbc_ [~quassel@1908ds1-aboes.0.fullrate.dk] has joined #scheme 12:21:21 -!- rdd [~rdd@c83-250-52-16.bredband.comhem.se] has quit [Read error: Connection reset by peer] 12:22:46 rdd [~rdd@c83-250-52-16.bredband.comhem.se] has joined #scheme 12:30:31 mceier [~mceier@89-77-208-118.dynamic.chello.pl] has joined #scheme 12:31:53 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 264 seconds] 12:33:05 xwl [~user@114.241.251.111] has joined #scheme 12:36:47 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 12:50:28 -!- pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has quit [Ping timeout: 246 seconds] 12:50:29 -!- pdelgallego_ [~pdelgalle@1385159903.dhcp.dbnet.dk] has quit [Ping timeout: 248 seconds] 12:54:36 pmurias [~pawel@static-78-8-208-43.ssp.dialog.net.pl] has joined #scheme 12:54:53 is there a test suit which tests if a specification conforms to r7rs? 12:55:01 s/specification/implementation/ 12:55:49 Given R7RS draft 1 only came out a few days ago, a test suite is probably premature. But that's just my humble opinion. 13:11:47 pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has joined #scheme 13:11:50 pdelgallego_ [~pdelgalle@1385159903.dhcp.dbnet.dk] has joined #scheme 13:15:40 -!- gravicappa [~gravicapp@ppp91-77-183-25.pppoe.mtu-net.ru] has quit [Ping timeout: 246 seconds] 13:26:20 hiyuh [~hiyuh@KD113151162160.ppp-bb.dion.ne.jp] has joined #scheme 13:29:26 kilimanjaro [~kilimanja@ip70-176-81-92.ph.ph.cox.net] has joined #scheme 13:29:30 -!- kilimanjaro [~kilimanja@ip70-176-81-92.ph.ph.cox.net] has quit [Changing host] 13:29:30 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 13:35:23 ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has joined #scheme 13:40:16 tauntaun [~Crumpet@ool-44c7e46c.dyn.optonline.net] has joined #scheme 13:43:34 wbooze [~levgue@xdsl-78-35-133-140.netcologne.de] has joined #scheme 13:44:11 gravicappa [~gravicapp@ppp91-77-183-25.pppoe.mtu-net.ru] has joined #scheme 13:45:50 tupi [~david@189.60.162.71] has joined #scheme 13:49:17 -!- rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has quit [Ping timeout: 248 seconds] 13:49:28 emporas [~emporas@athedsl-168289.home.otenet.gr] has joined #scheme 13:49:51 -!- ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has quit [Quit: Leaving] 13:50:28 rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has joined #scheme 13:50:38 alfa_y_omega [~alfa_y_om@89.129.116.150] has joined #scheme 13:54:18 -!- zilt [~zilt@67.23.13.119] has left #scheme 14:02:45 -!- peddie [~peddie@XVM-107.MIT.EDU] has quit [Ping timeout: 258 seconds] 14:05:22 Although testing the word of the spec using suites makes sense, no? 14:07:13 appamatto: Yes, but what I mean is that R7RS is still in a state of major flux. 14:07:37 Test suites, to me, are rather more useful when the spec is more nailed-down. 14:07:37 must. not. make. star-trek. joke. 14:07:53 bremner_: I don't know jack about Star Trek, so I'd have missed it anyway. :-P 14:08:57 bremner_, what is it? Were you going to jettison the warp drives? 14:09:42 (make-joke "flux capacitors") 14:09:54 or was that line itself the joke, imitating Kirk's speech pattern? :p 14:10:13 Wait, I thought the flux capacitor was a Back to the Future thing 14:10:38 uhoh. 14:11:14 Hmm, I guess it's in both 14:11:24 http://uncyclopedia.wikia.com/wiki/Flux_Capacitor 14:11:33 "The Flux capacitor is the device that traditionally fails in a spacecraft or time machine." 14:11:36 hahahaha 14:12:59 Riastradh: around? 14:14:11 xale: How dare you invoke the name of a $DEITY in vain. 14:14:24 what? 14:15:01 peddie [~peddie@XVM-107.MIT.EDU] has joined #scheme 14:17:04 cky: does a test suit for previous editions exist? 14:18:19 aisa [~aisa@173-10-243-253-Albuquerque.hfc.comcastbusiness.net] has joined #scheme 14:18:39 xale: Why are you bugging Riastradh, when you could just ask the question directly on the channel, and others can answer if they want to. :-P Unless it's a question about foof-loop, or paredit, or the like. 14:18:41 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 240 seconds] 14:19:15 pmurias: I think so, but I haven't searched for them. 14:20:33 -!- hiyuh [~hiyuh@KD113151162160.ppp-bb.dion.ne.jp] has quit [Quit: Leaving.] 14:21:31 xale: (Seriously, I hate it when others try to ping me specifically on IRC (and refuse to talk about their topic until I acknowledge them). Just ask the question and let others answer, if they want to.) 14:21:39 -!- xian_ is now known as xian 14:22:30 IRC is an asynchronous communication mechanism. ;-) 14:23:22 What if you NEED cky 14:23:28 appamatto: That's what PM is for. 14:23:34 There could be people blocking for your response 14:23:48 appamatto: Or email. (Shock horror.) 14:24:30 copumpkin [~pumpkin@17.45.135.82] has joined #scheme 14:24:30 -!- copumpkin [~pumpkin@17.45.135.82] has quit [Changing host] 14:24:30 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 14:24:45 (I agree with you by the way) 14:24:49 :-) 14:25:20 But usually, people can just post a normal channel message (with the full question), addressed to me. I'll get to it when I catch up on the scrollback. 14:25:33 (Which, for the channels I monitor, I do without fail every time I go on IRC.) 14:27:26 (People not catching up on scrollback is actually a (minor) peeve of mine, because it means I have to resend messages to them. ;-)) 14:29:06 I have others' nicks hilighted as well so I think sometimes I could miss my own nick 14:30:00 That's...unusual. Why would you highlight other people's nicks? 14:30:25 (But, since I catch up on the whole scrollback, whether my nick is highlighted or not usually doesn't matter.) 14:30:33 -!- homie [~levgue@xdsl-78-35-133-140.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 14:30:48 The only practical difference is that if someone highlights my nick, I'll hunt for the highlighted lines in my scrollback first. 14:30:53 But I do catch up with everything else. 14:32:33 bweaver [~user@host-68-169-175-225.WISOLT2.epbfi.com] has joined #scheme 14:33:54 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 14:40:30 Hi. 14:43:23 Did someone have a question for Shub-Niggurath? He's right here and he has a few minutes to spare before he has to run off to catch his train. 14:43:39 hey 14:43:54 i have two questions now. 14:44:38 for some reason i can't override a key bound by paredit with 'local-set-key'. 14:44:56 In GNU Emacs? 14:45:00 am i doing something wrong? 14:45:06 yes. 14:45:30 specifically (local-set-key (kbd "C-") ...) does not seem to have any effect. 14:46:04 Riastradh: your baby! http://www.haskell.org/pipermail/libraries/2011-April/016232.html 14:46:07 I don't know, sorry. It's not specific to paredit; minor modes override local key bindings. 14:46:31 so it doesn't do anything special that would prevent this from working? 14:47:45 probably i'm doing something wrong. never mind that. 14:47:55 more interesting: is there any way to make 'paredit-forward' put the point at the beginning of a s-exp? 14:47:56 -!- mmc1 [~michal@salm-office-nat.tomtomgroup.com] has quit [Quit: Leaving.] 14:47:57 copumpkin, neat. I'm glad somebody else wrote the thousands of lines of Coq cruft to verify it... 14:48:04 :D 14:49:15 xale, consider asking #emacs about local key bindings and minor modes. 14:50:28 homie [~levgue@xdsl-78-35-133-140.netcologne.de] has joined #scheme 14:50:37 Riastradh: how can I teach paredit to accept [] as parenthesis pairs as well? It seems that paredit fails with a mismatched parenthesis error message upon loading scheme files that use brackets as well? 14:51:33 *bremner_* awaits the anti-[] flames 14:51:41 C-Keen, make sure [ and ] are considered parentheses in the syntax table (see `modify-syntax-entry'), make sure they're matched by one another (and not [ by ) or ( by ]), and bind [ to `paredit-open-square', ] to `paredit-close-square' or `paredit-close-square-and-newline', &c. 14:52:49 Riastradh: never mind the bindings, what about 'paredit-forward'? 14:52:49 Riastradh: ah thanks for the hint 14:53:34 bremner_: it is mostly legacy code and it is annoying that opening a file fails the first time because paredit complains 14:53:45 xale, well, the easy way is just to type C-M-f C-M-b. 14:54:31 will this work if we are already at the beginning? 14:57:07 Try it! 14:57:14 well, it doesn't! 15:00:36 -!- gravicappa [~gravicapp@ppp91-77-183-25.pppoe.mtu-net.ru] has quit [Read error: Operation timed out] 15:01:53 oh i see, it starts by just trying to run 'forward-sexp'. 15:02:19 so the proper way to fix this, would be with a 'forward-sexp-function' then. 15:03:10 -!- pygospa [~TheRealPy@kiel-4dbedc59.pool.mediaWays.net] has quit [Disconnected by services] 15:03:22 pygospa [~TheRealPy@kiel-5f77bcda.pool.mediaWays.net] has joined #scheme 15:04:05 xale, hmm, perhaps I misunderstood. Can you give an example of how you want your proposed command to behave? 15:04:05 ijp [~user@host86-150-186-147.range86-150.btcentralplus.com] has joined #scheme 15:04:30 I assumed you wanted `| (foo bar)' to go to ` |(foo bar)'. 15:05:12 Riastradh: yes. but i also want |(foo) (bar) => (foo) |(bar) and so on. 15:05:50 Riastradh: whereas now it is: |(foo) (bar) => (foo)| (bar) => (foo) (bar)| 15:07:19 gravicappa [~gravicapp@ppp91-77-183-25.pppoe.mtu-net.ru] has joined #scheme 15:07:59 ymasory [~ymasory@128.91.252.157] has joined #scheme 15:09:41 xale, I see. In that case, try starting with (defun paredit-beginning-of-next-sexp () (let ((p (point))) (forward-sexp) (backward-sexp) (if (eq p (point)) (progn (forward-sexp) (forward-sexp) (backward-sexp] 15:10:01 ...or perhaps replace `forward-sexp' and `backward-sexp' by `paredit-forward' and `paredit-backward'. 15:10:35 ok, i'll look into it. 15:13:30 as soon as i figure out what's up with the key bindings. 15:17:42 cky, I can't read the full scrollback because I'm in 20+ channels 15:18:11 cky, I hilight others' nicks because I've identified hackers I respect and I feel like I learn alot from monitoring their communications :p 15:19:52 ckrailo [~ckrailo@208.86.167.249] has joined #scheme 15:22:12 appamatto: I don't read full scrollback for 20 channels either. :-) 15:22:39 appamatto: But, like, I do read channels I'm most active in (in my case, #stackoverflow and #scheme, and sometimes #guile). 15:23:02 I basically don't read a channel if it isn't hilighted 15:23:19 Ditto for me, except for those channels I just mentioned. :-) 15:23:41 irssi? 15:23:45 Yep. 15:24:05 For me, those three channels are on windows 2, 3, and 4, respectively. 15:24:12 So if any of those numbers are lit, I read them. 15:26:14 (I also read #lisp-nz and #ubuntu-lgbt whenever those get lit up, but since there's almost no traffic for those channels, that's moot. ;-)) 15:26:57 xale, do ask #emacs about that; someone there is likely to know. 15:27:04 i know. 15:27:49 the keymap that 'local-set-key' modifies is search after keymaps of minor modes. 15:29:38 -!- xwl [~user@114.241.251.111] has quit [Ping timeout: 240 seconds] 15:52:13 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 15:52:18 -!- emporas [~emporas@athedsl-168289.home.otenet.gr] has quit [Read error: Connection timed out] 15:52:46 emporas [~emporas@athedsl-168289.home.otenet.gr] has joined #scheme 15:55:03 EbiDK [3e6b7ac3@gateway/web/freenode/ip.62.107.122.195] has joined #scheme 15:59:52 TippenEin [~chatzilla@c-24-245-21-197.hsd1.mn.comcast.net] has joined #scheme 16:04:02 pdlogan [~patrick@174-25-37-137.ptld.qwest.net] has joined #scheme 16:04:17 mmc1 [~michal@82-148-210-75.fiber.unet.nl] has joined #scheme 16:04:33 jonrafkind [~jon@crystalis.cs.utah.edu] has joined #scheme 16:05:26 HG` [~HG@p5DC04F7B.dip.t-dialin.net] has joined #scheme 16:08:40 femtooo [~femto@95-89-249-242-dynip.superkabel.de] has joined #scheme 16:11:43 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Ping timeout: 246 seconds] 16:15:23 -!- homie [~levgue@xdsl-78-35-133-140.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 16:15:27 -!- wbooze [~levgue@xdsl-78-35-133-140.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 16:15:45 rramsden [~rramsden@p102130.nanpool.mala.bc.ca] has joined #scheme 16:19:11 githogori [~githogori@adsl-66-123-22-146.dsl.snfc21.pacbell.net] has joined #scheme 16:21:25 mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has joined #scheme 16:23:20 -!- rramsden [~rramsden@p102130.nanpool.mala.bc.ca] has quit [Quit: Leaving] 16:23:57 -!- peddie [~peddie@XVM-107.MIT.EDU] has quit [Ping timeout: 248 seconds] 16:24:45 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 260 seconds] 16:29:35 -!- mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has quit [Read error: Connection reset by peer] 16:30:30 rramsden [~rramsden@p102130.nanpool.mala.bc.ca] has joined #scheme 16:30:48 peddie [~peddie@XVM-107.MIT.EDU] has joined #scheme 16:32:01 -!- tauntaun [~Crumpet@ool-44c7e46c.dyn.optonline.net] has quit [Ping timeout: 246 seconds] 16:35:52 tauntaun [~Crumpet@ool-44c7e46c.dyn.optonline.net] has joined #scheme 16:36:17 homie [~levgue@xdsl-78-35-133-140.netcologne.de] has joined #scheme 16:37:27 wbooze [~levgue@xdsl-78-35-133-140.netcologne.de] has joined #scheme 16:41:24 -!- leppie [~lolcow@196-215-49-168.dynamic.isadsl.co.za] has quit [] 16:45:39 leppie [~lolcow@196-215-49-168.dynamic.isadsl.co.za] has joined #scheme 16:46:25 mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has joined #scheme 16:47:18 yell0 [yello@unaffiliated/contempt] has joined #scheme 16:47:27 -!- pdelgallego_ [~pdelgalle@1385159903.dhcp.dbnet.dk] has quit [Read error: Operation timed out] 16:47:30 null- [~null-@204.97.199.4] has joined #scheme 16:47:59 Hi, what implementation do you guys use to study SICP? 16:48:56 pdelgallego_ [~pdelgalle@1385159903.dhcp.dbnet.dk] has joined #scheme 16:59:44 -!- rramsden [~rramsden@p102130.nanpool.mala.bc.ca] has quit [Quit: Leaving] 17:01:14 -!- xuser [~xuser@unaffiliated/xuser] has left #scheme 17:04:09 Broa [~Broa@71.Red-81-32-228.dynamicIP.rima-tde.net] has joined #scheme 17:06:38 null-: I use whichever implementation I please (currently, that means Racket and Guile), with the understanding that I have to adapt some of the code to make it work. 17:08:55 -!- samth_away is now known as samth 17:09:46 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 17:10:21 pchrist [~spirit@gentoo/developer/pchrist] has joined #scheme 17:11:15 cky: understood, I'll go with guile 17:13:19 -!- mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has quit [Ping timeout: 246 seconds] 17:17:52 -!- tauntaun [~Crumpet@ool-44c7e46c.dyn.optonline.net] has quit [Ping timeout: 246 seconds] 17:19:55 saiko-chriskun [~chris-kun@fsf/member/saiko-chriskun] has joined #scheme 17:30:25 null-: I use Common Lisp. The exercises of SICP can be written in any programming language, SICP is not about scheme, but about programming. It just happen to be using scheme for its examples. 17:31:22 null-: (that said, while any lisp does equally well, some languages have more difficulties, foremost when reaching Chapter 4 :-) C++ templates...) 17:31:48 null-: if you want a scheme, then mit-scheme is the one used at MIT... 17:32:02 But Racket includes a language for sicp IIRC. 17:40:28 -!- kanak [~kanak@18.221.1.248] has quit [Quit: Leaving] 17:40:32 -!- atomx` [~user@86.35.150.23] has quit [Remote host closed the connection] 17:42:43 -!- gravicappa [~gravicapp@ppp91-77-183-25.pppoe.mtu-net.ru] has quit [Ping timeout: 252 seconds] 17:43:58 -!- peddie [~peddie@XVM-107.MIT.EDU] has quit [Ping timeout: 240 seconds] 17:50:23 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 260 seconds] 17:50:33 pjb: Ok, I'll look at it, scheme is highly recommended as a first language too 17:51:07 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 246 seconds] 17:51:23 peddie [~peddie@XVM-107.MIT.EDU] has joined #scheme 17:57:26 monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has joined #scheme 17:59:28 gravicappa [~gravicapp@ppp91-78-185-0.pppoe.mtu-net.ru] has joined #scheme 18:01:32 -!- peddie [~peddie@XVM-107.MIT.EDU] has quit [Ping timeout: 260 seconds] 18:03:07 copumpkin [~pumpkin@17.45.135.82] has joined #scheme 18:03:07 -!- copumpkin [~pumpkin@17.45.135.82] has quit [Changing host] 18:03:07 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 18:03:09 -!- aisa [~aisa@173-10-243-253-Albuquerque.hfc.comcastbusiness.net] has quit [Read error: Connection reset by peer] 18:03:23 aisa [~aisa@173-10-243-253-Albuquerque.hfc.comcastbusiness.net] has joined #scheme 18:05:17 -!- MichaelRaskin [~MichaelRa@195.178.216.22] has left #scheme 18:07:11 mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has joined #scheme 18:15:50 peddie [~peddie@XVM-107.MIT.EDU] has joined #scheme 18:16:37 -!- wbooze [~levgue@xdsl-78-35-133-140.netcologne.de] has quit [Read error: Connection reset by peer] 18:16:39 -!- homie [~levgue@xdsl-78-35-133-140.netcologne.de] has quit [Read error: Connection reset by peer] 18:16:45 null-: if you don't know programming and another language already, then indeed, it's better to use mit-scheme and learn with sicp. 18:17:20 ( And also How to Design Programs -- An Introduction to Computing and Programming http://www.htdp.org/2003-09-26/Book/ and= Concrete Abstractions -- An Introduction to Computer Science Using Scheme http://www.gustavus.edu/+max/concrete-abstractions.html ) 18:17:52 wbooze [~levgue@xdsl-84-44-178-71.netcologne.de] has joined #scheme 18:17:58 pjb: thanks 18:18:01 homie [~levgue@84.44.178.71] has joined #scheme 18:19:10 czakian [~czakian@140-182-225-195.dhcp-bl.indiana.edu] has joined #scheme 18:19:12 HG`` [~HG@p5DC04CF4.dip.t-dialin.net] has joined #scheme 18:19:48 -!- homie [~levgue@84.44.178.71] has quit [Client Quit] 18:19:58 jewel [~jewel@196-215-88-68.dynamic.isadsl.co.za] has joined #scheme 18:20:09 -!- wbooze [~levgue@xdsl-84-44-178-71.netcologne.de] has quit [Client Quit] 18:22:02 -!- HG` [~HG@p5DC04F7B.dip.t-dialin.net] has quit [Ping timeout: 276 seconds] 18:22:18 homie [~levgue@xdsl-84-44-178-71.netcologne.de] has joined #scheme 18:24:53 -!- peddie [~peddie@XVM-107.MIT.EDU] has quit [Ping timeout: 252 seconds] 18:25:06 wbooze [~levgue@xdsl-84-44-178-71.netcologne.de] has joined #scheme 18:26:33 -!- framling [~user@cpe-74-64-94-88.hvc.res.rr.com] has left #scheme 18:27:01 -!- EbiDK [3e6b7ac3@gateway/web/freenode/ip.62.107.122.195] has quit [Ping timeout: 252 seconds] 18:29:29 -!- acarrico [~acarrico@pppoe-68-142-62-150.gmavt.net] has quit [Ping timeout: 252 seconds] 18:30:13 acarrico [~acarrico@pppoe-68-142-62-150.gmavt.net] has joined #scheme 18:32:16 peddie [~peddie@XVM-107.MIT.EDU] has joined #scheme 18:34:00 -!- pygospa [~TheRealPy@kiel-5f77bcda.pool.mediaWays.net] has quit [Disconnected by services] 18:34:12 pygospa [~TheRealPy@kiel-5f7697ae.pool.mediaWays.net] has joined #scheme 18:34:38 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Ping timeout: 240 seconds] 18:41:08 -!- ymasory [~ymasory@128.91.252.157] has quit [Quit: Leaving] 18:41:14 ysph [~user@75-143-82-29.dhcp.aubn.al.charter.com] has joined #scheme 18:41:57 mg4001 [~mg4001@operations.demarcation.gravityus.com] has joined #scheme 18:44:29 codetonowhere [~Adium@78-105-3-181.zone3.bethere.co.uk] has joined #scheme 18:49:30 -!- pygospa [~TheRealPy@kiel-5f7697ae.pool.mediaWays.net] has quit [Read error: Operation timed out] 18:49:58 pygospa [~TheRealPy@kiel-4d066089.pool.mediaWays.net] has joined #scheme 18:58:05 -!- tupi [~david@189.60.162.71] has quit [Quit: Leaving] 18:59:11 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has quit [Ping timeout: 252 seconds] 19:02:02 ymasory [~ymasory@seas577.wireless-pennnet.upenn.edu] has joined #scheme 19:03:30 -!- Modius [~Modius@cpe-70-123-140-183.austin.res.rr.com] has quit [Quit: "Object-oriented design" is an oxymoron] 19:12:59 tauntaun [~Crumpet@ool-44c7e46c.dyn.optonline.net] has joined #scheme 19:16:38 -!- alfa_y_omega [~alfa_y_om@89.129.116.150] has quit [Ping timeout: 276 seconds] 19:20:14 gcartier [~gcartier@modemcable041.134-82-70.mc.videotron.ca] has joined #scheme 19:21:02 hi everyone. anyone knowledgable with syntax-rules has some time for a simple question? 19:21:13 Depends on the question. 19:21:25 How simple is it? Can you quantify its simplicity? 19:21:41 i'll do better... here goes: 19:22:10 in my scheme system there's a special form c-function that wants a string as fourth parameter 19:22:50 ex: (c-function (int) int "Name") 19:22:50 -!- rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has quit [Ping timeout: 258 seconds] 19:23:49 rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has joined #scheme 19:23:55 i want a macro external like this (external (foo int) int) that expands to (c-function (int) int "foo") 19:24:23 can i do this with syntax-rules and syntactic closures? 19:25:38 Can't be done with SYNTAX-RULES. 19:25:58 Riastradh: couldn't it expand to (SYMBOL->STRING 'foo)? 19:26:10 but with a sc-macro-transformer ? 19:26:12 gcartier: would that work? 19:26:31 nope cause the c-function special form doesn't understand that 19:26:38 i tried: 19:26:48 (define-syntax str 19:26:48 (sc-macro-transformer 19:26:48 (lambda (form usage-environment) 19:26:48 (let ((expr (unwrap-syntactic-closure form))) 19:26:50 (symbol->string (cadr expr)))))) 19:26:53 stis [~stis@host-90-235-126-47.mobileonline.telia.com] has joined #scheme 19:27:27 and using (str name) in the external's syntax-rules. but it doesn't work 19:32:16 alfa_y_omega [~alfa_y_om@89.129.116.150] has joined #scheme 19:32:41 You need to do it the other way around. 19:32:42 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 19:33:32 (define-syntax external (sc-macro-transformer ...)) to expand (external (foo int) int) to (%external (foo "foo" int) int), say. Then (define-syntax %external (syntax-rules () ((%external (name string-name parameter) result) (c-function ...]. 19:35:21 hm.. just defining syntax-rules to expand to (str foo) works on MIT-Scheme 19:35:46 -!- tauntaun [~Crumpet@ool-44c7e46c.dyn.optonline.net] has quit [Ping timeout: 246 seconds] 19:36:05 The problem, ecraven, is that the C-FUNCTION special operator won't expand (str foo) in the place where gcartier put it. 19:36:25 Riastradh: thx. trying your solution... 19:36:42 ah, ok 19:37:00 jcowan [c6b91248@gateway/web/freenode/ip.198.185.18.72] has joined #scheme 19:37:12 tauntaun [~Crumpet@ool-44c7e46c.dyn.optonline.net] has joined #scheme 19:37:24 coi 19:37:38 Riastradh: is there a ~/.schemerc or something that MIT-Scheme always loads upon starting? 19:37:43 ~/.scheme.init 19:37:47 See the user's manual. 19:40:34 -!- czakian [~czakian@140-182-225-195.dhcp-bl.indiana.edu] has quit [Remote host closed the connection] 19:42:04 -!- jewel [~jewel@196-215-88-68.dynamic.isadsl.co.za] has quit [Ping timeout: 246 seconds] 19:46:28 mejja [~user@c-0eb9e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 19:46:54 Boo! 19:47:14 gcartier, what Scheme system are you using, by the way? 19:50:41 -!- pygospa [~TheRealPy@kiel-4d066089.pool.mediaWays.net] has quit [Ping timeout: 252 seconds] 19:52:52 pygospa [~TheRealPy@kiel-d9bfdd29.pool.mediaWays.net] has joined #scheme 20:02:41 Riastradh: gambit (jazzscheme really, but jazz is only syntax over gambit) 20:09:52 -!- Triplefault [~caleb@adsl-145-219-93.asm.bellsouth.net] has quit [Quit: Leaving] 20:15:24 -!- lbc_ [~quassel@1908ds1-aboes.0.fullrate.dk] has quit [Remote host closed the connection] 20:16:20 rramsden [~rramsden@p102130.nanpool.mala.bc.ca] has joined #scheme 20:17:31 -!- ymasory [~ymasory@seas577.wireless-pennnet.upenn.edu] has quit [Quit: Leaving] 20:17:58 -!- tauntaun [~Crumpet@ool-44c7e46c.dyn.optonline.net] has quit [Quit: Ex-Chat] 20:18:21 can anyone help me? I'm new to scheme following a hangman tutorial in racket... I wanted to know if there was a way to define multiple expressions within a body... I'm using (and expr expr) inside of a(define) statement... wanted to know if there was a more elegant solution https://gist.github.com/932627 20:19:43 If DRAW-CIRCLE returns false, do you want to stop? 20:23:45 -!- gravicappa [~gravicapp@ppp91-78-185-0.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 20:24:37 not really concerned about the return value, I just need to have several statements to draw a picture of a head in as few lines as possible. I might be missing something here, having difficultly I guess coming from an imperative background since everything in scheme is value-oriented 20:25:31 -!- HG`` [~HG@p5DC04CF4.dip.t-dialin.net] has quit [Quit: Leaving.] 20:25:39 What value do you want DRAW-HEAD to have? Currently it is either false, if either DRAW-CIRCLE or DRAW-SOLID-LINE returns false, or whatever value DRAW-SOLID-LINE returns if neither is false. 20:26:38 -!- peddie [~peddie@XVM-107.MIT.EDU] has quit [Ping timeout: 276 seconds] 20:27:21 -!- ckrailo [~ckrailo@208.86.167.249] has quit [Quit: Computer has gone to sleep.] 20:27:39 Perhaps instead you want DRAW-HEAD to be a procedure that calls DRAW-CIRCLE and DRAW-SOLID-LINE in that order unconditionally. In that case, you can write: (define (draw-head) (draw-circle ...) (draw-solid-line ...)). 20:27:55 If you want DRAW-HEAD to have the value that DRAW-SOLID-LINE returned, unconditionally, you might write: (define draw-head (begin (draw-circle ...) (draw-solid-line ...))). 20:28:46 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 20:29:02 peddie [~peddie@XVM-107.MIT.EDU] has joined #scheme 20:41:16 w00tles [~quassel@1908ds1-aboes.0.fullrate.dk] has joined #scheme 20:44:04 -!- w00tles [~quassel@1908ds1-aboes.0.fullrate.dk] has quit [Remote host closed the connection] 20:44:11 Modius [~Modius@cpe-70-123-140-183.austin.res.rr.com] has joined #scheme 20:44:20 lbc_ [~quassel@1908ds1-aboes.0.fullrate.dk] has joined #scheme 20:54:50 ckrailo [~ckrailo@utdpat242007.utdallas.edu] has joined #scheme 20:57:27 -!- pygospa [~TheRealPy@kiel-d9bfdd29.pool.mediaWays.net] has quit [Disconnected by services] 20:57:39 pygospa [~TheRealPy@kiel-5f77bcf4.pool.mediaWays.net] has joined #scheme 20:59:41 -!- rramsden [~rramsden@p102130.nanpool.mala.bc.ca] has quit [Quit: Leaving] 21:00:24 foof: In the R7RS draft's bibliography, reference 10 (Clinger '98) is listed as "To appear in proceedings of PLDI 98". I'm pretty sure that by now, it has indeed appeared. 21:01:32 That was already mentioned on the mailinglist, stamourv :) 21:01:47 nevermind then 21:02:29 Foof is busy, he might've overlooked it 21:04:41 femtoo [~femto@95-89-249-242-dynip.superkabel.de] has joined #scheme 21:07:49 -!- femtooo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Ping timeout: 246 seconds] 21:08:29 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 264 seconds] 21:10:40 ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has joined #scheme 21:13:00 EbiDK [3e6b7ac3@gateway/web/freenode/ip.62.107.122.195] has joined #scheme 21:15:20 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 21:15:31 -!- mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has quit [Ping timeout: 246 seconds] 21:18:57 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Ping timeout: 240 seconds] 21:25:43 -!- pygospa [~TheRealPy@kiel-5f77bcf4.pool.mediaWays.net] has quit [Disconnected by services] 21:25:55 pygospa [~TheRealPy@kiel-4dbecfc9.pool.mediaWays.net] has joined #scheme 21:28:15 -!- mmc1 [~michal@82-148-210-75.fiber.unet.nl] has quit [Read error: Connection reset by peer] 21:28:19 -!- ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has quit [Read error: Connection reset by peer] 21:29:21 Nisstyre [~nisstyre@infocalypse-net.info] has joined #scheme 21:31:09 -!- stis [~stis@host-90-235-126-47.mobileonline.telia.com] has quit [Ping timeout: 248 seconds] 21:32:56 mmc1 [~michal@82-148-210-75.fiber.unet.nl] has joined #scheme 21:36:30 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 21:37:25 -!- gcartier [~gcartier@modemcable041.134-82-70.mc.videotron.ca] has quit [Read error: Connection reset by peer] 21:37:49 jonrafkind [~jon@crystalis.cs.utah.edu] has joined #scheme 21:39:34 realitygrill [~realitygr@adsl-76-226-119-17.dsl.sfldmi.sbcglobal.net] has joined #scheme 21:41:45 ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has joined #scheme 21:46:37 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Quit: Leaving] 21:52:37 -!- Broa [~Broa@71.Red-81-32-228.dynamicIP.rima-tde.net] has quit [Ping timeout: 246 seconds] 21:55:42 -!- aisa [~aisa@173-10-243-253-Albuquerque.hfc.comcastbusiness.net] has quit [Quit: aisa] 22:00:34 -!- EbiDK [3e6b7ac3@gateway/web/freenode/ip.62.107.122.195] has quit [Quit: Page closed] 22:10:30 -!- codetonowhere [~Adium@78-105-3-181.zone3.bethere.co.uk] has quit [Read error: Connection reset by peer] 22:10:39 codetonowhere [~Adium@78-105-3-181.zone3.bethere.co.uk] has joined #scheme 22:14:58 -!- ckrailo [~ckrailo@utdpat242007.utdallas.edu] has quit [Quit: Computer has gone to sleep.] 22:18:52 -!- mceier [~mceier@89-77-208-118.dynamic.chello.pl] has quit [Quit: leaving] 22:23:48 bipt [~bpt@user-0c8h24l.cable.mindspring.com] has joined #scheme 22:23:54 ckrailo [~ckrailo@129.110.242.7] has joined #scheme 22:33:20 -!- bipt [~bpt@user-0c8h24l.cable.mindspring.com] has quit [Read error: Connection reset by peer] 22:33:28 bipt` [~bpt@user-0c8h24l.cable.mindspring.com] has joined #scheme 22:35:02 -!- pmurias [~pawel@static-78-8-208-43.ssp.dialog.net.pl] has quit [Quit: Lost terminal] 22:41:01 -!- mejja [~user@c-0eb9e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 4.0/20110318052756]] 22:50:01 -!- bweaver [~user@host-68-169-175-225.WISOLT2.epbfi.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 22:52:03 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 22:58:41 -!- mmc1 [~michal@82-148-210-75.fiber.unet.nl] has quit [Ping timeout: 240 seconds] 23:00:01 hussaibi [~hussaibi@CPE00222d3a5d80-CM00222d3a5d7c.cpe.net.cable.rogers.com] has joined #scheme 23:04:53 -!- hussaibi [~hussaibi@CPE00222d3a5d80-CM00222d3a5d7c.cpe.net.cable.rogers.com] has quit [Ping timeout: 264 seconds] 23:05:33 hussaibi [~hussaibi@CPE00222d3a5d80-CM00222d3a5d7c.cpe.net.cable.rogers.com] has joined #scheme 23:13:49 -!- ysph [~user@75-143-82-29.dhcp.aubn.al.charter.com] has quit [Ping timeout: 246 seconds] 23:21:29 -!- hussaibi [~hussaibi@CPE00222d3a5d80-CM00222d3a5d7c.cpe.net.cable.rogers.com] has quit [Ping timeout: 276 seconds] 23:22:00 hussaibi [~hussaibi@CPE00222d3a5d80-CM00222d3a5d7c.cpe.net.cable.rogers.com] has joined #scheme 23:38:31 -!- pdlogan [~patrick@174-25-37-137.ptld.qwest.net] has left #scheme 23:43:08 -!- hussaibi [~hussaibi@CPE00222d3a5d80-CM00222d3a5d7c.cpe.net.cable.rogers.com] has quit [Ping timeout: 276 seconds] 23:43:37 hussaibi [~hussaibi@CPE00222d3a5d80-CM00222d3a5d7c.cpe.net.cable.rogers.com] has joined #scheme 23:44:48 -!- ckrailo [~ckrailo@129.110.242.7] has quit [Quit: Computer has gone to sleep.] 23:45:16 DrDuck [~duck@216.186.151.63] has joined #scheme 23:48:17 -!- DrDuck [~duck@216.186.151.63] has quit [Client Quit] 23:48:45 DrDuck [~duck@216.186.151.63] has joined #scheme 23:53:06 dfeuer [~dfeuer@pool-96-255-150-132.washdc.fios.verizon.net] has joined #scheme 23:53:06 -!- dfeuer [~dfeuer@pool-96-255-150-132.washdc.fios.verizon.net] has quit [Changing host] 23:53:06 dfeuer [~dfeuer@wikimedia/Dfeuer] has joined #scheme