00:07:48 -!- Giomancer [~Gio@adsl-76-231-35-17.dsl.irvnca.sbcglobal.net] has quit [Quit: When the chips are down, well, the buffalo is empty] 00:25:45 replore [~replore@203.152.213.161.static.zoot.jp] has joined #scheme 00:31:27 -!- masm [~masm@2.80.128.151] has quit [Quit: Leaving.] 00:32:30 cat 00:33:27 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Ping timeout: 258 seconds] 00:37:28 Ah. 00:41:34 Brendan_T [~brendan@46.105.251.111] has joined #scheme 00:42:52 -!- pandeiro [~pandeiro@177.32.216.216] has quit [Quit: Leaving] 00:51:27 -!- gabot [~eli@winooski.ccs.neu.edu] has quit [Remote host closed the connection] 00:53:42 -!- samth is now known as samth_away 00:57:54 gabot [~eli@winooski.ccs.neu.edu] has joined #scheme 00:57:55 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 01:05:53 -!- drwho [~drwho@static-76-160-37-137.dsl.cavtel.net] has quit [Quit: leaving] 01:08:00 jackhammer2022 [810aca54@gateway/web/freenode/ip.129.10.202.84] has joined #scheme 01:08:26 hi everybody 01:08:38 i am newbie scheme programmer 01:09:09 how do I implement a if block without an else in Racket ? 01:09:23 something like 01:09:26 if expr 01:09:30 do-something 01:09:33 else 01:09:37 return 01:16:00 gtoast [~gtoast@166.137.8.148] has joined #scheme 01:16:34 jackhammer2022: What do you want to return, if the if falls through? 01:16:50 (i.e., what do you want to return, in the else case?) 01:18:59 -!- dnolen [~davidnole@pool-68-161-99-216.ny325.east.verizon.net] has quit [Quit: dnolen] 01:27:19 jackhammer2022: Just leave it out. 01:27:24 incubot: (if #f 'harro) 01:27:24 # 01:27:51 (Whoops: he said "implement"; he must be designing his own Scheme.) 01:28:16 turbofail [~user@c-107-3-149-149.hsd1.ca.comcast.net] has joined #scheme 01:32:55 klutometis: Racket disallows one-armed if by default. 01:33:03 klutometis: Instead you are required to use when. 01:33:14 realitygrill [~realitygr@76.226.212.207] has joined #scheme 01:33:26 klutometis: However, in general that's a sign of crappy design, which was why I asked jackhammer2022 what they wanted to return in the else case. 01:34:07 sorry for the late reply 01:34:23 i am writing a scheme implementation of a python program 01:34:44 in the python program the code is just like 01:34:50 1:09] if expr [21:09] do-something [21:09] else [21:09] return 01:35:02 jackhammer2022: Can you pastebin the actual Python code you're using? 01:35:12 jackhammer2022: And by actual, I mean verbatim, not "just like". ;-) 01:35:25 and i am using Intermediate Student Language with Lambda 01:35:26 ok 01:36:20 http://pastebin.com/KGs3gLhy 01:37:08 it has something like 01:37:10 if can > mis and mis > 0: return #More cannibals than missionaries on left! 01:37:20 so it directly returns here 01:37:47 Let's see. :-) 01:38:14 ok :) 01:38:45 So, in Scheme, it's not usual to mutate a variable (like sols, in your case), but instead to keep the current value as an argument. :-) 01:38:51 I'll write a version in Scheme that you can compare with. 01:39:02 ok 01:39:21 so instead of sols i should be using an accumulator ? 01:40:12 -!- kk` [~kk@unaffiliated/kk/x-5380134] has quit [Quit: Leaving] 01:41:05 eggsby [~egghead@50-56-59-89.static.cloud-ips.com] has joined #scheme 01:43:04 jackhammer2022: Right. 01:43:07 jao [~user@pdpc/supporter/professional/jao] has joined #scheme 01:43:08 jackhammer2022: I'm still writing a solution. 01:43:19 I won't have time to test it, but it should give you some ideas. 01:43:19 Hi. I'm currently trying to work my way through 'the little schemer'. It uses examples like "bacon and eggs" as an example of atoms. How can I create a representation of something like this so I can play with the examples in the REPL 01:43:32 rudybot: '(bacon and eggs) 01:43:33 cky: ; Value: (bacon and eggs) 01:43:40 eggsby: That's a list with three atoms in it. 01:43:42 For instance, I've defined: http://pastie.org/2796632 How could I test the lat? statement? 01:43:43 cky: thanks 01:44:00 just call (lat? `(bacon and eggs)) ? 01:44:10 with ' instead of ` of course :p 01:44:11 Yep, that should work...in theory. 01:45:44 ah, it works, thanks! 01:46:08 I just realized using (quote (bacon and eggs)) works as well, are those synonymous? 01:46:24 Sorry for the noob questions :) 01:47:40 eggsby: Yes, exactly the same. 01:47:53 eggsby: 'foo is automatically read in as (quote foo). 01:49:08 Thank you 01:49:43 :-) 02:02:48 -!- Brendan_T [~brendan@46.105.251.111] has quit [Remote host closed the connection] 02:03:37 Brendan_T [~brendan@46.105.251.111] has joined #scheme 02:04:25 jackhammer2022: http://paste.lisp.org/display/125625 <-- I wrote this in a hurry, so it's not the best Scheme code I could have written. But hopefully it gives you the right idea. 02:04:46 Thats great 02:04:54 cky: Thank You very much 02:05:00 Cool, good luck! And you're welcome. :-) 02:05:03 I will try to understand the logic from your code 02:05:07 :-) 02:05:14 and try to apply the design recipe 02:05:25 i have to follow the recipe strictly 02:05:33 cky: Thanks again 02:05:44 Cool, good luck once again. :-) 02:06:22 Oops, I made a mistake. I'll let you know when I have a fixed version. 02:07:04 Okay, refresh that page. 02:07:09 The bottom of the page contains a fixed version. 02:07:17 (Again, it's still not tested, but hopefully still useful.) 02:07:39 ok 02:07:43 i will try that 02:09:21 (solve 3 3 true (list 3 3 true)) 02:09:24 i get 02:09:28 (3 3 #t) 02:10:33 I will work on the logic 02:10:34 thanks 02:10:48 cky: goodnight 02:11:00 -!- jackhammer2022 [810aca54@gateway/web/freenode/ip.129.10.202.84] has quit [] 02:24:06 -!- Intensity [hReZq3ilLP@unaffiliated/intensity] has quit [Ping timeout: 255 seconds] 02:24:09 -!- interglacial [~interglac@95.149.11.120] has quit [Ping timeout: 276 seconds] 02:24:55 gtoast_ [~gtoast@166.137.8.148] has joined #scheme 02:25:52 dnolen [~davidnole@cpe-98-14-92-234.nyc.res.rr.com] has joined #scheme 02:28:50 -!- gtoast [~gtoast@166.137.8.148] has quit [Ping timeout: 260 seconds] 02:28:51 -!- gtoast_ is now known as gtoast 02:40:01 hi, how do i specify a number in hex base? 02:43:32 ttvd, http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-9.html#%_sec_6.2.4 02:43:32 http://tinyurl.com/5mhh5d 02:44:23 thanks dsmith 02:45:07 np 02:45:30 -!- MrFahrenheit [~RageOfTho@users-147-29.vinet.ba] has quit [Ping timeout: 258 seconds] 02:54:50 smtlaissezfaire [~smtlaisse@76.15.192.54] has joined #scheme 03:01:31 -!- dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has quit [Ping timeout: 260 seconds] 03:03:35 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 03:05:48 dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has joined #scheme 03:06:55 -!- ijp [~user@host86-182-155-249.range86-182.btcentralplus.com] has quit [Quit: The garbage collector got me] 03:07:58 -!- smtlaissezfaire [~smtlaisse@76.15.192.54] has left #scheme 03:16:32 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 03:21:41 Intensity [~Intensity@unaffiliated/intensity] has joined #scheme 03:24:13 jlongster [~user@pool-98-117-65-239.rcmdva.fios.verizon.net] has joined #scheme 03:27:53 -!- gtoast [~gtoast@166.137.8.148] has quit [Quit: gtoast] 03:28:42 -!- luist [~luist@189.59.201.53] has quit [Read error: Connection reset by peer] 03:29:00 luist [~luist@189.59.201.53] has joined #scheme 03:37:30 githogori [~githogori@adsl-66-123-22-146.dsl.snfc21.pacbell.net] has joined #scheme 03:37:54 -!- Intensity [~Intensity@unaffiliated/intensity] has quit [Ping timeout: 255 seconds] 03:38:34 gtoast [~gtoast@166.137.8.148] has joined #scheme 03:39:00 Guest8648 [oflgww@app7.chatmosphere.org] has joined #scheme 03:39:05 -!- Guest8648 [oflgww@app7.chatmosphere.org] has quit [Client Quit] 03:39:29 gah, what am i still doing at work? 03:42:34 -!- djanatyn is now known as djanatyn|afk 03:45:19 ninwa [~joey@d192-24-87-196.try.wideopenwest.com] has joined #scheme 03:47:00 -!- turbofail [~user@c-107-3-149-149.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] 03:58:35 drwho [~drwho@c-68-81-125-196.hsd1.pa.comcast.net] has joined #scheme 04:01:09 working? 04:01:11 *shrug* 04:09:56 jlongste` [~user@pool-98-117-65-239.rcmdva.fios.verizon.net] has joined #scheme 04:12:03 -!- jlongster [~user@pool-98-117-65-239.rcmdva.fios.verizon.net] has quit [Ping timeout: 276 seconds] 04:15:49 -!- jlongste` is now known as jlongste 04:15:53 -!- jlongste is now known as jlongster 04:18:19 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 04:19:42 cky: Oh, that's interesting; I didn't realize Racket had gone full Java in terms of protecting programmers from themselves. 04:19:50 -!- dnolen [~davidnole@cpe-98-14-92-234.nyc.res.rr.com] has quit [Quit: dnolen] 04:20:11 cky: Do you think the one-armed if is appropriate in case of mutation? 04:20:55 *offby1* uses "when" 04:21:51 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #scheme 04:25:04 offby1: Interesting; for clarity's sake? 04:26:14 -!- Brendan_T [~brendan@46.105.251.111] has quit [Remote host closed the connection] 04:26:41 probably. 04:26:55 well, as far as I know I have no other choice in Racket; but I'd do it anyway, as a sort of signal 04:27:11 "here be side-effects" 04:37:17 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [] 04:38:16 smtlaissezfaire [~smtlaisse@76.15.192.54] has joined #scheme 04:38:23 offby1: *nods* 05:02:21 -!- rff [~rff@ip72-207-248-18.br.br.cox.net] has quit [Ping timeout: 252 seconds] 05:05:49 -!- jlongster [~user@pool-98-117-65-239.rcmdva.fios.verizon.net] has quit [Ping timeout: 240 seconds] 05:09:08 -!- replore [~replore@203.152.213.161.static.zoot.jp] has quit [Remote host closed the connection] 05:12:42 -!- emma [~em@unaffiliated/emma] has quit [Ping timeout: 258 seconds] 05:14:36 emma [~em@unaffiliated/emma] has joined #scheme 05:17:26 choas [~lars@p5795C058.dip.t-dialin.net] has joined #scheme 05:18:34 replore_ [~replore@203.152.213.161.static.zoot.jp] has joined #scheme 05:19:07 -!- MichaelRaskin [~MichaelRa@195.178.216.22] has quit [Ping timeout: 260 seconds] 05:26:25 githogori_ [~githogori@c-24-7-1-43.hsd1.ca.comcast.net] has joined #scheme 05:26:32 gravicappa [~gravicapp@ppp91-77-177-229.pppoe.mtu-net.ru] has joined #scheme 05:29:11 -!- githogori [~githogori@adsl-66-123-22-146.dsl.snfc21.pacbell.net] has quit [Ping timeout: 258 seconds] 05:39:37 -!- gtoast [~gtoast@166.137.8.148] has quit [Quit: gtoast] 05:40:08 -!- smtlaissezfaire [~smtlaisse@76.15.192.54] has quit [Quit: smtlaissezfaire] 05:48:47 -!- replore_ [~replore@203.152.213.161.static.zoot.jp] has quit [Ping timeout: 252 seconds] 05:49:50 -!- realitygrill [~realitygr@76.226.212.207] has quit [Quit: realitygrill] 06:00:39 -!- EmmanuelOga [~emmanuel@190.244.27.236] has quit [Ping timeout: 252 seconds] 06:11:05 klutometis: "protecting programmers from themselves"? 06:11:21 is that a book? 06:13:01 ente: No. 06:13:18 ente: It refers to how Racket doesn't allow one-armed IFs, but instead insists that you use WHEN if you are doing it for side-effects. 06:13:53 ah 06:14:20 the first thing that comes to my mind would be java though :-P 06:14:52 If you want to simulate a one-armed IF portably (i.e., without using WHEN, which is non-standard), you can use COND without an ELSE branch. 06:15:45 but one-armed IF is theoretically standard? 06:15:48 (Though, it wouldn't surprise me if some of the Racket teaching languages ban that too.) 06:16:03 ente: Yes, one-armed IF is indeed standard, and Racket does support it if you run it in R5RS mode. 06:16:24 I see 06:16:52 Um, is that what klutometis caled "protecting programmers from themselves"? 06:17:43 My last messages to him, before his response, was: 06:17:45 01:32:55 < cky> klutometis: Racket disallows one-armed if by default. 06:17:45 01:33:03 < cky> klutometis: Instead you are required to use when. 06:17:45 01:33:14 -!- realitygrill [~realitygr@76.226.212.207] has joined #scheme 06:17:45 01:33:26 < cky> klutometis: However, in general that's a sign of crappy design, which was why I asked jackhammer2022 what they wanted to return in the else case. 06:19:00 (For the record, in jackhammer2022's case, the side-effecting version is indeed crappy, as all it did was mutate a variable that was defined outside the function.) 06:19:04 cky: In that case, the "crappy design" is a perfectly fine explanation why it's a feature... 06:19:11 eli: Right. 06:19:27 And you still have `when', so there's no java-style protection from yourself. 06:19:49 (Not that I know what that means, anyway.) 06:19:55 Hahahaha. 06:22:44 BTW, IIRC there were more than a few cases that came up on the mailing list where the no-one-sided-if thing has prevented bugs and/or has revealed bugs in old code that was refreshed. 06:22:58 Indeed. And using WHEN has other benefits too. 06:24:06 For example, wingo proposed WHEN that includes a (if #f #f) after the expressions (or (void) for Racket ;-)), so that if you're using WHEN for error checking ((when foo (error "bar"))), it puts the last expression outside of tail position, giving more useful stack traces. 06:25:01 whereas if you use (if foo (error "bar")), that error call could potentially be in tail position. 06:25:28 Well, that's a normal issue for `error' and other similar functions. 06:26:00 And destroying `when's tail-ness is not going to make some code pretty sad.. 06:26:13 (let loop () (when (something) (loop))) 06:26:17 -!- leppie [~lolcow@196-215-71-176.dynamic.isadsl.co.za] has quit [Read error: Connection reset by peer] 06:26:45 Is there any real use case for (when (something) (loop))? 06:27:06 If so, then sure, that's a good argument against moving the expressions off tail position. 06:27:11 Sure, any imperative loop is a natural use case for that. 06:27:21 Hmmmm. 06:27:57 rudybot: (define n 0) (let loop () (when (< n 10) (display n) (set! n (add1 n)) (loop))) 06:27:57 eli: actually theres a good few commands which could do with the opposite too - repeat loop for when the seelction is a region. 06:28:04 rudybot: eval (define n 0) (let loop () (when (< n 10) (display n) (set! n (add1 n)) (loop))) 06:28:05 eli: your sandbox is ready 06:28:05 eli: ; stdout: "0123456789" 06:28:29 That set! is making my eyes bleed, but I hear you. 06:28:44 How about this: 06:29:12 -!- choas [~lars@p5795C058.dip.t-dialin.net] has quit [Ping timeout: 240 seconds] 06:29:38 (let server-loop () (define client (server-accept)) (when (valid? client) (handle-client client) (loop))) 06:29:38 ? 06:30:51 I see. Yes, I guess imperative (Scheme) code feels foreign to me, but you're right that that's a valid use case. 06:31:51 -!- andrea_ [~andr3a@static-217-133-36-35.clienti.tiscali.it] has quit [Quit: Leaving] 06:33:13 cky: Well, my second example is the kind of imperative code that is very common in all functional languages except for haskell. 06:34:03 I haven't tried implementing a server in Scheme, so I'll take your word for it. At first blush I'd have assumed it's more CL-style. ;-) 06:34:05 Here's a rephrase: (let loop () (define line (read-line)) (when (not (eof-object? line)) (display line) (loop))) 06:34:17 leppie [~lolcow@196-215-71-176.dynamic.isadsl.co.za] has joined #scheme 06:34:44 True, I/O is inherently imperative (again, excluding Haskell). 06:36:00 Right -- and these things are common enough that a non-tail-recursive `when' will break a bunch of code. (In bad confusing/subtle ways.) 06:37:30 -!- eggsby [~egghead@50-56-59-89.static.cloud-ips.com] has left #scheme 06:38:27 Indeed. 06:45:07 rudybot: (version) 06:45:07 eli: ; Value: "5.1.3" 06:45:42 offby1: https://github.com/offby1/rudybot/issues/8 06:59:58 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Ping timeout: 245 seconds] 07:06:00 gtoast [~gtoast@99-100-70-120.lightspeed.sntcca.sbcglobal.net] has joined #scheme 07:20:56 -!- gtoast [~gtoast@99-100-70-120.lightspeed.sntcca.sbcglobal.net] has quit [Quit: gtoast] 07:32:04 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 07:33:05 -!- vk0 [~vk@ip-23-75.bnaa.dk] has quit [Read error: Operation timed out] 07:34:45 jackhammer2022 [4c770d90@gateway/web/freenode/ip.76.119.13.144] has joined #scheme 07:37:32 jackhammer2022_ [4c770d90@gateway/web/freenode/ip.76.119.13.144] has joined #scheme 07:39:37 -!- jackhammer2022 [4c770d90@gateway/web/freenode/ip.76.119.13.144] has quit [Ping timeout: 265 seconds] 07:44:03 -!- Hal9k [~Hal@unaffiliated/kusanagi] has quit [Ping timeout: 252 seconds] 07:46:33 -!- jackhammer2022_ [4c770d90@gateway/web/freenode/ip.76.119.13.144] has quit [Quit: Page closed] 07:51:45 leo2007 [~leo@119.255.41.67] has joined #scheme 08:21:10 -!- ninwa [~joey@d192-24-87-196.try.wideopenwest.com] has quit [Read error: Connection reset by peer] 08:31:00 -!- drwho [~drwho@c-68-81-125-196.hsd1.pa.comcast.net] has quit [Ping timeout: 244 seconds] 08:32:47 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 248 seconds] 08:33:20 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 08:47:40 ahinki [~chatzilla@212.99.10.150] has joined #scheme 08:47:44 Operaist2 [~OperaIst@ppp-110-169-230-46.revip5.asianet.co.th] has joined #scheme 08:48:25 im using emacs run-scheme but now when i presses enter it doesnt do anything but just go to the next line (and delete all the lines under if i scroll up then press enter) 08:48:30 Hal9k [~Hal@unaffiliated/kusanagi] has joined #scheme 08:51:04 -!- imran_sr [~imran@99-72-224-160.lightspeed.sntcca.sbcglobal.net] has quit [Quit: Leaving] 08:52:53 wingo [~wingo@90.164.198.39] has joined #scheme 08:59:39 -!- Hal9k [~Hal@unaffiliated/kusanagi] has quit [Ping timeout: 255 seconds] 09:04:57 Hal9k [~Hal@unaffiliated/kusanagi] has joined #scheme 09:32:38 -!- Hal9k [~Hal@unaffiliated/kusanagi] has quit [] 09:40:18 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 276 seconds] 09:45:00 Hal9k [~Hal@unaffiliated/kusanagi] has joined #scheme 09:50:48 snizzo [~quassel@iglu.cc.uniud.it] has joined #scheme 09:51:05 -!- leo2007 [~leo@119.255.41.67] has quit [Ping timeout: 244 seconds] 10:04:02 -!- snizzo [~quassel@iglu.cc.uniud.it] has quit [Ping timeout: 258 seconds] 10:04:02 -!- Operaist2 [~OperaIst@ppp-110-169-230-46.revip5.asianet.co.th] has quit [Read error: Connection reset by peer] 10:20:30 Operaist2 [~OperaIst@ppp-124-120-216-71.revip2.asianet.co.th] has joined #scheme 10:20:31 -!- drdo` [~drdo@85.207.54.77.rev.vodafone.pt] has quit [Remote host closed the connection] 10:20:57 drdo`` [~drdo@85.207.54.77.rev.vodafone.pt] has joined #scheme 10:21:55 -!- lbc [~quassel@1908ds1-aboes.0.fullrate.dk] has quit [Quit: No Ping reply in 180 seconds.] 10:22:12 -!- nowhereman [~pierre@AStrasbourg-551-1-129-23.w90-26.abo.wanadoo.fr] has quit [Remote host closed the connection] 10:22:17 lbc_ [~quassel@1908ds1-aboes.0.fullrate.dk] has joined #scheme 10:22:27 -!- amgarching [~matveev@theo1.theochem.tu-muenchen.de] has quit [Remote host closed the connection] 10:22:28 hello? 10:23:31 -!- levi [~user@c-174-52-219-147.hsd1.ut.comcast.net] has quit [Remote host closed the connection] 10:23:33 -!- PreciousMetals [~Heart@unaffiliated/colours] has quit [Ping timeout: 252 seconds] 10:24:03 levi` [~user@c-174-52-219-147.hsd1.ut.comcast.net] has joined #scheme 10:24:29 Precious1etals [~Heart@pool-74-96-80-187.washdc.fios.verizon.net] has joined #scheme 10:24:39 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Ping timeout: 252 seconds] 10:25:51 pchrist_ [~spirit@gentoo/developer/pchrist] has joined #scheme 10:26:07 -!- lusory_ [~bart@bb115-66-195-54.singnet.com.sg] has quit [Ping timeout: 252 seconds] 10:26:30 oiiii [~oiiii@82.71.241.25] has joined #scheme 10:26:51 -!- rgrinberg [~rudi@24.52.246.61] has quit [Ping timeout: 252 seconds] 10:27:10 -!- ineiros [~itniemin@james.ics.hut.fi] has quit [Ping timeout: 260 seconds] 10:27:12 lusory [~bart@bb115-66-195-54.singnet.com.sg] has joined #scheme 10:27:26 -!- djanatyn|afk is now known as djanatyn 10:27:52 ineiros_ [~itniemin@james.ics.hut.fi] has joined #scheme 10:28:20 -!- yosafbridge [~yosafbrid@li125-242.members.linode.com] has quit [Ping timeout: 260 seconds] 10:28:22 -!- eli [~eli@winooski.ccs.neu.edu] has quit [*.net *.split] 10:28:22 -!- jimrees_ [~jimrees@ita4fw1.itasoftware.com] has quit [*.net *.split] 10:28:22 -!- wingo [~wingo@90.164.198.39] has quit [*.net *.split] 10:28:22 -!- MichaelRaskin [~MichaelRa@195.178.216.22] has quit [*.net *.split] 10:28:22 -!- stepnem [~stepnem@176.119.broadband10.iol.cz] has quit [*.net *.split] 10:28:22 -!- metasyntax [~taylor@184.17.183.11] has quit [*.net *.split] 18:09:52 ccl-logbot [~ccl-logbo@setf.clozure.com] has joined #scheme 18:09:52 18:09:52 -!- names: ccl-logbot turbofail copumpkin EmmanuelOga stamourv jackhammer2022 jewel joyfulgirl denisw MichaelRaskin jonrafkind gtoast vk0 luist Intensity wbooze homie stis ravenexp gravicappa gnomon araujo MrFahrenheit tupi_ boei soveran twem2_ smtlaissezfaire metasyntax|work Belaf peterhil leo2007 masm rff twem2 mmc ijp cky sloyd yosafbridge rapacity kpal snarkyboojum pyro- tali713 elly incubot ski dsmith ineiros_ duncanm evhan Obfuscate aking shardz 18:09:52 -!- names: dostoyevsky danking teiresias eno alaricsp acarrico Saeren turon dRbiG antoszka gf3 clog framling Modius confab djanatyn MasseR otakutomo zedstar joast emma Hal9k Precious1etals muep foof Razz cataska lusory pchrist_ levi` lbc_ drdo`` wingo leppie gabot pothos Guest49052 ente SHODAN ecraven X-Scale s_chng ToxicFrog Nisstyre finnrobi stepnem imphasing mornfall Adrinael Pepe_ pygospa markskilbeck wigners_friend metasyntax PfhorSlayer amoe tupi 18:09:52 -!- names: DerGuteMoritz lonstein preflex karswell dfeuer Euthy clsmith snorble tessier Khisanth Arafangion cmatei offby1 samth wtetzner saccadewrk aoh rixed Axioplase fds pranq eMBee kanru fbs ttvd arbscht micro__ rudybot shachaf ft klutometis mapour asumu zbigniew XTL _p4bl0 elliottcable aehrisch mario-goulart Nshag jimrees_ eli tizoc xian poucet sepisultrum z0d kandinski erg aspect felipe roderic rotty adzuci fizzie qu1j0t3 tonyg moll ve ray weinholt daedric 18:09:52 -!- names: tauntaun C-Keen inimino 18:09:56 pandeiro [~pandeiro@177.32.217.182] has joined #scheme 18:10:02 -!- pandeiro [~pandeiro@177.32.217.182] has quit [Client Quit] 18:10:19 -!- gtoast [~gtoast@166.137.8.148] has quit [Remote host closed the connection] 18:10:47 gtoast [~gtoast@166.137.8.148] has joined #scheme 18:12:39 -!- MrFahrenheit [~RageOfTho@users-147-29.vinet.ba] has quit [Quit: Leaving] 18:15:25 rostayob [~rostayob@5add3a8e.bb.sky.com] has joined #scheme 18:15:34 What's a good introduction to scheme macros? 18:19:49 rostayob: what scheme implementation do you normally use? 18:20:33 the answer depends on that :) there are a few kinds of macro systems in use 18:20:45 .oO( Pyramid ) 18:21:05 ? 18:21:19 wingo: chicken right now, but I want to be able to read macros mainly to follow a book 18:21:26 but I think they're all R5RS 18:21:42 http://en.wikipedia.org/wiki/Pyramid_scheme 18:23:07 dostoyevsky: so your users implement the scheme? 18:23:11 :) 18:23:59 rostayob: my attempt at an intro was here: http://www.gnu.org/software/guile/manual/html_node/Syntax-Rules.html 18:24:26 wingo: yes, that looks like what they're using 18:24:27 thanks 18:24:36 Well, my implementation provides endless memory to start with... And it's unreasonably fast, it can even do infinite loops within a few seconds 18:27:17 -!- jackhammer2022 [4c770d90@gateway/web/freenode/ip.76.119.13.144] has quit [Ping timeout: 265 seconds] 18:27:49 kk` [~kk@77.107.164.131] has joined #scheme 18:27:49 -!- kk` [~kk@77.107.164.131] has quit [Changing host] 18:27:49 kk` [~kk@unaffiliated/kk/x-5380134] has joined #scheme 18:39:18 githogori [~githogori@c-24-7-1-43.hsd1.ca.comcast.net] has joined #scheme 18:43:41 -!- leo2007 [~leo@123.114.32.55] has quit [Ping timeout: 252 seconds] 18:44:10 that's a good way to solve the halting problem 18:48:59 what was that successor to "Impromptu" called again? 18:49:01 wbooze` [~levgue@xdsl-78-35-177-246.netcologne.de] has joined #scheme 18:49:21 homie` [~levgue@xdsl-78-35-177-246.netcologne.de] has joined #scheme 18:49:48 ah, extempore 18:50:17 micro_ [~rprimus@reflex.squiz.co.uk] has joined #scheme 18:50:42 i really wish he would use chibi or some other actual scheme instead of tinyscheme 18:51:40 -!- wbooze [~levgue@xdsl-78-35-143-123.netcologne.de] has quit [Ping timeout: 258 seconds] 18:51:40 -!- homie [~levgue@xdsl-78-35-143-123.netcologne.de] has quit [Ping timeout: 255 seconds] 19:08:07 rgrinberg [~rudi@24.52.246.61] has joined #scheme 19:13:52 -!- tupi_ [~david@189.119.100.86] has quit [Read error: Connection reset by peer] 19:16:38 -!- gtoast [~gtoast@166.137.8.148] has quit [Quit: gtoast] 19:36:30 -!- gravicappa [~gravicapp@80.90.116.82] has quit [Remote host closed the connection] 19:45:40 -!- dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has quit [Ping timeout: 255 seconds] 19:49:41 -!- boei [~boei@44.Red-83-33-86.dynamicIP.rima-tde.net] has quit [Quit: Leaving] 19:55:03 I often read chibi's source code, it's nice and clean and tiny... But I haven't yet figured out how the syntax part is implemented. I can see that it's parsed and evaluated but I wonder what it actually changes or how it adjusts the parsing of source code... 19:58:41 pumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 20:01:25 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 252 seconds] 20:03:00 chromaticwt [8118b312@gateway/web/freenode/ip.129.24.179.18] has joined #scheme 20:04:13 -!- Modius [~Modius@cpe-70-123-140-183.austin.res.rr.com] has quit [Quit: "Object-oriented design" is an oxymoron] 20:11:36 dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has joined #scheme 20:11:54 mmc1 [~michal@178-85-65-177.dynamic.upc.nl] has joined #scheme 20:16:05 -!- joyfulgirl [~ivy@unaffiliated/joyfulgirl] has quit [Remote host closed the connection] 20:20:32 -!- jewel [~jewel@196-215-117-72.dynamic.isadsl.co.za] has quit [Ping timeout: 248 seconds] 20:22:19 -!- chromaticwt [8118b312@gateway/web/freenode/ip.129.24.179.18] has quit [Ping timeout: 265 seconds] 20:23:14 -!- pumpkin is now known as copumpkin 20:33:44 -!- wbooze` [~levgue@xdsl-78-35-177-246.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 20:33:49 -!- homie` [~levgue@xdsl-78-35-177-246.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 20:33:57 gravicappa [~gravicapp@ppp91-77-164-160.pppoe.mtu-net.ru] has joined #scheme 20:37:39 cdueck [~chris@129-97-220-33.uwaterloo.ca] has joined #scheme 20:37:49 hello, does vim support PLT Scheme syntax hilighting and if so, how can i enable it? 20:38:37 jao [~user@pdpc/supporter/professional/jao] has joined #scheme 20:39:13 not that i know of, but :set syntax=scheme is not bad 20:39:24 also :set lisp, to get lisp style indentation 20:40:51 cdueck: there's a vim-racket plugin for hilighting keywords. See the pre-release docs on "other editors" for details. 20:42:42 cdueck: http://pre.racket-lang.org/docs/html/guide/other-editors.html 20:44:57 asumu, jonrafkind: thanks, this is much better 20:50:06 cdueck: Normally, vim will automatically activate the correct syntax when you open a file, depending on the file suffix. E.g. *.scm for scheme. 20:50:34 racket uses .rkt and vim doesn't know about it by default 20:51:30 Yep, but racket is not really scheme, is it? So assuming it is scheme might lead to some surprises in terms of highlightin... 20:52:35 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has left #scheme 20:53:06 syntactically they are virtually identical 20:53:17 or i should say, lexically 20:53:44 Ah... strange that vim doesn'T support it by default. Probaby that's because everyone is using emacs. 20:54:01 more likely that racket is too new and no one bothered to update vim 20:54:21 i mean i use vim+racket but i dont really care about updating the core distribution, i just have local .vim files 20:54:36 Yeah, me too.. 21:02:47 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Ping timeout: 260 seconds] 21:16:31 drwho [~drwho@c-68-81-125-196.hsd1.pa.comcast.net] has joined #scheme 21:24:53 -!- gravicappa [~gravicapp@ppp91-77-164-160.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 21:43:13 jonrafkind [~jon@crystalis.cs.utah.edu] has joined #scheme 21:56:04 gffa [~gffa@unaffiliated/gffa] has joined #scheme 22:08:02 -!- ijp [~user@host86-182-155-249.range86-182.btcentralplus.com] has quit [Quit: The garbage collector got me] 22:31:02 -!- pyro- [~pyro@zhaozhou.dcollins.info] has quit [Changing host] 22:31:03 pyro- [~pyro@unaffiliated/purplepanda] has joined #scheme 22:34:19 -!- denisw [~denisw@dslb-188-103-185-080.pools.arcor-ip.net] has quit [Remote host closed the connection] 22:45:22 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 22:46:02 -!- peterhil [~peterhil@193-64-22-193-nat.elisa-mobile.fi] has quit [Ping timeout: 260 seconds] 22:51:22 peterhil [~peterhil@GGZYMKCCCVI.gprs.sl-laajakaista.fi] has joined #scheme 22:56:49 -!- wingo [~wingo@90.164.198.39] has quit [Ping timeout: 256 seconds] 22:59:29 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 23:08:20 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 23:09:35 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Ping timeout: 260 seconds] 23:10:05 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 23:16:06 re: vim and .rkt - something like this in your .vimrc: au BufNewFile,BufRead *.rkt setf scheme 23:24:25 zmv [~zmv@c95339f3.virtua.com.br] has joined #scheme 23:26:30 zmv_ [~zmv@c95339f3.virtua.com.br] has joined #scheme 23:27:20 -!- zmv [~zmv@c95339f3.virtua.com.br] has quit [Disconnected by services] 23:27:24 -!- zmv_ is now known as zmv 23:28:32 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Ping timeout: 276 seconds] 23:43:56 -!- samth is now known as samth_away 23:50:36 -!- zmv [~zmv@c95339f3.virtua.com.br] has quit [Ping timeout: 240 seconds] 23:51:01 -!- pygospa [~Pygosceli@kiel-4dbec62b.pool.mediaWays.net] has quit [Ping timeout: 240 seconds] 23:51:11 -!- metasyntax [~taylor@184.17.183.11] has quit [Quit: WeeChat [quit]]