00:03:17 -!- zevarito [~zevarito@r186-48-102-38.dialup.adsl.anteldata.net.uy] has quit [Remote host closed the connection] 00:03:25 -!- bweaver [~user@host-68-169-175-225.WISOLT2.epbfi.com] has quit [Ping timeout: 260 seconds] 00:03:48 copumpkin [~pumpkin@17.101.89.205] has joined #scheme 00:03:48 -!- copumpkin [~pumpkin@17.101.89.205] has quit [Changing host] 00:03:48 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 00:07:45 corruptmemory [~jim@ool-18bbd5b2.static.optonline.net] has joined #scheme 00:07:49 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Read error: Operation timed out] 00:09:44 -!- schmir [~schmir@p54A912B8.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 00:11:53 -!- rgrau [~user@62.Red-88-2-20.staticIP.rima-tde.net] has quit [Remote host closed the connection] 00:14:00 -!- adu [~ajr@pool-72-83-254-159.washdc.fios.verizon.net] has quit [Quit: adu] 00:17:27 -!- Riastradh [debian-tor@fsf/member/riastradh] has quit [Ping timeout: 240 seconds] 00:36:40 -!- arbscht [~arbscht@unaffiliated/arbscht] has quit [Ping timeout: 260 seconds] 00:38:33 arbscht [~arbscht@60-234-133-173.bitstream.orcon.net.nz] has joined #scheme 00:38:36 -!- arbscht [~arbscht@60-234-133-173.bitstream.orcon.net.nz] has quit [Changing host] 00:38:36 arbscht [~arbscht@unaffiliated/arbscht] has joined #scheme 00:40:02 -!- DrDuck [~duck@216.186.151.63] has quit [Ping timeout: 240 seconds] 00:42:57 jeffbopp [~user@c-69-251-172-246.hsd1.md.comcast.net] has joined #scheme 00:43:05 heina [~heina@h220-215-160-087.catv02.itscom.jp] has joined #scheme 00:44:36 -!- gravicappa [~gravicapp@ppp85-140-146-85.pppoe.mtu-net.ru] has quit [Ping timeout: 276 seconds] 00:45:46 -!- jeffbopp [~user@c-69-251-172-246.hsd1.md.comcast.net] has left #scheme 00:49:33 -!- amca [~amca@CPE-121-208-84-154.cqzr1.cha.bigpond.net.au] has quit [Excess Flood] 00:50:14 amca [~amca@CPE-121-208-84-154.cqzr1.cha.bigpond.net.au] has joined #scheme 00:57:12 yapsol2 [yapsol@187.91.51.197] has joined #scheme 00:57:16 -!- aklt [~aklt@77.75.167.158] has quit [Quit: Yarg, need to get some sleep,.. See you!] 00:58:54 -!- Seus [~Seus@adsl-99-114-191-45.dsl.spfdmo.sbcglobal.net] has quit [Quit: Seus] 00:58:59 -!- heina [~heina@h220-215-160-087.catv02.itscom.jp] has quit [Quit: Leaving...] 00:59:26 mytoh [~mytoh@h220-215-160-087.catv02.itscom.jp] has joined #scheme 01:00:10 -!- yapsol [yapsol@187.91.196.144] has quit [Ping timeout: 240 seconds] 01:02:13 -!- mwolfe [~mwolfe@corona.cornerturn.com] has quit [Remote host closed the connection] 01:03:45 scottmcl66 [~chatzilla@c-76-114-212-171.hsd1.dc.comcast.net] has joined #scheme 01:05:56 -!- blueadept [~blueadept@unaffiliated/blueadept] has quit [Quit: Leaving] 01:07:01 blueadept [~blueadept@unaffiliated/blueadept] has joined #scheme 01:09:36 -!- wbooze` [~levgue@xdsl-84-44-209-222.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 01:09:59 -!- Blkt [~Blkt@dynamic-adsl-94-37-227-177.clienti.tiscali.it] has quit [Quit: Error: do not makunbound t please!] 01:10:09 -!- homie` [~levgue@xdsl-84-44-209-222.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 01:14:48 homie [~levgue@xdsl-84-44-209-222.netcologne.de] has joined #scheme 01:15:34 wbooze [~levgue@xdsl-84-44-209-222.netcologne.de] has joined #scheme 01:16:10 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 01:21:13 mdmkolbe [~adamsmd@2001:18e8:2:244:212:3fff:fe43:5290] has joined #scheme 01:27:09 What is the story on Bigloo fixnums? E.g. does +fx always return a fixnum? I ask because I'm reading a type recovery paper about Bigloo circa 1995 and am having trouble reproducing the same results unless I assume that +fx can't return a fixnum (unlike R6RS fx+ which can). 01:27:26 Seus [~Seus@adsl-99-114-191-45.dsl.spfdmo.sbcglobal.net] has joined #scheme 01:27:35 -!- pygospa [~pygospa@kiel-5f77b0a0.pool.mediaWays.net] has quit [Disconnected by services] 01:27:44 pygospa [~pygospa@kiel-5f769e77.pool.mediaWays.net] has joined #scheme 01:28:05 myu2 [~myu2@v077103.dynamic.ppp.asahi-net.or.jp] has joined #scheme 01:30:25 jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has joined #scheme 01:32:02 hoihoi 01:36:28 -!- pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 255 seconds] 01:38:19 -!- dfkjjkfd [~paulh@210-11-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 01:41:36 mwolfe [~michael@cpe-67-49-72-40.socal.res.rr.com] has joined #scheme 01:43:16 copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has joined #scheme 01:43:16 -!- copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has quit [Changing host] 01:43:16 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 01:46:51 hey jcowan 01:46:58 ho bitweiler 01:47:06 lol 01:48:18 -!- masm [~masm@bl19-154-206.dsl.telepac.pt] has quit [Quit: Leaving.] 01:52:56 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 01:59:20 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 02:01:09 homie` [~levgue@xdsl-78-35-143-165.netcologne.de] has joined #scheme 02:01:09 wbooze` [~levgue@xdsl-78-35-143-165.netcologne.de] has joined #scheme 02:02:49 boy, that Xah lee sure, states alot of nothing 'spamming in comp.lang.scheme 02:03:25 -!- wbooze [~levgue@xdsl-84-44-209-222.netcologne.de] has quit [Ping timeout: 246 seconds] 02:03:30 -!- homie [~levgue@xdsl-84-44-209-222.netcologne.de] has quit [Ping timeout: 240 seconds] 02:04:10 -!- wbooze` [~levgue@xdsl-78-35-143-165.netcologne.de] has quit [Client Quit] 02:04:19 -!- homie` [~levgue@xdsl-78-35-143-165.netcologne.de] has quit [Client Quit] 02:12:15 rpg [~rpg@216.243.156.16] has joined #scheme 02:12:22 -!- rpg [~rpg@216.243.156.16] has quit [Client Quit] 02:18:48 -!- mytoh [~mytoh@h220-215-160-087.catv02.itscom.jp] has quit [Remote host closed the connection] 02:21:17 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 02:21:19 -!- RageOfThou [~RageOfTho@users-146-124.vinet.ba] has quit [Ping timeout: 240 seconds] 02:24:00 homie [~levgue@xdsl-78-35-143-165.netcologne.de] has joined #scheme 02:24:06 wbooze [~levgue@xdsl-78-35-143-165.netcologne.de] has joined #scheme 02:35:06 -!- Seus [~Seus@adsl-99-114-191-45.dsl.spfdmo.sbcglobal.net] has quit [Quit: Seus] 02:45:11 DrDuck [~duck@216.186.151.63] has joined #scheme 02:45:17 Azuvix [~james@174-27-39-176.bois.qwest.net] has joined #scheme 02:46:27 bokr [~eduska@109.110.40.163] has joined #scheme 02:46:36 vu3rdd [~vu3rdd@nat/cisco/x-cbdimqmkqxezpqrh] has joined #scheme 02:46:36 -!- vu3rdd [~vu3rdd@nat/cisco/x-cbdimqmkqxezpqrh] has quit [Changing host] 02:46:36 vu3rdd [~vu3rdd@fsf/member/vu3rdd] has joined #scheme 02:49:22 -!- bgs101 [~ian@unaffiliated/bgs100] has quit [Quit: night] 02:54:54 -!- Azuvix [~james@174-27-39-176.bois.qwest.net] has quit [Quit: Leaving] 03:02:44 -!- carleastlund [~cce@gotham.ccs.neu.edu] has quit [Quit: carleastlund] 03:02:45 automata [~vilson@187.112.161.13] has joined #scheme 03:02:49 #/j lisp 03:02:54 sorry 03:03:59 Hahahahahahahahaha. 03:04:43 You _should_ be sorry. 03:04:52 *gnomon* arches a judgmental eyebrow in automata's direction 03:05:41 Seus [~Seus@adsl-99-114-191-45.dsl.spfdmo.sbcglobal.net] has joined #scheme 03:09:54 tupi [~david@186.205.37.15] has joined #scheme 03:10:03 -!- mwolfe [~michael@cpe-67-49-72-40.socal.res.rr.com] has quit [Remote host closed the connection] 03:36:00 Eugene_ [~Eugene@pool-71-249-116-223.nycmny.east.verizon.net] has joined #scheme 03:37:28 parolang [~user@wsip-98-174-183-68.ok.ok.cox.net] has joined #scheme 03:40:55 Can anyone explain why (exact? (sqrt (* 1/2 1/2))) should return #f? 03:46:21 yapsol3 [yapsol@189.97.42.65] has joined #scheme 03:46:28 Because sqrt is permitted to return inexact results even when its argument is exact. 03:46:33 It's allowed to. It might, or it might not. It depends on your implementation. 03:46:35 (per R5RS ) 03:47:50 How difficult is it to write a SQRT routine which preserves exactitude when it is available? 03:49:15 -!- yapsol2 [yapsol@187.91.51.197] has quit [Ping timeout: 240 seconds] 03:50:05 More difficult than calling sqrt(3), most of the time. 03:50:06 gnomon: would it be sufficient to test for INTEGER? 03:50:34 klutometis: As the example above shows, no. 03:50:46 jcowan: good point 03:50:59 incubot: (define (sqrt-maybe-exact n) (let ((sqrt (sqrt n))) (if (integer? sqrt) (inexact->exact sqrt) sqrt))) (list (sqrt-maybe-exact 9) (sqrt-maybe-exact 2)) 03:51:00 (3 1.4142135623731) 03:51:11 that, i suppose, is insufficient. 03:51:30 damn. 03:52:03 However, I'll conjecture that it's sufficient to test for integers and their reciprocals. 03:52:11 I suspect that at the end of the day you'll end up basing a large chunk of your numeric tower atop a set of correct and enormously slow libraries, then spend the next five years trying to reduce the speed delta between your code and the naive implementation. 03:53:39 rudybot: eval (sqrt 9/25) 03:53:39 chandler: your racket/load sandbox is ready 03:53:39 chandler: ; Value: 3/5 03:56:58 -!- scottmcl66 [~chatzilla@c-76-114-212-171.hsd1.dc.comcast.net] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.13/20101203075014]] 03:57:37 -!- corruptmemory [~jim@ool-18bbd5b2.static.optonline.net] has quit [Quit: Leaving] 03:57:56 Naive implementation (that I can think of): (exp (/ (log n) 2)) (plus a few Newton-Raphson iterations afterwards, if necessary) 04:00:15 chandler, wowsers - that's actually quite impressive. 04:00:27 It is also possible that I am easily impressed. 04:02:03 mwolfe [~michael@64.134.225.170] has joined #scheme 04:02:45 -!- amca [~amca@CPE-121-208-84-154.cqzr1.cha.bigpond.net.au] has quit [Quit: RL is wonderful!] 04:05:41 Azuvix [~james@174-27-39-176.bois.qwest.net] has joined #scheme 04:13:26 -!- Azuvix is now known as Saluteman 04:14:32 gnomon: I can think of a way to go about it that would allow exactness to be carried in sqrt. Start with a = (inexact->exact (expt n 1/2)), then perform Newton-Raphson from there. 04:15:28 gnomon: Set inexactness when an iteration is run. 04:16:27 Actually, correction: a = (inexact->exact (round (expt n 1/2))) 04:16:57 I guess I don't know what you guys are doing...how do these methods guarentee exactness? 04:16:59 (For fractional sqrt, just treat the numerator and denominator separately.) 04:17:07 -!- drdo [~user@91.205.108.93.rev.vodafone.pt] has quit [Ping timeout: 246 seconds] 04:17:30 parolang: If you do the procedure as I described, then if a is exactly (sqrt n), then no N-R iterations will run. 04:18:08 ebg [~textual@ip68-6-68-92.sb.sd.cox.net] has joined #scheme 04:18:19 (Technically, if (- (/ n a) a) is below a certain threshold, no iterations will run either.) 04:18:23 -!- ebg is now known as gozone 04:18:41 Since I do a round first, then that deals with the small-but-nonzero-threshold corner case. 04:20:36 cky: Isn't (expt n 1/2) == (sqrt n) ? 04:20:55 parolang: I'm using (expt n 1/2) as a starting point for calculating (sqrt n). 04:21:08 Mathematically, of course, they are the same. 04:21:15 However, floating point seldom models mathematics. 04:21:28 cky: I mean in a scheme implementation. 04:21:47 Well, let's see: 04:21:50 rudybot: (sqrt 9) 04:21:50 cky: ; Value: 3 04:21:53 rudybot: (expt 9 1/2) 04:21:54 cky: ; Value: 3 04:22:03 rudybot: (expt 27 1/3) 04:22:03 cky: ; Value: 3.0 04:22:05 Hehehehehe. 04:22:44 I'm tempted to use my approach to do exact-when-possible implementations of expt-with-rational-root. 04:23:36 It's been a while since I've messed with newton's method, but couldn't you use it with rational numbers rather than flonums? Once you have to resort to flonums, you've lost your exactness. 04:23:56 Sure, of course you can. 04:24:09 However, after a certain number of iterations (and still not getting an exact root), you have to stop somewhere. 04:24:22 At that point, you have to set the inexactness bit, to be truthful to the caller. 04:24:29 Yeah. 04:24:46 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Ping timeout: 255 seconds] 04:28:24 -!- mwolfe [~michael@64.134.225.170] has quit [Remote host closed the connection] 04:28:25 locks [u130@gateway/web/irccloud.com/x-fbtyqmhwoifzohzz] has joined #scheme 04:31:35 somnium [~user@adsl-65-184-155.dab.bellsouth.net] has joined #scheme 04:34:36 -!- pygospa [~pygospa@kiel-5f769e77.pool.mediaWays.net] has quit [Ping timeout: 265 seconds] 04:34:48 -!- tupi [~david@186.205.37.15] has quit [Quit: Leaving] 04:35:50 -!- Saluteman is now known as Azuvix 04:36:35 -!- locks [u130@gateway/web/irccloud.com/x-fbtyqmhwoifzohzz] has left #scheme 04:36:35 pygospa [~pygospa@kiel-4dbec1c3.pool.mediaWays.net] has joined #scheme 04:37:41 -!- automata [~vilson@187.112.161.13] has quit [Quit: Saindo] 04:39:30 -!- parolang [~user@wsip-98-174-183-68.ok.ok.cox.net] has quit [Remote host closed the connection] 04:41:58 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 246 seconds] 04:46:12 -!- gozone [~textual@ip68-6-68-92.sb.sd.cox.net] has quit [Quit: Leaving...] 04:48:34 gozone [~textual@ip68-6-68-92.sb.sd.cox.net] has joined #scheme 04:49:15 -!- gozone [~textual@ip68-6-68-92.sb.sd.cox.net] has quit [Remote host closed the connection] 04:51:50 ebg [~textual@ip68-6-68-92.sb.sd.cox.net] has joined #scheme 04:52:52 mwolfe [~michael@cpe-67-49-72-40.socal.res.rr.com] has joined #scheme 05:03:48 You know how in drscheme it will sometimes say what line [in another file] the error occured on? How can I get the same output with regular command line mzscheme? 05:04:58 -!- Seus [~Seus@adsl-99-114-191-45.dsl.spfdmo.sbcglobal.net] has quit [Quit: Seus] 05:07:37 pantsd: I think add "-l errortrace" to your racket invocation. 05:07:45 pantsd_home [~pantsd_ho@174-31-213-225.tukw.qwest.net] has joined #scheme 05:08:03 offby1: Thanks! 05:08:48 -!- blueadept [~blueadept@unaffiliated/blueadept] has quit [Quit: Leaving] 05:09:41 schmir [~schmir@mail.brainbot.com] has joined #scheme 05:09:52 tell me if it works 05:11:24 Not quite 05:11:37 but I found a blog post using that as a search term I'm reading right now 05:13:06 -!- myu2 [~myu2@v077103.dynamic.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 05:15:30 wait, you're not pantsd. 05:15:47 I am pantsd :p 05:15:49 Repants yourself! 05:16:04 I just have a screen on a remote host as well 05:16:15 whoever heard of such a thing 05:16:26 It's a miracle, says I 05:16:31 so I get back "reference to an identifier before its definition: errortrace-key in module: "/usr/lib/plt/collects/errortrace/errortrace-key.ss" 05:21:40 -!- mdmkolbe [~adamsmd@2001:18e8:2:244:212:3fff:fe43:5290] has left #scheme 05:21:47 -!- ebg [~textual@ip68-6-68-92.sb.sd.cox.net] has quit [Quit: Leaving...] 05:22:42 gozoner [~ebg@ip68-6-68-92.sb.sd.cox.net] has joined #scheme 05:23:36 hmm 05:23:37 -!- gozoner [~ebg@ip68-6-68-92.sb.sd.cox.net] has quit [Client Quit] 05:23:39 paste the transcript 05:24:59 maybe "racket -l errortrace --require your-file.rkt" 05:26:46 -!- REPLeffect [~REPLeffec@69.54.115.254] has quit [Remote host closed the connection] 05:31:51 -!- parcs [~patrick@ool-45741d7d.dyn.optonline.net] has quit [Ping timeout: 240 seconds] 05:31:54 gozoner [~ebg@ip68-6-68-92.sb.sd.cox.net] has joined #scheme 05:31:58 -!- Azuvix [~james@174-27-39-176.bois.qwest.net] has quit [Quit: Leaving] 05:32:22 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 05:33:16 parcs [~patrick@ool-45741d7d.dyn.optonline.net] has joined #scheme 05:34:49 phao [~phao@189.107.135.51] has joined #scheme 05:35:34 pantsd pasted "errortracepandas" at http://paste.lisp.org/display/118829 05:35:53 -!- jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has quit [Quit: Leaving] 05:36:06 Right now I don't use --require because not module in module form 05:36:16 but I can make that a module rather than doing (include ) 05:44:37 modules are s'posed to be kewler 05:45:02 oh, you're running mzscheme. 05:45:04 I'm running racket. 05:45:11 The command line options probably differ somewhat. 05:47:58 -!- MapMan [mapman@2001:470:1f0a:120e::fe] has quit [Ping timeout: 272 seconds] 05:48:20 MapMan [mapman@2001:470:1f0a:120e::fe] has joined #scheme 05:54:18 jewel [~jewel@196-215-117-53.dynamic.isadsl.co.za] has joined #scheme 05:57:52 -!- gozoner [~ebg@ip68-6-68-92.sb.sd.cox.net] has quit [Remote host closed the connection] 05:59:24 offby1: ah kks 05:59:51 time to install racket 06:03:25 ade 06:03:33 Oops, wrong window. 06:06:28 -!- phao [~phao@189.107.135.51] has quit [Quit: Leaving] 06:10:07 racketwebsite doesnt work right now 06:10:11 go to cnet dowloads 06:13:22 :p 06:13:54 -!- Riastradh [debian-tor@fsf/member/riastradh] has quit [Remote host closed the connection] 06:14:30 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 06:21:42 -!- schmir [~schmir@mail.brainbot.com] has quit [Remote host closed the connection] 06:24:42 -!- morphir_ [~oivindbi@caracal.stud.ntnu.no] has quit [Ping timeout: 272 seconds] 06:25:15 morphir_ [~oivindbi@caracal.stud.ntnu.no] has joined #scheme 06:29:35 -!- pantsd_home [~pantsd_ho@174-31-213-225.tukw.qwest.net] has quit [Ping timeout: 260 seconds] 06:31:46 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 06:38:31 -!- bitweiler [~bitweiler@adsl-99-40-239-167.dsl.stl2mo.sbcglobal.net] has quit [Quit: johhny smoke crack and had a heart attack, jimmy smoke reefer and got the munchies] 06:43:45 pantsd_home [~pantsd_ho@174-24-200-159.tukw.qwest.net] has joined #scheme 06:43:51 damn racket website being down 06:44:04 Whats rackets equiv of merge from srfi 95? 06:58:20 racket is up now 07:00:54 myu2 [~myu2@58x5x224x106.ap58.ftth.ucom.ne.jp] has joined #scheme 07:05:32 HG` [~HG@xdsl-92-252-81-150.dip.osnanet.de] has joined #scheme 07:05:51 yapsol2 [yapsol@189.96.251.68] has joined #scheme 07:06:01 kenjin2201 [~kenjin@218.235.8.175] has joined #scheme 07:09:03 -!- yapsol3 [yapsol@189.97.42.65] has quit [Ping timeout: 240 seconds] 07:10:39 -!- jewel [~jewel@196-215-117-53.dynamic.isadsl.co.za] has quit [Ping timeout: 240 seconds] 07:14:54 -!- kenjin2201 [~kenjin@218.235.8.175] has quit [Read error: Connection reset by peer] 07:15:23 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Ping timeout: 276 seconds] 07:27:08 -!- mwolfe [~michael@cpe-67-49-72-40.socal.res.rr.com] has quit [Remote host closed the connection] 07:30:23 -!- yapsol2 [yapsol@189.96.251.68] has quit [Quit: Leaving] 07:38:57 -!- myu2 [~myu2@58x5x224x106.ap58.ftth.ucom.ne.jp] has quit [Remote host closed the connection] 07:40:23 yays! 07:42:46 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Ping timeout: 255 seconds] 07:45:56 phao [~phao@189.107.135.51] has joined #scheme 07:53:57 xvilka pasted "macro definition" at http://paste.lisp.org/display/118830 07:54:12 hm. if i have some of scheme code which use syntax (macro forma body), how i can implement macro in guile? 07:54:26 http://paste.lisp.org/+2JOU this dont work 07:55:56 fantazo [~fantazo@178-191-162-63.adsl.highway.telekom.at] has joined #scheme 07:56:00 xvilka: http://www.gnu.org/software/guile/manual/html_node/Macros.html 08:01:07 ecraven: no, if i'm cant change original sources and (macro (some) (body)) is not at top level. so i'm need to define some expression. which can define such macro 08:03:54 -!- pantsd_home [~pantsd_ho@174-24-200-159.tukw.qwest.net] has quit [Ping timeout: 240 seconds] 08:04:37 look at LET-SYNTAX, you can probably define a macro that expands MACRO into LET-SYNTAX (though that will be hard for general cases) 08:09:02 hkBst [~quassel@gentoo/developer/hkbst] has joined #scheme 08:10:38 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 276 seconds] 08:11:28 ecraven: thx 08:12:16 http://www.gnu.org/software/guile/manual/html_node/Let_002dSyntax.html - i like this manual :D 08:12:37 hehe 08:12:54 You should kick wingo when he's here ;) 08:14:29 -!- fantazo [~fantazo@178-191-162-63.adsl.highway.telekom.at] has quit [Remote host closed the connection] 08:29:10 rdd [~rdd@c83-250-48-164.bredband.comhem.se] has joined #scheme 08:37:31 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 08:43:02 nilg` [~user@77.70.2.229] has joined #scheme 08:48:41 is there an s-exp diff freely available? 08:49:16 s-exp diff? 08:49:34 i have two s-exps, i want to see where they differ 08:50:26 -!- Eugene_ [~Eugene@pool-71-249-116-223.nycmny.east.verizon.net] has quit [Quit: Leaving] 09:06:38 pantsd_home [~pantsd_ho@174-21-255-207.tukw.qwest.net] has joined #scheme 09:18:29 gravicappa [~gravicapp@ppp85-140-146-85.pppoe.mtu-net.ru] has joined #scheme 09:48:50 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 240 seconds] 09:50:22 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 10:06:37 -!- phao [~phao@189.107.135.51] has quit [Quit: Leaving] 10:07:15 alaricsp [~alaric@geniedb.hotdesktop.biz] has joined #scheme 10:10:04 pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 10:15:02 -!- nilg` [~user@77.70.2.229] has quit [Remote host closed the connection] 10:21:13 tupi [~david@186.205.37.15] has joined #scheme 10:27:03 -!- HG` [~HG@xdsl-92-252-81-150.dip.osnanet.de] has quit [Ping timeout: 240 seconds] 10:29:33 saint_cypher [~rjspotter@c-76-126-70-224.hsd1.ca.comcast.net] has joined #scheme 10:33:03 HG` [~HG@xdsl-92-252-89-240.dip.osnanet.de] has joined #scheme 10:38:20 ASau [~user@95-27-211-235.broadband.corbina.ru] has joined #scheme 10:52:13 myu2 [~myu2@v077103.dynamic.ppp.asahi-net.or.jp] has joined #scheme 10:58:31 -!- vu3rdd [~vu3rdd@fsf/member/vu3rdd] has quit [Remote host closed the connection] 11:01:58 nilg` [~user@77.70.2.229] has joined #scheme 11:12:33 towodo [~anonymous@209-6-120-139.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com] has joined #scheme 11:16:45 -!- towodo [~anonymous@209-6-120-139.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com] has quit [Ping timeout: 246 seconds] 11:18:29 phao [~phao@189.107.135.51] has joined #scheme 11:19:08 wisey [~Steven@host86-150-108-29.range86-150.btcentralplus.com] has joined #scheme 11:37:09 Seus [~Seus@adsl-99-114-191-45.dsl.spfdmo.sbcglobal.net] has joined #scheme 11:42:38 char-ready? checks if there is a character on the buffer? I didn't understand very well from reading the scheme programming language... 11:47:19 -!- morphir_ [~oivindbi@caracal.stud.ntnu.no] has quit [Quit: leaving] 11:48:35 fantazo [~fantazo@178-191-168-158.adsl.highway.telekom.at] has joined #scheme 11:55:46 hiyuh [~hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has joined #scheme 12:04:22 dfkjjkfd [~paulh@210-11-ftth.onsnetstudenten.nl] has joined #scheme 12:12:26 -!- qsun [~qsun@66.220.3.138] has quit [Ping timeout: 276 seconds] 12:13:17 qsun [~qsun@66.220.3.138] has joined #scheme 12:14:35 adu [~ajr@64.134.65.247] has joined #scheme 12:14:50 -!- pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 240 seconds] 12:18:44 -!- gravicappa [~gravicapp@ppp85-140-146-85.pppoe.mtu-net.ru] has quit [Ping timeout: 272 seconds] 12:31:36 -!- phao [~phao@189.107.135.51] has quit [Quit: Leaving] 12:31:56 gravicappa [~gravicapp@ppp85-140-146-85.pppoe.mtu-net.ru] has joined #scheme 12:32:12 zevarito [~zevarito@r186-48-220-108.dialup.adsl.anteldata.net.uy] has joined #scheme 12:34:47 towodo [~anonymous@209-6-120-139.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com] has joined #scheme 12:39:25 -!- dfkjjkfd [~paulh@210-11-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 12:44:31 pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 12:46:39 -!- Riastradh [debian-tor@fsf/member/riastradh] has quit [Ping timeout: 240 seconds] 12:46:56 dfkjjkfd [~paulh@210-11-ftth.onsnetstudenten.nl] has joined #scheme 12:58:19 -!- wisey [~Steven@host86-150-108-29.range86-150.btcentralplus.com] has quit [Quit: Leaving] 13:10:09 mathk_ [~mathk@194.177.62.148] has joined #scheme 13:12:48 -!- zevarito [~zevarito@r186-48-220-108.dialup.adsl.anteldata.net.uy] has quit [Read error: Connection reset by peer] 13:13:42 zevarito [~zevarito@r186-48-238-23.dialup.adsl.anteldata.net.uy] has joined #scheme 13:14:08 -!- 30BAAP47E [~mathk@194.177.62.163] has quit [Ping timeout: 250 seconds] 13:17:07 -!- towodo [~anonymous@209-6-120-139.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com] has quit [Ping timeout: 255 seconds] 13:46:15 femtoo [~femto@95-89-248-171-dynip.superkabel.de] has joined #scheme 13:51:23 -!- Seus [~Seus@adsl-99-114-191-45.dsl.spfdmo.sbcglobal.net] has quit [Quit: Seus] 13:54:27 -!- zevarito [~zevarito@r186-48-238-23.dialup.adsl.anteldata.net.uy] has left #scheme 14:01:40 valium97582 [~daniel@189-47-118-92.dsl.telesp.net.br] has joined #scheme 14:02:30 good morning 14:04:16 -!- dfkjjkfd [~paulh@210-11-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 14:15:14 -!- MichaelRaskin [~MichaelRa@195.178.216.22] has quit [Ping timeout: 240 seconds] 14:24:28 -!- jimrees_ [~jimrees@ita4fw1.itasoftware.com] has quit [Quit: Ex-Chat] 14:35:48 towodo [~anonymous@65-86-24-42.client.dsl.net] has joined #scheme 14:40:44 vilsonvieira [~vilson@187.112.161.13] has joined #scheme 14:46:54 jimrees_ [~jimrees@ita4fw1.itasoftware.com] has joined #scheme 14:52:29 -!- wbooze [~levgue@xdsl-78-35-143-165.netcologne.de] has quit [Read error: Connection reset by peer] 14:52:36 -!- homie [~levgue@xdsl-78-35-143-165.netcologne.de] has quit [Read error: Connection reset by peer] 14:53:03 -!- towodo [~anonymous@65-86-24-42.client.dsl.net] has quit [Quit: towodo] 14:54:22 homie [~levgue@xdsl-78-35-166-152.netcologne.de] has joined #scheme 14:54:35 masm [~masm@bl15-79-18.dsl.telepac.pt] has joined #scheme 14:54:36 wbooze [~levgue@xdsl-78-35-166-152.netcologne.de] has joined #scheme 14:54:56 -!- mathk_ is now known as mathk 14:55:20 -!- wbooze [~levgue@xdsl-78-35-166-152.netcologne.de] has quit [Remote host closed the connection] 14:55:20 -!- hkBst [~quassel@gentoo/developer/hkbst] has quit [Read error: Connection reset by peer] 14:55:50 -!- homie [~levgue@xdsl-78-35-166-152.netcologne.de] has quit [Client Quit] 14:56:05 -!- hiyuh [~hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has quit [Quit: Leaving.] 14:57:46 homie [~levgue@xdsl-78-35-166-152.netcologne.de] has joined #scheme 14:57:47 wbooze [~levgue@xdsl-78-35-166-152.netcologne.de] has joined #scheme 15:09:27 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 240 seconds] 15:09:52 copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has joined #scheme 15:09:53 -!- copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has quit [Changing host] 15:09:53 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 15:11:38 aisa [~aisa@173-10-243-253-Albuquerque.hfc.comcastbusiness.net] has joined #scheme 15:14:58 didi [~user@unaffiliated/didi/x-1022147] has joined #scheme 15:17:08 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 15:22:06 -!- Axioplase_ [~Axioplase@fortigate.kb.ecei.tohoku.ac.jp] has quit [Ping timeout: 246 seconds] 15:24:42 -!- somnium [~user@adsl-65-184-155.dab.bellsouth.net] has quit [Remote host closed the connection] 15:39:27 Azuvix [~james@174-27-39-176.bois.qwest.net] has joined #scheme 15:41:23 bweaver [~user@host-68-169-175-225.WISOLT2.epbfi.com] has joined #scheme 15:45:06 copumpkin [~pumpkin@17.101.89.205] has joined #scheme 15:45:06 -!- copumpkin [~pumpkin@17.101.89.205] has quit [Changing host] 15:45:06 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 15:49:27 gozoner [~ebg@ip68-6-68-92.sb.sd.cox.net] has joined #scheme 15:51:32 REPLeffect [~REPLeffec@69.54.115.254] has joined #scheme 15:58:05 -!- copumpkin is now known as banana 15:58:13 -!- banana is now known as copumpkin 16:07:05 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 276 seconds] 16:23:26 -!- myu2 [~myu2@v077103.dynamic.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 16:25:31 Blkt [~user@net-93-151-248-118.cust.dsl.teletu.it] has joined #scheme 16:26:22 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Read error: Connection reset by peer] 16:32:40 -!- adu [~ajr@64.134.65.247] has quit [Quit: adu] 16:39:40 -!- valium97582 [~daniel@189-47-118-92.dsl.telesp.net.br] has quit [Ping timeout: 272 seconds] 16:45:37 daniel [~daniel@189-47-118-92.dsl.telesp.net.br] has joined #scheme 16:46:27 -!- daniel is now known as valium97582 16:47:13 corruptmemory [~jim@ool-18bbd5b2.static.optonline.net] has joined #scheme 16:52:05 drwho [~drwho@c-76-124-17-190.hsd1.pa.comcast.net] has joined #scheme 16:53:55 -!- drwho is now known as chxane 16:54:01 -!- chxane [~drwho@c-76-124-17-190.hsd1.pa.comcast.net] has quit [Client Quit] 16:54:05 myu2 [~myu2@v077103.dynamic.ppp.asahi-net.or.jp] has joined #scheme 16:58:40 chxane [~chxane@c-76-124-17-190.hsd1.pa.comcast.net] has joined #scheme 16:58:46 -!- myu2 [~myu2@v077103.dynamic.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 17:04:43 -!- pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 255 seconds] 17:07:25 -!- gravicappa [~gravicapp@ppp85-140-146-85.pppoe.mtu-net.ru] has quit [Ping timeout: 255 seconds] 17:09:22 jewel [~jewel@196-215-117-53.dynamic.isadsl.co.za] has joined #scheme 17:09:42 -!- Caleb-- [thedude@bzq-79-182-207-181.red.bezeqint.net] has quit [] 17:17:56 f8l [~f8l@77-255-12-39.adsl.inetia.pl] has joined #scheme 17:23:27 -!- chxane [~chxane@c-76-124-17-190.hsd1.pa.comcast.net] has quit [Ping timeout: 240 seconds] 17:25:16 gravicappa [~gravicapp@ppp91-78-228-173.pppoe.mtu-net.ru] has joined #scheme 17:27:03 jonrafkind [~jon@crystalis.cs.utah.edu] has joined #scheme 17:30:47 phao [~phao@189.107.135.51] has joined #scheme 17:34:27 -!- chandler [~foo@opendarwin/developer/chandler] has left #scheme 17:39:07 mwolfe [~mwolfe@corona.cornerturn.com] has joined #scheme 17:40:22 http://ix.io/1pC I'm implementing some functions to work with sets implemented with lsits -- is there a better way to implement set? 17:40:44 I mean, I could suppose the argument is a list and it'd be much simpler, but I'm trying to get it to work for all arguments. 17:43:40 dfkjjkfd [~paulh@210-11-ftth.onsnetstudenten.nl] has joined #scheme 17:45:05 chxane [~chxane@c-76-124-17-190.hsd1.pa.comcast.net] has joined #scheme 17:52:20 pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 17:52:28 -!- Azuvix [~james@174-27-39-176.bois.qwest.net] has quit [Quit: Leaving] 17:57:06 -!- Hal9k [~Lernaean@unaffiliated/kusanagi] has quit [Ping timeout: 250 seconds] 17:58:18 Fare [~Fare@ita4fw1.itasoftware.com] has joined #scheme 17:58:36 -!- rien_ [~rien_@rrcs-69-193-217-130.nyc.biz.rr.com] has quit [Read error: Connection reset by peer] 18:02:52 Hal9k [~Lernaean@24-107-60-232.dhcp.stls.mo.charter.com] has joined #scheme 18:02:52 -!- Hal9k [~Lernaean@24-107-60-232.dhcp.stls.mo.charter.com] has quit [Changing host] 18:02:52 Hal9k [~Lernaean@unaffiliated/kusanagi] has joined #scheme 18:14:17 phao: member ==> O(n^2). You could use a hash-table pr something like that to improve it. 18:14:54 Well, a single call to member is O(n), but, a single call to hash-table-ref is O(1). :-P 18:16:36 Yes, I mean the set? would be O(n^2). 18:17:02 Also, in R5RS, I don't see that member is specified to do anything specific for dotted lists, or circular lists. 18:17:39 It is specified to do the same as list-tail to find the tails, but the later is not specified to do anything special on dotted lists either (it would depend on the interpretation of the parameter k). 18:18:05 So if you want to just return false when you don't have a proper list, I'd advise to avoid using member. 18:19:15 rien_ [~rien_@rrcs-69-193-217-130.nyc.biz.rr.com] has joined #scheme 18:34:49 fantazo_ [~fantazo@178-191-170-212.adsl.highway.telekom.at] has joined #scheme 18:36:51 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 18:37:06 -!- fantazo [~fantazo@178-191-168-158.adsl.highway.telekom.at] has quit [Ping timeout: 276 seconds] 18:37:30 -!- Hal9k [~Lernaean@unaffiliated/kusanagi] has quit [Ping timeout: 240 seconds] 18:44:20 Blkt` [~user@net-188-153-223-94.cust.dsl.teletu.it] has joined #scheme 18:46:12 -!- Blkt [~user@net-93-151-248-118.cust.dsl.teletu.it] has quit [Ping timeout: 276 seconds] 18:48:44 wisey [~Steven@host86-150-108-29.range86-150.btcentralplus.com] has joined #scheme 18:51:08 Blkt`` [~user@net-188-153-220-217.cust.dsl.teletu.it] has joined #scheme 18:51:25 bitweiler [~bitweiler@99.40.239.167] has joined #scheme 18:52:34 -!- Blkt` [~user@net-188-153-223-94.cust.dsl.teletu.it] has quit [Ping timeout: 250 seconds] 18:53:06 -!- nilg` [~user@77.70.2.229] has quit [Remote host closed the connection] 18:54:04 cuartum [~Cuartum@89.Red-80-25-155.staticIP.rima-tde.net] has joined #scheme 18:55:58 -!- saint_cypher [~rjspotter@c-76-126-70-224.hsd1.ca.comcast.net] has quit [Ping timeout: 255 seconds] 19:04:52 -!- alaricsp [~alaric@geniedb.hotdesktop.biz] has quit [Ping timeout: 240 seconds] 19:05:56 rpg [~rpg@mpls.sift.info] has joined #scheme 19:12:58 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Remote host closed the connection] 19:19:58 zevarito [~zevarito@r186-48-203-134.dialup.adsl.anteldata.net.uy] has joined #scheme 19:20:26 -!- cuartum [~Cuartum@89.Red-80-25-155.staticIP.rima-tde.net] has quit [Quit: Saliendo] 19:22:50 -!- fantazo_ [~fantazo@178-191-170-212.adsl.highway.telekom.at] has quit [Ping timeout: 240 seconds] 19:31:18 Azuvix [~james@174-27-39-176.bois.qwest.net] has joined #scheme 19:31:44 -!- ASau [~user@95-27-211-235.broadband.corbina.ru] has quit [Remote host closed the connection] 19:32:09 ASau [~user@93-80-210-26.broadband.corbina.ru] has joined #scheme 19:36:28 Blkt``` [~user@net-93-151-249-215.cust.dsl.teletu.it] has joined #scheme 19:37:40 zevarito_ [~zevarito@r186-48-218-66.dialup.adsl.anteldata.net.uy] has joined #scheme 19:38:04 fantazo_ [~fantazo@178-191-170-212.adsl.highway.telekom.at] has joined #scheme 19:38:20 -!- Blkt`` [~user@net-188-153-220-217.cust.dsl.teletu.it] has quit [Ping timeout: 276 seconds] 19:40:10 -!- zevarito [~zevarito@r186-48-203-134.dialup.adsl.anteldata.net.uy] has quit [Ping timeout: 272 seconds] 19:45:06 choas [~lars@p578F66F5.dip.t-dialin.net] has joined #scheme 19:50:39 -!- jewel [~jewel@196-215-117-53.dynamic.isadsl.co.za] has quit [Ping timeout: 240 seconds] 19:52:15 zanes [~zane@wall.tripitinc.com] has joined #scheme 19:55:30 -!- rien [~unkanon@dyn-160-39-34-114.dyn.columbia.edu] has quit [Ping timeout: 240 seconds] 19:56:36 rien [~unkanon@dyn-160-39-34-114.dyn.columbia.edu] has joined #scheme 19:58:03 Hal9k [~Lernaean@unaffiliated/kusanagi] has joined #scheme 20:01:05 -!- wisey [~Steven@host86-150-108-29.range86-150.btcentralplus.com] has quit [Quit: Leaving] 20:05:27 -!- femtoo [~femto@95-89-248-171-dynip.superkabel.de] has quit [Ping timeout: 240 seconds] 20:05:35 femtoo [~femto@95-89-248-171-dynip.superkabel.de] has joined #scheme 20:08:18 carleastlund [~cce@209-6-40-238.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 20:08:30 Seus [~Seus@146.7.61.69] has joined #scheme 20:09:20 cuartum [~Cuartum@89.Red-80-25-155.staticIP.rima-tde.net] has joined #scheme 20:10:26 alexsura1i [~alex@pool-71-188-133-67.aubnin.fios.verizon.net] has joined #scheme 20:10:35 -!- alexsura1i is now known as alexsuraci` 20:11:12 -!- alexsuraci` is now known as alex-out 20:11:37 -!- alex-out is now known as alexsuraci` 20:19:07 -!- rpg [~rpg@mpls.sift.info] has quit [Quit: rpg] 20:26:50 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 20:27:14 schmir [~schmir@p5099de5a.dip0.t-ipconnect.de] has joined #scheme 20:40:54 -!- femtoo [~femto@95-89-248-171-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 20:41:47 -!- Blkt``` is now known as Blkt 20:47:26 is there any fast way to check if two sets are equal? 20:48:04 phao: If you store the sets in a smart way you can do that. See for example the "iset" egg, which is a fast integer set library 20:48:26 ok.. 20:48:33 but what if for generic sets? 20:48:57 langmartin [~user@exeuntcha2.tva.gov] has joined #scheme 20:49:03 Well, there you could do smart things too 20:49:11 But don't ask me what or how ;) 20:49:57 hehe 20:50:06 I need a set that can support ints or sets of ints 20:50:13 I'll take a look at that iset 20:56:15 -!- Seus [~Seus@146.7.61.69] has quit [Quit: Seus] 20:57:01 sjamaan, the implementation of iset uses a BUNCH of things I don't know 20:57:45 You can just use it 20:58:02 rgrau [~user@62.Red-88-2-20.staticIP.rima-tde.net] has joined #scheme 20:58:02 Or use it as a way to dive in and learn! 20:58:21 well, yes, but I wanted something for now hehe 20:58:22 =) 20:58:41 I tuink he means you can use it without learning how it works, no? 20:58:45 You could use the documented API 20:58:49 yeah, that's what I mean 20:58:56 rien, not quite 20:59:10 rien, I meant something I could learn fast 20:59:14 reading iset source would take days 20:59:17 phao: You could make your own datatype that contains either an iset or itself 20:59:28 hmm 20:59:30 makes sense 20:59:30 phao: You don't need to read the source 20:59:35 You can just use the documented API 20:59:52 you mean http://wiki.call-cc.org/eggref/4/iset ? 20:59:59 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 21:00:12 yeah 21:00:26 I also did a short tutorial on it in a Gazette issue 21:00:34 the "problem" is that I don't wanna sets 21:00:39 I want something similar to sets 21:00:56 what are the specs of what you need? 21:00:59 I want something that is a set in all means but accept repeated elements 21:01:07 that is a bag 21:01:57 what I really need is a fast way to make a "union of two bags" 21:02:07 and keeping the repetitions? 21:02:28 what's (union (bag 1 1 2) (bag 1 1 3)) to you? 21:02:47 hmm, wait a moment 21:02:55 I need a set of bags =) 21:02:58 the union is on the set hehe 21:03:00 not on the bags 21:03:17 the problem is that (bag 1 2 1) is equal to (bag 1 1 2) 21:03:20 a set of bags... 21:03:23 yes 21:03:26 so comparing two bags is ... painful 21:03:39 phao: Not really. 21:03:46 phao: Just keep your items in the bag as dotted pairs. 21:03:49 oh you mean if you were to write the code for comparing two bags? 21:03:57 e.g., (bag 1 1 3) could be ((1 . 2) (3 . 1)) 21:03:59 cky, what do you mean? 21:04:07 how would that help? 21:04:17 because now the elements are unique 21:04:20 phao: Then comparing two bags for equality is simply a simple list match. 21:04:23 and there's a descriptor for the quantity 21:04:30 What rien_ said. 21:04:34 ah ok 21:04:36 got it 21:05:24 Certainly that is how Guava implements it. :-P 21:05:30 it's only a simple list match if you keep the pairs sorted though 21:05:36 (Guava == Java on steroids. Written by Google.) 21:05:39 sorted by element and not by quantity ;) 21:05:41 rien_: Yes, you have to. 21:05:46 (Sort by element.) 21:05:53 :) 21:08:58 ok -- I'll try that 21:08:59 thx 21:09:29 sedeki [~tobias@c80-216-168-90.bredband.comhem.se] has joined #scheme 21:09:36 how can i quit with an error? 21:09:38 you gave me a good idea, I'd have fun implementing a bag egg 21:09:59 like abort an evaluation 21:10:41 -!- vilsonvieira [~vilson@187.112.161.13] has quit [Quit: Saindo] 21:11:07 (error "blah") ? 21:13:07 nope 21:13:18 no such identifier 21:15:23 it works for me in csi 21:15:42 i'm using essentials of programming languages 21:15:47 in drscheme 21:15:50 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Read error: Connection reset by peer] 21:16:39 reference to unknown identifier... 21:16:45 -!- antoszka [~antoszka@unaffiliated/antoszka] has quit [Read error: Operation timed out] 21:17:23 anyone? 21:17:33 oh... 21:18:26 it works for me in drracket as well 21:18:37 make sure it says #lang racket at the top 21:19:03 lang expressions not currently enabled 21:19:09 then (error "blah") should error out with the message "blah" 21:19:15 you have an old version 21:19:19 go grab drracket 21:19:47 also this code should print 012345 then error: (let loop ((i 0)) (if (> i 5) (error "oops") (print i)) (loop (+ i 1))) 21:19:56 -!- Blkt [~user@net-93-151-249-215.cust.dsl.teletu.it] has quit [Ping timeout: 265 seconds] 21:19:58 (that's for you to try after you download drRacket) 21:20:09 ok thanks, let my try. 21:20:37 ok, let us know 21:21:28 yeah 21:22:34 milanj [~milanj_@109-92-121-183.dynamic.isp.telekom.rs] has joined #scheme 21:22:36 -!- milanj [~milanj_@109-92-121-183.dynamic.isp.telekom.rs] has left #scheme 21:22:53 sedeki: ERROR is part of SRFI 23. 21:22:59 It's implemented by nearly all Scheme implementations. 21:23:09 how do i include it? 21:23:56 srfi 23? 21:24:28 depends on the implementation you're using 21:25:18 antoszka [~antoszka@unaffiliated/antoszka] has joined #scheme 21:25:31 I'm trying to get my head around this, why isn't my macro not working as expected? http://paste.lisp.org/display/118857 21:25:36 he's using racket 21:26:17 #lang not working in this context 21:26:19 still not fucking working 21:26:44 are you running it from drracket ? 21:27:05 yeah, that's what you need to run, then it'll work because I just tried it 21:27:06 I expect from it, that it should work this way: 1. (def foo 13) -> foo = 13 2. (def foo "is a variable" 13) -> foo = 13 and doc="is a variable" 3. (foo (func a b) "docstring" (let ... )) should work in my opinion too. 21:27:10 yes 21:27:20 drracket version 5.0.2 21:27:23 make sure you have it set to determine language from source 21:27:36 essentials of programming languges 21:27:52 "error" reference to unknown identifier 21:28:03 sedeki: on the bottom left corner 21:28:06 what does it say? 21:28:20 it has to say "Determin language from source" 21:28:26 but all I get is, that it totally ignores second case for (def foo "is a variable" 13) 21:28:33 you're going through the EoPL book? 21:28:41 essentials of programming languages 21:28:50 there is no option "determine language from source" 21:29:20 sedeki: then click Choose Language... then "determine language from source" 21:29:25 my code fucks up 21:29:28 i can't use it 21:29:43 you can post your code in a pastie 21:30:45 ok 21:30:46 -!- corruptmemory [~jim@ool-18bbd5b2.static.optonline.net] has quit [Ping timeout: 255 seconds] 21:32:24 http://paste.lisp.org/display/118858 21:33:31 what about eopl:error 21:34:21 kuribas [~user@dD576345A.access.telenet.be] has joined #scheme 21:34:38 yeah 21:34:38 thanks 21:34:47 how did you find it? 21:34:57 it's in the docs 21:35:07 press f1 21:35:10 in drracket 21:35:19 jonrafkind [~jon@crystalis.cs.utah.edu] has joined #scheme 21:38:37 kejoki [~user@70.158.115.190] has joined #scheme 21:40:36 Anyone know of an epub version of SICP? 21:41:27 rapacity: thanks 21:42:04 -!- bitweiler [~bitweiler@99.40.239.167] has left #scheme 21:43:14 corruptmemory [~jim@ool-18bbd5b2.static.optonline.net] has joined #scheme 21:44:24 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 21:45:44 Zer [Zer@cpe-24-166-80-78.neo.res.rr.com] has joined #scheme 21:48:28 kejoki: Google for it. :-) 21:51:24 pdponze [~pdponze@144.85.121.191] has joined #scheme 21:53:04 -!- cuartum [~Cuartum@89.Red-80-25-155.staticIP.rima-tde.net] has quit [Quit: Saliendo] 21:56:24 -!- phao [~phao@189.107.135.51] has quit [Quit: Leaving] 21:57:17 cky: found it, thanks. wonder why it didn't find it the first time? 21:59:59 :-) 22:04:31 -!- pdponze [~pdponze@144.85.121.191] has left #scheme 22:18:21 -!- langmartin [~user@exeuntcha2.tva.gov] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 22:27:13 -!- HG` [~HG@xdsl-92-252-89-240.dip.osnanet.de] has quit [Quit: Leaving.] 22:30:54 -!- choas [~lars@p578F66F5.dip.t-dialin.net] has quit [Quit: leaving] 22:38:00 -!- Azuvix [~james@174-27-39-176.bois.qwest.net] has quit [Quit: Leaving] 22:39:15 Nisstyre [~nisstyre@infocalypse-net.info] has joined #scheme 22:39:18 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Remote host closed the connection] 22:39:23 Nisstyre [~nisstyre@infocalypse-net.info] has joined #scheme 22:42:25 -!- f8l [~f8l@77-255-12-39.adsl.inetia.pl] has quit [Quit: WeeChat 0.3.4] 22:44:30 -!- aisa [~aisa@173-10-243-253-Albuquerque.hfc.comcastbusiness.net] has quit [Quit: aisa] 22:46:36 lewis1711 [~lewis@125-239-255-244.jetstream.xtra.co.nz] has joined #scheme 22:50:42 erjiang [~erjiang@7.80.244.66.jest.smithvilledigital.net] has joined #scheme 22:54:24 -!- sedeki [~tobias@c80-216-168-90.bredband.comhem.se] has quit [Quit: leaving] 23:01:53 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 264 seconds] 23:03:07 -!- kejoki [~user@70.158.115.190] has quit [Quit: .] 23:06:29 didi [~user@unaffiliated/didi/x-1022147] has joined #scheme 23:09:02 -!- kuribas [~user@dD576345A.access.telenet.be] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:11:11 -!- chxane [~chxane@c-76-124-17-190.hsd1.pa.comcast.net] has quit [Quit: Leaving] 23:18:06 wes__ [~nisstyre@infocalypse-net.info] has joined #scheme 23:18:48 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Disconnected by services] 23:19:14 -!- wes__ is now known as Nisstyre 23:20:18 -!- Zer [Zer@cpe-24-166-80-78.neo.res.rr.com] has left #scheme 23:25:06 acarrico [~acarrico@pppoe-68-142-62-150.gmavt.net] has joined #scheme 23:29:13 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 23:53:21 is there a portable way for finding out if a symbol was "defined"? 23:53:53 -!- rgrau [~user@62.Red-88-2-20.staticIP.rima-tde.net] has quit [Remote host closed the connection] 23:55:11 copumpkin [~pumpkin@31-33-98.wireless.csail.mit.edu] has joined #scheme 23:55:11 -!- copumpkin [~pumpkin@31-33-98.wireless.csail.mit.edu] has quit [Changing host] 23:55:11 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 23:56:54 -!- bweaver [~user@host-68-169-175-225.WISOLT2.epbfi.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:58:02 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Remote host closed the connection]