00:00:18 so when f for instance renaims symbols given '(a b c) the list '(a (f g) c) should be someting like '(a renamed_g c) 00:00:20 Max4: you want to take an input list and return another list? That doesn't sound like syntax; that sounds like a plain old function 00:00:31 Max4: Why do you need macros for that? 00:01:02 yeah but I want to transform the program obviously, not a list at runtime : / 00:02:02 maybe if you wrote up a simple but complete example ... 00:02:12 Some hours ago I had a discussion with ski on this channel on lazy evaluation and I now want to implement lazy evaluation by traversing function bodies and reordering some stuff... 00:02:19 (complete up to but not including the macro definition itself, obviously) 00:03:02 -!- futilius [~futilius_@user-0c9h82b.cable.mindspring.com] has quit [Quit: Leaving] 00:03:27 I came up with a function which replaces a set of identifiers with '(force identifier) in an arbitrary expression 00:03:59 I now just need to write a macro which applies this function to the body of a definition with the given arguments : / 00:05:22 (define-lazy (f a b) (do_stuff a b)) should become (define (f a b) (replace_in_exp '(a b) '(do_stuff a b))) which should become (define (f a b) (do_stuff (force a) (force b))) 00:06:01 aha 00:11:40 -!- bitonic [~Francesco@93-40-81-157.ip37.fastwebnet.it] has quit [Quit: WeeChat 0.3.5] 00:11:43 Max4: Ok; you can certainly do that with explicit-renaming. Why not just use thunks, though? 00:13:37 rudybot: Thunks are a poor-man's lazy-evaluation. 00:13:37 klutometis: I'd hate to miss something mind-blowing like streams, lazy-evaluation and infinite data-structures, if there were something of that caliber in CL but not in scheme. 00:13:53 *offby1* kvells 00:13:55 rudybot: There's no reason to go macro-clown. 00:13:55 klutometis: is there a way to protect a reason from auto formating ? C-c C-q C-s ? 00:14:04 Thunks don't suffice for my purposes, I'm afraid : / 00:14:06 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #scheme 00:14:12 but I will look into the explicit renaming stuff, thanks! 00:14:20 Max4: Make a case, man; you're full of naked assertions, just like Nietzsche. 00:14:48 klutometis: oh, i suffer from that, too. :/ 00:15:00 klutometis: but you know, naked assertions or gtfo. :) 00:15:02 qu1j0t3: Heh; don't we all. He did it with a certain elan, though. 00:15:07 it's all about making this work in Scheme: http://paste.lisp.org/display/128610 00:15:21 qu1j0t3: That belongs in jcowan's sig-stash, I think. 00:16:52 ("Naked assertions or GTFO," that is.) 00:18:24 jcowan [~John@cpe-66-108-19-185.nyc.res.rr.com] has joined #scheme 00:18:42 es [~estevocas@cpe-74-72-192-178.nyc.res.rr.com] has joined #scheme 00:18:43 -!- es [~estevocas@cpe-74-72-192-178.nyc.res.rr.com] has quit [Read error: Connection reset by peer] 00:19:26 hoi 00:20:06 klutometis: :) well speak of the devil. 00:21:00 "The devil; he has hairy legs" 00:21:39 jcowan: Yeah, impeccable timing; we had an RFiYSS. 00:21:46 CampinSam [~CampinSam@24-176-98-217.dhcp.jcsn.tn.charter.com] has joined #scheme 00:22:15 What's that? 00:23:25 "Request for Inclusion in your Sig-Stash;" sorry, got a couple majuscules wrong. 00:23:42 klutometis: i dunno, it seems a marginal type of humour... ;-) 00:23:55 "Your Sig-Stash" sounds vaguely off-color. 00:23:59 qu1j0t3: Yeah; or at least context-dependent. 00:24:16 Most of jcowan's sigs seem to be context-free. 00:24:33 klutometis: "For any occasion." 00:24:37 klutometis: "Non-toxic." 00:24:39 offby1: Heh; I had a vague feeling there was a joke there somewhere. 00:25:09 klutometis: but it's nice to be nominated. 00:25:15 Max4: Interesting; do you mind making the case for lazy-eval? 00:25:31 They're chosen at random independent of the message. If there's too bad a clash, I'll pick another; very occasionally I'll choose one. 00:26:00 jcowan: Oh, of course; "context free" in the sense, though, that they generally seem to stand on their own: pithy, self-contained. 00:26:07 klutometis: Evaluating the expression with something like lazy-eval? I'm afraid that's too slow 00:26:21 and too complicated, if it doesn't exist already? 00:26:31 Max4: Just trying to figure out where you need the laziness. 00:26:37 jhemann_ [~Jason@adsl-99-186-239-106.dsl.bltnin.sbcglobal.net] has joined #scheme 00:27:12 I need the lazyiness so that I don't get an error in recursive definitions like fact :( 00:28:24 Okay, I'm looking at the log. Exactly what part do people think I ought to use as a .sig? 00:28:37 -!- sawgij [~sawjig@gateway/tor-sasl/sawjig] has quit [Ping timeout: 276 seconds] 00:29:16 offby1: hey 00:29:19 ahoy 00:29:24 jcowan: It seems weak in retrospect; vaguely something about Nietzsche, naked assertions and GTFO. 00:29:28 Needs more pith, I'm afraid. 00:29:34 here let me pith on that 00:29:40 Heh! 00:30:09 offby1: igtg, but here is the new instructions: http://pastebin.com/raw.php?i=RRrL7dEY 00:30:40 tx 00:30:57 so only define and lambda are working so far 00:31:09 I worked on let today, but I haved pushed to git yet 00:31:31 -!- phax [~phax@unaffiliated/phax] has quit [Quit: Leaving] 00:31:56 Okay, added with modest editing and no names. 00:32:45 offby1: pith off! 00:35:27 jcowan: Really? Holy shit, gents; we've made the big time: we're right next to the likes of Galadriel, Joyce and Abelson! 00:36:16 klutometis: this is about as philosophical as I get. http://www.flickr.com/photos/tomgauld/6871142874/in/contacts/ 00:36:25 -!- adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has quit [Ping timeout: 276 seconds] 00:36:43 klutometis: i'm not fit to sweep up Abelson's garbage collected CONS cells. 00:36:49 I actually forgot there was an Abelson quote in there. 00:37:26 qu1j0t3: This comment is hilarious: "Excellent. Tension. Special effects. And a happy ending." Is that your work? 00:37:28 Eh, you are also in company with gadicath. 00:37:47 klutometis: no! certainly not. 00:37:49 Yes, chili in the eye is bad, but so is your John Cowan 00:37:49 ear. However, I would suggest you wash your cowan@ccil.org 00:37:49 hands thoroughly before going to the toilet. http://www.ccil.org/~cowan 00:37:49 --gadicath 00:38:06 spoken by someone who knows from chili! 00:38:14 wow, heavy, maan 00:38:35 klutometis: right, it's a low-rent Weta studio epic in a single economical JPEG! 00:38:36 Yeah. "Chili in the eye is bad, but so is your ear [bad]" 00:39:13 And most people wash after using the toilet, though if you've been handling peppers, washing twice is probably in order. 00:39:23 -!- rudybot is now known as bot22 00:39:31 klutometis: I would add that there is a clear bad guy in all this. 00:39:50 -!- bot22 is now known as rudybot 00:39:58 klutometis: no vague namby-pamby European moral ambiguity here! 00:40:44 jcowan: easy to underestimate the effects. even without cutting them, they leave active ingredients on fingers. 00:40:55 *jcowan* nods. 00:41:06 -!- Nisstyre [~yours@c-208-90-102-250.netflash.net] has quit [Ping timeout: 246 seconds] 00:41:07 I have no truck with teh spicy 00:41:13 which surprised me a bit, the skin looks sealing but .. no 00:41:27 oh, i love spicy, but not in the eye. or ear. or other um sensitive membranes 00:41:37 qu1j0t3: The potato-giant is vaguely tragic, though; I'm afraid they've made a martyr of his excess. 00:41:46 though tbh i never tried ear. that's a new one. i guess i'd only ever learn that from your sigfile. 00:42:30 sawgij [~sawjig@gateway/tor-sasl/sawjig] has joined #scheme 00:42:55 klutometis: simple themes, crude crowd appeal. but defused by the effete sentiment of the last frame. probably won't be appreciated by the back row of the bus. 00:43:22 Heh 00:43:55 *jcowan* dislikes pain, even when masquerading as food. 00:44:00 klutometis: has an inherent appeal to the underdog. 00:44:25 klutometis: in short, follow Gauld, he's great! 00:45:00 qu1j0t3: The reverse-potato-giant's eyes look like they've seen God; I think he's going through a transformation to super-dimensionalism. 00:45:07 He's doffed the constraints of forward-moving time. 00:45:13 klutometis: he dies as brutally as he lived. 00:45:28 qu1j0t3: He also lost his zits; weird. 00:45:45 klutometis: but then the formula is shattered by the poetics following 00:46:08 -!- albacker [~eni@unaffiliated/enyx] has quit [Ping timeout: 240 seconds] 00:46:25 klutometis: it's a parable for the oppressed. 00:46:27 Indeed; but the rainbow is merely monochromatic. 00:46:46 klutometis: colour tv caused the creative centres of the brain to shrink. (I'm making this up) 00:47:40 oh god, I've turned into Lajlla. I'm being quiet now. /me lurks 00:48:56 -!- jcowan [~John@cpe-66-108-19-185.nyc.res.rr.com] has quit [Read error: Connection reset by peer] 00:49:15 jcowan [~John@cpe-66-108-19-185.nyc.res.rr.com] has joined #scheme 00:51:46 -!- MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has quit [Ping timeout: 246 seconds] 00:53:50 Nisstyre [~yours@c-208-90-102-250.netflash.net] has joined #scheme 01:01:32 I don't have a specific question or a point other than satisfying my curiosity, but is anyone else here using Gauche Scheme? 01:02:21 Not more than most of my other 42 Schemes. 01:02:30 -!- iffsid [~user@ece-214-2.dhcp.ecn.purdue.edu] has quit [Ping timeout: 260 seconds] 01:04:50 hey you've added. wasn't it 35 just a few weeks ago? 01:05:10 it seems your scheme collection needs an accompanying blog. 01:06:09 Yeah, I went back to the Fairly Complete List and tried building a few more Schemes. 01:06:26 I had even more, but they had nasty problems. 01:07:58 I had to comment out JScheme, LLava, Sizzle, MScheme, and Bus. 01:08:43 Is this an actual list? 01:10:13 -!- pygospa [~Pygosceli@kiel-4d066cc0.pool.mediaWays.net] has quit [Disconnected by services] 01:10:24 rudybot: is the set of all schemes countable? 01:10:24 ijp: That's why they have to have classifiers when counted, just like we have to say "two ears of corn", not "two corns", though you'd think nothing was more countable than an ear of maize. 01:10:25 pygospa [~Pygosceli@kiel-5f7689d9.pool.mediaWays.net] has joined #scheme 01:11:05 *ijp* checks the box marked 'maybe' 01:11:32 dnm: it's a list best instantiated on demand, methinks 01:12:54 -!- samth [~samth@129.10.227.164] has quit [Ping timeout: 272 seconds] 01:22:17 http://community.schemewiki.org/?scheme-faq-standards <-- Fairly Complete List 01:23:14 cowan@pubuntu:~$ schemes 01:23:14 For Scheme, try racket, gosh, mit-scheme, gsi, csi -R numbers, bigloo, scheme48, scsh, guile, kawa --output-format readable-scheme, sisc, chibi-scheme -xscheme.base, petite, scm -m, ikarus, vicare, larceny, ypsilon, mosh, iron, nexj, stklos, ksi, sscm, shoe, tinyscheme, s9, dream, rs, s7, bdc, xlisp, rep, schemik, elk, umb-scheme, vx-scheme, oaklisp, sxi, spark, inlab, ol 01:23:55 ^^^ my list 01:24:07 -!- Max4 [~Max@85.183.115.48] has quit [Quit: Lost terminal] 01:25:36 Heh. Unordered? 01:25:41 Vaguely ordered. 01:26:18 Gambit and Chicken together, ditto Scheme48 and scsh, ditto Ikarus and Vicare. All the R6RS-only implementations are together. 01:26:33 Rarely used, small, and toy implementations near the tail. 01:27:33 Kawa and SISC together, too. 01:28:26 *dnm* nods 01:28:28 Cool. 01:30:34 I have a trivial script "runallschemes" that runs them all in turn, and I middle-click the expression of interest in each REPL. So I can get a conspectus of how various Schemes behave wrt some particular point in 2-3 minutes. 01:30:59 -!- dous [~dous@unaffiliated/dous] has quit [Remote host closed the connection] 01:32:01 Oh neat. 01:32:44 .oO("conspectus") 01:33:13 "general survey, synopsis" 01:33:34 realitygrill [~realitygr@c-68-41-30-50.hsd1.mi.comcast.net] has joined #scheme 01:33:37 sure 01:33:41 -!- realitygrill [~realitygr@c-68-41-30-50.hsd1.mi.comcast.net] has quit [Remote host closed the connection] 01:33:46 clear from context. Just never ran into it before 01:33:48 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Remote host closed the connection] 01:33:56 -!- tuubow [~adityavit@c-69-136-105-164.hsd1.nj.comcast.net] has quit [Read error: Connection reset by peer] 01:33:57 tuubow_ [~adityavit@c-69-136-105-164.hsd1.nj.comcast.net] has joined #scheme 01:34:06 -!- mmc1 [~michal@178-85-63-71.dynamic.upc.nl] has quit [Ping timeout: 252 seconds] 01:34:54 *jcowan* has been known to use conspectus and perspicuous in the same sentence. 01:38:45 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 01:42:12 Q: I would like to use the words parameters and behoove in the same sentence. 01:42:15 A: According to the Oxford English Cambridge Dictionary of Big Words, the proper usage is: ''Darlene, it frankly does not behoove a woman of your parameters to wear them stretch pants.'' 01:45:35 -!- tuubow_ [~adityavit@c-69-136-105-164.hsd1.nj.comcast.net] has quit [Quit: Ex-Chat] 01:47:27 tuubow [~adityavit@c-69-136-105-164.hsd1.nj.comcast.net] has joined #scheme 01:48:09 *jcowan* laughs. 01:48:30 Dave Barry. 01:48:36 Naturallment 01:49:31 "Facebook" is not a verb. It would behoove us to set in motion certain ratifications so as to lawfully allow us certain parameters in which we can beat the living snot out of people that say stuff like this. 01:49:31 And Alex. 01:49:51 from a Facebook page, naturellement 01:50:12 At the outset, it would behoove the Committee to establish the parameters the nominee will use in fashioning responses to your questions by asking: [blah blah] 01:50:36 Jsandys [~jeff@70.103.58.197] has joined #scheme 01:50:54 from the Congressional Record 01:51:09 -!- confab [~confab@public-nat2.arc.losrios.edu] has quit [Quit: Lost terminal] 01:53:01 I have this nagging fear that those are real quotes, which you just found 01:53:14 but remember: Mr Language Person was writing in the Ancient Times before Google. 01:56:31 realitygrill [~realitygr@c-68-41-30-50.hsd1.mi.comcast.net] has joined #scheme 01:56:41 -!- realitygrill [~realitygr@c-68-41-30-50.hsd1.mi.comcast.net] has quit [Remote host closed the connection] 01:57:01 realitygrill [~realitygr@c-68-41-30-50.hsd1.mi.comcast.net] has joined #scheme 01:58:01 Yes, they're both real. 02:12:15 -!- CampinSam [~CampinSam@24-176-98-217.dhcp.jcsn.tn.charter.com] has quit [Quit: leaving] 02:15:38 -!- Jsandys [~jeff@70.103.58.197] has quit [Quit: Leaving] 02:22:27 -!- jcowan [~John@cpe-66-108-19-185.nyc.res.rr.com] has quit [Quit: Leaving] 02:39:47 acieroid` [~acieroid@wtf.awesom.eu] has joined #scheme 02:41:08 -!- homie` [~levgue@xdsl-78-35-149-232.netcologne.de] has quit [Ping timeout: 240 seconds] 02:41:12 -!- acieroid [~acieroid@wtf.awesom.eu] has quit [Ping timeout: 252 seconds] 02:41:19 -!- _p4bl0 [~user@berthold.shebang.ws] has quit [Ping timeout: 252 seconds] 02:43:41 -!- acieroid` [~acieroid@wtf.awesom.eu] has quit [Read error: No route to host] 02:53:03 -!- realitygrill [~realitygr@c-68-41-30-50.hsd1.mi.comcast.net] has quit [Quit: realitygrill] 02:53:09 -!- noam [~noam@213.57.83.2] has quit [Ping timeout: 260 seconds] 02:57:56 lcc [~user@75-173-79-84.albq.qwest.net] has joined #scheme 02:57:56 -!- lcc [~user@75-173-79-84.albq.qwest.net] has quit [Changing host] 02:57:56 lcc [~user@unaffiliated/lcc] has joined #scheme 03:06:12 confab [~confab@c-71-193-9-153.hsd1.ca.comcast.net] has joined #scheme 03:23:50 realitygrill [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has joined #scheme 03:27:59 -!- confab [~confab@c-71-193-9-153.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] 03:29:42 confab [~confab@c-71-193-9-153.hsd1.ca.comcast.net] has joined #scheme 03:31:00 BigEndian [~hurp@li230-104.members.linode.com] has joined #scheme 03:44:14 -!- lcc [~user@unaffiliated/lcc] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 03:45:28 -!- MichaelRaskin [~MichaelRa@3ad50e34.broker.freenet6.net] has left #scheme 03:58:55 -!- ssbr_ [~ssbr@python/site-packages/ssbr] has quit [Ping timeout: 264 seconds] 04:00:02 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 04:01:40 noam [~noam@213.57.83.2] has joined #scheme 04:07:02 acieroid [~acieroid@wtf.awesom.eu] has joined #scheme 04:09:52 -!- ijp [~user@host86-167-251-202.range86-167.btcentralplus.com] has quit [Read error: Connection reset by peer] 04:10:30 ijp [~user@host86-167-251-202.range86-167.btcentralplus.com] has joined #scheme 04:17:24 -!- jao` [~user@pdpc/supporter/professional/jao] has quit [Ping timeout: 246 seconds] 04:19:39 adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has joined #scheme 04:20:27 hi 04:22:39 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [] 04:26:30 -!- forcer [~forcer@hmbg-5f7604df.pool.mediaWays.net] has quit [Ping timeout: 246 seconds] 04:38:07 mark_weaver [~user@209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 04:40:13 tom_i [~thomasing@ingserv.demon.co.uk] has joined #scheme 05:19:41 cdidd [~cdidd@128-72-247-7.broadband.corbina.ru] has joined #scheme 05:31:10 -!- jrslepak [~jrslepak@c-71-233-148-123.hsd1.ma.comcast.net] has quit [Quit: What happened to Systems A through E?] 05:58:56 gravicappa [~gravicapp@ppp91-77-169-157.pppoe.mtu-net.ru] has joined #scheme 06:07:24 -!- wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has quit [Ping timeout: 272 seconds] 06:09:22 mmc1 [~michal@178-85-63-71.dynamic.upc.nl] has joined #scheme 06:13:45 -!- adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has quit [Read error: Connection reset by peer] 06:14:20 adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has joined #scheme 06:16:36 forcer [~forcer@hmbg-5f77f0d7.pool.mediaWays.net] has joined #scheme 06:16:55 -!- mmc1 [~michal@178-85-63-71.dynamic.upc.nl] has quit [Ping timeout: 264 seconds] 06:18:11 -!- djcb` [~user@a88-114-95-13.elisa-laajakaista.fi] has quit [Remote host closed the connection] 06:45:23 -!- tom_i [~thomasing@ingserv.demon.co.uk] has quit [Read error: Operation timed out] 06:47:29 SpacePoet [~StarPoet@ppp-124-122-166-203.revip2.asianet.co.th] has joined #scheme 06:48:15 given a list, how do i get a list of elements composing of all the elements before some element and all the elements after? 06:48:35 i.e. (proc 5 (1 2 3 4 5 6 7)) -> (1 2 3 4 6 7) 07:01:52 if you know it only appears once then filter or remove is simplest way. You could use span or break from srfi 1 and a little manipulation, but that seems wasteful. As always, you can write your own recursive procedure for doing this. 07:03:19 hkBst [~marijn@79.170.210.172] has joined #scheme 07:03:19 -!- hkBst [~marijn@79.170.210.172] has quit [Changing host] 07:03:19 hkBst [~marijn@gentoo/developer/hkbst] has joined #scheme 07:07:24 wingo [~wingo@90.164.198.39] has joined #scheme 07:08:17 -!- gremmachook [u1735@gateway/web/irccloud.com/x-qwmjjdvkbhvzznjj] has left #scheme 07:11:17 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Read error: Operation timed out] 07:12:07 -!- wingo [~wingo@90.164.198.39] has quit [Ping timeout: 264 seconds] 07:12:11 albacker [~eni@unaffiliated/enyx] has joined #scheme 07:12:33 preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #scheme 07:12:50 lcc [~user@unaffiliated/lcc] has joined #scheme 07:36:27 -!- realitygrill [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has quit [Read error: Connection reset by peer] 07:36:30 realitygrill_ [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has joined #scheme 07:36:37 tom_i [~thomasing@cmc.beaming.biz] has joined #scheme 07:38:04 -!- albacker [~eni@unaffiliated/enyx] has quit [Quit: Leaving] 07:39:18 bas_ [~bas@5352A3FB.cm-6-3c.dynamic.ziggo.nl] has joined #scheme 07:39:18 -!- bas_ is now known as Skola 07:42:37 -!- mmc [~michal@sams-office-nat.tomtomgroup.com] has quit [Remote host closed the connection] 07:44:49 mmc [~michal@sams-office-nat.tomtomgroup.com] has joined #scheme 08:00:11 -!- bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has quit [Read error: No route to host] 08:02:37 ahinki [~chatzilla@212.99.10.150] has joined #scheme 08:12:04 -!- sawgij [~sawjig@gateway/tor-sasl/sawjig] has quit [Ping timeout: 276 seconds] 08:13:23 -!- realitygrill_ [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has quit [Quit: realitygrill_] 08:15:40 -!- X-Scale [name@2001:470:1f14:135b::2] has quit [Remote host closed the connection] 08:17:28 sawgij [~sawjig@gateway/tor-sasl/sawjig] has joined #scheme 08:19:16 wingo [~wingo@32.pool85-50-240.dynamic.orange.es] has joined #scheme 08:19:21 keenbug [~daniel@p4FE3B296.dip.t-dialin.net] has joined #scheme 08:23:17 -!- sawgij [~sawjig@gateway/tor-sasl/sawjig] has quit [Remote host closed the connection] 08:23:42 pumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 08:23:58 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Read error: Connection reset by peer] 08:23:58 -!- pumpkin is now known as copumpkin 08:26:56 -!- adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has quit [Quit: adu] 08:30:53 anyone have an asynchronous dns lib written in scheme? 08:51:17 bfgun [~b_fin_g@r186-48-231-72.dialup.adsl.anteldata.net.uy] has joined #scheme 08:54:55 -!- bfig [~b_fin_g@r186-48-227-240.dialup.adsl.anteldata.net.uy] has quit [Ping timeout: 250 seconds] 08:54:55 -!- joast [~rick@98.145.85.206] has quit [Ping timeout: 250 seconds] 08:58:30 -!- BigEndian [~hurp@li230-104.members.linode.com] has quit [Ping timeout: 260 seconds] 09:00:00 BigEndian [~hurp@li230-104.members.linode.com] has joined #scheme 09:07:09 jhemann__ [~Jason@99.186.239.106] has joined #scheme 09:10:25 -!- jhemann_ [~Jason@adsl-99-186-239-106.dsl.bltnin.sbcglobal.net] has quit [Ping timeout: 244 seconds] 09:11:49 -!- jhemann__ [~Jason@99.186.239.106] has quit [Ping timeout: 252 seconds] 09:14:01 -!- gravicappa [~gravicapp@ppp91-77-169-157.pppoe.mtu-net.ru] has quit [Ping timeout: 252 seconds] 09:17:35 mmc1 [~michal@sams-office-nat.tomtomgroup.com] has joined #scheme 09:24:22 attila_lendvai [~attila_le@87.247.57.24] has joined #scheme 09:24:22 -!- attila_lendvai [~attila_le@87.247.57.24] has quit [Changing host] 09:24:22 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #scheme 09:29:25 -!- tuubow [~adityavit@c-69-136-105-164.hsd1.nj.comcast.net] has quit [Ping timeout: 276 seconds] 09:33:29 bitonic [~Francesco@93-40-81-157.ip37.fastwebnet.it] has joined #scheme 09:36:03 -!- sharkbird [~sharkbird@67-220-6-139.usiwireless.com] has quit [Read error: Connection reset by peer] 09:36:24 sharkbird [~sharkbird@67-220-6-139.usiwireless.com] has joined #scheme 09:52:30 me 09:57:28 where? :) 10:02:29 -!- lcc [~user@unaffiliated/lcc] has quit [Remote host closed the connection] 10:03:27 lcc [~user@unaffiliated/lcc] has joined #scheme 10:12:58 on my harddrive 10:20:26 masm [~masm@bl17-207-200.dsl.telepac.pt] has joined #scheme 10:22:41 sawgij [~sawjig@gateway/tor-sasl/sawjig] has joined #scheme 10:43:38 -!- lcc [~user@unaffiliated/lcc] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 10:46:45 josef_ [~josef@p549D02EA.dip0.t-ipconnect.de] has joined #scheme 10:48:40 (idefine (inrange x) (cond ((and (> x 5) (< x 10)))) (else 0))) 10:50:13 I get an error if I type this on the scheme promt, I want to have a function which tests if a number is in the range between 5-10 10:51:39 -!- YokYok [~david@vmailbox.org] has quit [Remote host closed the connection] 10:52:13 lcc [~user@unaffiliated/lcc] has joined #scheme 10:52:57 YokYok [~david@vmailbox.org] has joined #scheme 10:55:07 -!- SpacePoet [~StarPoet@ppp-124-122-166-203.revip2.asianet.co.th] has quit [Quit: ChatZilla 0.9.88.1 [Firefox 11.0/20120310010446]] 10:58:29 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 248 seconds] 10:59:54 antithesis [~antithesi@s51476e07.adsl.wanadoo.nl] has joined #scheme 11:01:07 Hm, how to fix my function inrange? 11:01:57 ((define (inrange x) (if (and (> x 5) (< x 10)) ( x ) 0 )) 11:02:29 if I call it (inrange 3) I get the expectet 0 11:03:06 but if I call it (inrange 6) I get an error: Wrong type to apply: 6 11:06:21 leo2007 [~leo@111.194.110.177] has joined #scheme 11:06:28 ski, are you around? 11:08:42 -!- bfgun is now known as bfig 11:09:17 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #scheme 11:09:25 http://hpaste.org/66108 <- can somebody explain why after everything's done i get a cdr #f error? 11:11:13 -!- leo2007 [~leo@111.194.110.177] has quit [Client Quit] 11:11:46 bfig: perhaps you can cut it down a bit and say more clearly how you get which error 11:11:58 leo2007 [~leo@111.194.110.177] has joined #scheme 11:13:12 hkBst, i have a directed acyclic graph which represents tasks with time distribution associated and dependency relationships (the dag-graph macro, which takes a list of (nodename . distribution) and a list of (node . (listofdependentnodes)) 11:13:55 hkBst, the algorithm dag-compute is as follows: sample each distribution and find the critical path through dynamic programming 11:15:25 -!- leo2007 [~leo@111.194.110.177] has quit [Client Quit] 11:15:55 if you see the code i pasted, it has three definitions: nodes, which extracts the tags for the nodes in the graph from a dag-compute first parameter (a list (T1 T2 ... T8) in this case) 11:16:23 then global-counter which is just a list (node . -1) that i'll use for the dynamic programming that follows 11:16:46 leo2007 [~leo@111.194.110.177] has joined #scheme 11:16:50 and samples, which is just a list (node . distributionsample) 11:18:09 the recursive function total-time does just this: you give it a node, it then gives you how much time it takes to reach said node. if it has no dependencies in the graph, the time it takes to finish the work there is just the sample time. if it has dependencies, then you have the sample time plus the maximum of the times of all the dependencies of the node 11:19:28 that's all there is to it. i made discretionary use of (begin (display ...) ret) to make sure the thing was computing intermediary values right, and it seems it is working fine, but when it reaches the last value it suddenly complains 11:20:32 i'm not sure which one is the order of computation of the foreach: car -> cadr -> caadr ... or the other way round. if it was like i just said, i see no reason for it to fail after it handled all nontrivial dependencies fine 11:20:52 so i assume it must be the other way round? 11:22:15 ohh damn nevermind. i understood now. 11:22:43 the algorithm is fine, the problem is in the function that calls it... it used to have a different return signature 11:24:09 Matt_S_G [~Matt_S_G@gateway/tor-sasl/mattsg/x-78535695] has joined #scheme 11:24:20 Hm, what's the diference of (x) and x? 11:25:45 -!- bitonic [~Francesco@93-40-81-157.ip37.fastwebnet.it] has quit [Quit: WeeChat 0.3.5] 11:26:53 bitonic [~Francesco@93-40-81-157.ip37.fastwebnet.it] has joined #scheme 11:31:26 gravicappa [~gravicapp@ppp91-77-173-24.pppoe.mtu-net.ru] has joined #scheme 11:34:02 sestisr_ [~chatzilla@138.227.189.9] has joined #scheme 11:36:06 -!- sestisr [~chatzilla@138.227.189.9] has quit [Ping timeout: 272 seconds] 11:36:13 -!- sestisr_ is now known as sestisr 11:37:42 josef_, x is x, (x) is x evaluated 11:38:18 ie, consider (lambda () (1)) and ((lambda () (1))) 11:38:36 the first is a procedure which when evaluated gives the value 1, the second is the value 1 11:44:11 (1) is en error 11:45:46 tupi [~david@139.82.89.24] has joined #scheme 11:47:35 nil is the empty list why it is displayd as #f and not () 11:47:43 josef_: you could write your function: (define (inrange x) (< 5 x 10)) 11:47:53 josef_: nil has no special significance in scheme 12:01:40 -!- xwl [~user@123.108.223.115] has quit [Ping timeout: 250 seconds] 12:05:45 MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has joined #scheme 12:06:29 seems setq doesn't work in scheme :-( is there an other name for this function? 12:07:35 set! 12:07:54 josef_: read http://www.schemers.org/Documents/Standards/R5RS/HTML/ 12:13:24 How can make a function to work like set! (define setq set!) don't work I have a book about common lisp but only scheme interpreter so would be good if I have functions which are named like in the book :-( 12:13:36 josef_: you cannot. 12:13:47 josef_: at best, you can write a macro that works like it. 12:13:59 (define-syntax setq ) 12:14:14 josef_: if you want to program in Common Lisp it's easier to use a CL implementation. 12:14:32 josef_: there's even the sources of a CL implementation written in butterfly scheme, which you could port to your scheme. 12:14:41 (google for butterfly common lisp) 12:24:00 sestisr_ [~chatzilla@138.227.189.8] has joined #scheme 12:25:28 -!- sestisr [~chatzilla@138.227.189.9] has quit [Ping timeout: 246 seconds] 12:25:41 -!- sestisr_ is now known as sestisr 12:27:05 Arafangion [~Arafangio@220-244-108-23.static.tpgi.com.au] has joined #scheme 12:33:36 -!- pjb [~t@81.202.16.46.dyn.user.ono.com] has quit [Remote host closed the connection] 12:34:23 pjb [~t@81.202.16.46.dyn.user.ono.com] has joined #scheme 12:34:49 -!- pjb is now known as Guest24572 12:34:54 samth [~samth@c-66-31-201-165.hsd1.ma.comcast.net] has joined #scheme 12:35:19 -!- Guest24572 is now known as pjb 12:40:34 -!- DGASAU [~user@91.218.144.129] has quit [Remote host closed the connection] 12:41:19 ijp` [~user@host86-182-153-119.range86-182.btcentralplus.com] has joined #scheme 12:41:57 Hm, How is this ? (define a '(+ 17 4)) if I do in the next step (+ 4 a) it don't expands to (+ 4 (+ 17 4)) but a is (+ 17 4) what's going wrong? 12:42:08 -!- leppie [~lolcow@196-215-11-17.dynamic.isadsl.co.za] has quit [Ping timeout: 240 seconds] 12:42:31 -!- leo2007 [~leo@111.194.110.177] has quit [Quit: home] 12:42:47 -!- ijp [~user@host86-167-251-202.range86-167.btcentralplus.com] has quit [Ping timeout: 246 seconds] 12:44:19 josef_: expand is what macros do; a is just a list here, not 21 12:45:00 ijp`` [~user@host86-179-78-10.range86-179.btcentralplus.com] has joined #scheme 12:45:32 -!- sporous [~sporous@antispammeta/bot/irssi/sporous] has quit [Disconnected by services] 12:45:43 sporous [~sporous@antispammeta/bot/irssi/sporous] has joined #scheme 12:46:51 Hm, why is the list (+ 17 4) not evaluatet to 21 ? 12:47:01 -!- ijp` [~user@host86-182-153-119.range86-182.btcentralplus.com] has quit [Ping timeout: 276 seconds] 12:47:42 DGASAU [~user@91.218.144.129] has joined #scheme 12:47:42 leppie [~lolcow@196-210-248-118.dynamic.isadsl.co.za] has joined #scheme 12:49:02 the first element of the list is an opartor (+) and there are two arguments wich should be the operands 12:50:02 lolcow [~lolcow@196-215-11-17.dynamic.isadsl.co.za] has joined #scheme 12:50:11 josef_: that's not a list (when you type it, although it is when your implementation types it back at you), but an application. You have to be careful to distinguish between what you type and what your interpreter types back. Your interpreter will neglect to quote data... unless you use racket. 12:51:04 josef_: it's the difference between the list '(+ 1 2) and the code (+ 1 2) only the latter of which evaluates to 3. 12:51:55 -!- leppie [~lolcow@196-210-248-118.dynamic.isadsl.co.za] has quit [Ping timeout: 250 seconds] 12:55:44 leppie [~lolcow@196-210-248-118.dynamic.isadsl.co.za] has joined #scheme 12:56:33 -!- lolcow [~lolcow@196-215-11-17.dynamic.isadsl.co.za] has quit [Ping timeout: 252 seconds] 12:57:40 add^_ [~add^_^@m212-152-11-21.cust.tele2.se] has joined #scheme 12:59:17 josef_: ' prevents the evaluation of the object. 12:59:33 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Ping timeout: 248 seconds] 13:00:20 josef_: therefore your a is bound to a list, and + doesn't work on lists, only on numbers. 13:00:28 leo2007 [~leo@123.114.35.136] has joined #scheme 13:00:39 josef_: if you want to get (+ 4 (+ 17 4)), ie. a list, then you have to use list operators, not arithmetic operators. 13:00:54 rudybot: (define a '(+ 17 4)) 13:00:54 pjb: your sandbox is ready 13:00:54 pjb: Done. 13:00:57 rudybot: (list '+ 4 a) 13:00:57 pjb: ; Value: (+ 4 (+ 17 4)) 13:01:00 -!- sestisr [~chatzilla@138.227.189.8] has quit [Quit: ChatZilla 0.9.88.1 [Firefox 11.0/20120312181643]] 13:01:19 rudybot: (let ((+ (lambda (a b) (list '+ a b)))) (+ 4 a)) 13:01:19 pjb: ; Value: (+ 4 (+ 17 4)) 13:01:19 -!- samth [~samth@c-66-31-201-165.hsd1.ma.comcast.net] has quit [Ping timeout: 276 seconds] 13:01:34 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 13:02:07 Since you can redefine the bindings of the usual operators, you can read a source with operators bound to a different meaning. 13:05:47 phax [~phax@cpc14-haye17-2-0-cust110.haye.cable.virginmedia.com] has joined #scheme 13:05:47 -!- phax [~phax@cpc14-haye17-2-0-cust110.haye.cable.virginmedia.com] has quit [Changing host] 13:05:47 phax [~phax@unaffiliated/phax] has joined #scheme 13:06:00 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 13:15:00 jao [~user@160.Red-81-39-169.dynamicIP.rima-tde.net] has joined #scheme 13:15:10 -!- jao [~user@160.Red-81-39-169.dynamicIP.rima-tde.net] has quit [Changing host] 13:15:10 jao [~user@pdpc/supporter/professional/jao] has joined #scheme 13:21:24 jrslepak [~jrslepak@c-71-233-148-123.hsd1.ma.comcast.net] has joined #scheme 13:21:26 -!- jrslepak [~jrslepak@c-71-233-148-123.hsd1.ma.comcast.net] has quit [Remote host closed the connection] 13:21:51 jrslepak [~jrslepak@c-71-233-148-123.hsd1.ma.comcast.net] has joined #scheme 13:26:02 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Quit: Computer has gone to sleep.] 13:28:34 -!- sharkbird [~sharkbird@67-220-6-139.usiwireless.com] has quit [Quit: Leaving] 13:30:19 -!- lcc [~user@unaffiliated/lcc] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 13:30:55 lcc [~user@unaffiliated/lcc] has joined #scheme 13:33:21 dous [~dous@unaffiliated/dous] has joined #scheme 13:48:52 dostoyevsky [sck@oemcomputer.oerks.de] has joined #scheme 13:49:33 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 13:56:33 sharkbird [~sharkbird@67-220-6-139.usiwireless.com] has joined #scheme 13:57:27 tomodo [~tomodo@gateway/tor-sasl/tomodo] has joined #scheme 13:57:28 _schulte_ [~eschulte@c-174-56-50-60.hsd1.nm.comcast.net] has joined #scheme 14:04:22 -!- tomodo [~tomodo@gateway/tor-sasl/tomodo] has quit [Ping timeout: 276 seconds] 14:08:29 -!- samth_away is now known as samth 14:08:33 tomodo [~tomodo@gateway/tor-sasl/tomodo] has joined #scheme 14:09:15 madmuppet006 [~panzer@122-62-124-247.jetstream.xtra.co.nz] has joined #scheme 14:14:46 -!- tomodo [~tomodo@gateway/tor-sasl/tomodo] has quit [Ping timeout: 276 seconds] 14:16:40 -!- ijp`` is now known as ijp 14:21:28 tomodo [~tomodo@gateway/tor-sasl/tomodo] has joined #scheme 14:34:44 soveran [~soveran@186.19.214.247] has joined #scheme 14:37:32 -!- ahinki [~chatzilla@212.99.10.150] has quit [Quit: ChatZilla 0.9.88.1 [Firefox 12.0/20120321033733]] 14:39:42 -!- Fare [~Fare@173-9-65-97-NewEngland.hfc.comcastbusiness.net] has quit [Ping timeout: 246 seconds] 14:40:13 X-Scale [name@2001:470:1f14:135b::2] has joined #scheme 14:48:50 albacker [~eni@unaffiliated/enyx] has joined #scheme 14:49:43 realitygrill [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has joined #scheme 14:51:12 ijp` [~user@host86-171-26-115.range86-171.btcentralplus.com] has joined #scheme 14:51:25 -!- jrslepak [~jrslepak@c-71-233-148-123.hsd1.ma.comcast.net] has quit [Ping timeout: 260 seconds] 14:53:35 -!- lcc [~user@unaffiliated/lcc] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 14:54:20 -!- ijp [~user@host86-179-78-10.range86-179.btcentralplus.com] has quit [Ping timeout: 260 seconds] 14:55:44 -!- tomodo [~tomodo@gateway/tor-sasl/tomodo] has quit [Remote host closed the connection] 14:56:03 superjudge [~superjudg@c83-250-198-227.bredband.comhem.se] has joined #scheme 15:05:34 xwl [~user@123.108.223.115] has joined #scheme 15:06:05 -!- madmuppet006 [~panzer@122-62-124-247.jetstream.xtra.co.nz] has quit [Quit: Leaving] 15:10:39 -!- xwl [~user@123.108.223.115] has quit [Read error: Connection reset by peer] 15:13:54 joast [~rick@98.145.85.206] has joined #scheme 15:15:08 kk` [~kk@unaffiliated/kk/x-5380134] has joined #scheme 15:19:47 xwl [~user@123.108.223.115] has joined #scheme 15:21:06 -!- YokYok [~david@vmailbox.org] has quit [Ping timeout: 265 seconds] 15:24:17 YokYok [~david@vmailbox.org] has joined #scheme 15:25:18 lcc [~user@unaffiliated/lcc] has joined #scheme 15:25:29 tomodo [~tomodo@gateway/tor-sasl/tomodo] has joined #scheme 15:26:02 -!- realitygrill [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has quit [Read error: Connection reset by peer] 15:26:13 realitygrill [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has joined #scheme 15:31:15 -!- YokYok [~david@vmailbox.org] has quit [Ping timeout: 265 seconds] 15:32:52 -!- Skola [~bas@5352A3FB.cm-6-3c.dynamic.ziggo.nl] has quit [Quit: leaving] 15:35:27 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Quit: Konversation terminated!] 15:40:46 -!- mmc1 [~michal@sams-office-nat.tomtomgroup.com] has quit [Ping timeout: 246 seconds] 15:43:52 YokYok [~david@vmailbox.org] has joined #scheme 15:48:00 -!- samth is now known as samth_away 15:49:37 -!- lcc [~user@unaffiliated/lcc] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 15:50:51 -!- hypnocat [~hypnocat@unaffiliated/hypnocat] has quit [Quit: ZNC - http://znc.sourceforge.net] 16:17:48 wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has joined #scheme 16:19:36 -!- tom_i [~thomasing@cmc.beaming.biz] has quit [Ping timeout: 252 seconds] 16:26:01 ccl-logbot [~ccl-logbo@setf.clozure.com] has joined #scheme 16:26:01 16:26:01 -!- names: ccl-logbot wollw YokYok realitygrill tomodo xwl kk` joast superjudge ijp` albacker X-Scale soveran _schulte_ sharkbird copumpkin dostoyevsky dous jao phax leo2007 add^_ leppie DGASAU sporous pjb Arafangion MrFahrenheit tupi gravicappa bitonic Matt_S_G antithesis josef_ sawgij masm BigEndian bfig keenbug wingo mmc preflex forcer cdidd mark_weaver acieroid noam confab araujo pygospa Nisstyre githogori cyphase pranq jakky pothos sad0ur DerGuteMoritz 16:26:01 -!- names: certainty karswell asumu cswords_ pchrist LeoNerd Intensity gnomon amoe gf3 dsmith kniu Obfuscate dsp_ jaimef nowhereman finnrobi samth_away ASau edw moll rvchangue fzzbt gejr tessier cozmic C-Keen SHODAN Quadrescence REPLeffect acarrico sontek rageous dlouhy ve yosafbridge klutometis antoszka rudybot em shardz daedric jrslepak_neu Inode_ poindont` fizzie Pepe_ arbscht clog stepnem aking mario-goulart snorble_ bweaver cmatei Euthydemus Axioplase_ eli 16:26:01 -!- names: Nshag fbs twem2 Khisanth miql yamanu ski FireFly gffa kandinski offby1 fgudin snarkyboojum cataska brendyn kanru drdo levi m4burns tali713 tokiya z0d elly izz__ ecraven teiresias muep metasyntax|work stamourv fds foocraft cky peterhil gabot qu1j0t3 surrounder foof ozzloy rotty dan64 r126f saccadewrk danking felipe eMBee Razz aehrisch evhan devn rapacity shachaf ft zbigniew micro__ Saeren cow-orker aoh dnm ray ineiros xian_ duncanm weinholt fhd tizoc erg 16:26:01 -!- names: ec 16:43:39 -!- YokYok [~david@vmailbox.org] has quit [Quit: leaving] 16:43:41 hypnocat [~hypnocat@unaffiliated/hypnocat] has joined #scheme 16:44:12 YokYok [~david@vmailbox.org] has joined #scheme 16:52:11 -!- antithesis [~antithesi@s51476e07.adsl.wanadoo.nl] has quit [Quit: yes leaving] 16:52:28 antithesis [~antithesi@s51476e07.adsl.wanadoo.nl] has joined #scheme 16:52:45 attila_lendvai [~attila_le@87.247.55.24] has joined #scheme 16:52:53 -!- attila_lendvai [~attila_le@87.247.55.24] has quit [Changing host] 16:52:53 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #scheme 16:53:39 tuubow [~adityavit@c-69-136-105-164.hsd1.nj.comcast.net] has joined #scheme 16:57:24 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 17:04:20 mmc1 [~michal@178-85-63-71.dynamic.upc.nl] has joined #scheme 17:05:58 lcc [~user@unaffiliated/lcc] has joined #scheme 17:08:20 MichaelRaskin [~MichaelRa@3ad50e34.broker.freenet6.net] has joined #scheme 17:13:58 arameus [~maxwell@cpe-184-153-14-33.nycap.res.rr.com] has joined #scheme 17:14:36 What is the best way to get the output of an external command (in racket)? I asked in #racket but no one responded. 17:15:35 Fare [~Fare@216.239.55.82] has joined #scheme 17:19:53 -!- confab [~confab@c-71-193-9-153.hsd1.ca.comcast.net] has quit [Quit: Lost terminal] 17:21:16 confab [~win7@c-71-193-9-153.hsd1.ca.comcast.net] has joined #scheme 17:23:44 tom_i [~thomasing@ingserv.demon.co.uk] has joined #scheme 17:26:14 -!- gejr [~Geir@unaffiliated/gejr] has quit [Quit: leaving] 17:26:57 -!- wingo [~wingo@32.pool85-50-240.dynamic.orange.es] has quit [Ping timeout: 244 seconds] 17:30:29 -!- realitygrill [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has quit [Ping timeout: 246 seconds] 17:32:01 ThePawnBreak [Cristi@94.177.108.25] has joined #scheme 17:33:06 realitygrill [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has joined #scheme 17:34:25 -!- realitygrill [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has quit [Read error: Connection reset by peer] 17:34:33 realitygrill [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has joined #scheme 17:36:12 bas_ [~bas@5352A3FB.cm-6-3c.dynamic.ziggo.nl] has joined #scheme 17:36:18 -!- bas_ is now known as Skola 17:36:18 -!- hypnocat [~hypnocat@unaffiliated/hypnocat] has quit [Quit: ZNC - http://znc.sourceforge.net] 17:36:55 -!- tomodo [~tomodo@gateway/tor-sasl/tomodo] has quit [Ping timeout: 276 seconds] 17:39:07 asdfhjkl [~bob@i5E879AE1.versanet.de] has joined #scheme 17:39:45 -!- ijp` [~user@host86-171-26-115.range86-171.btcentralplus.com] has quit [Quit: The garbage collector got me] 17:44:40 -!- leo2007 [~leo@123.114.35.136] has quit [Ping timeout: 260 seconds] 17:47:15 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 17:51:13 -!- tuubow [~adityavit@c-69-136-105-164.hsd1.nj.comcast.net] has quit [Ping timeout: 276 seconds] 17:51:14 turbofail [~user@c-107-3-149-149.hsd1.ca.comcast.net] has joined #scheme 17:51:52 dzhus [~sphinx@176.14.94.92] has joined #scheme 17:57:31 pchrist_ [~spirit@gentoo/developer/pchrist] has joined #scheme 18:09:13 tonyg [~tonyg@173-203-78-111.static.cloud-ips.com] has joined #scheme 18:11:24 -!- MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has quit [Ping timeout: 245 seconds] 18:11:44 -!- tonyg [~tonyg@173-203-78-111.static.cloud-ips.com] has left #scheme 18:14:42 -!- lcc [~user@unaffiliated/lcc] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 18:15:34 lcc [~user@unaffiliated/lcc] has joined #scheme 18:21:05 tuubow [~adityavit@c-68-34-169-68.hsd1.nj.comcast.net] has joined #scheme 18:22:18 -!- realitygrill [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has quit [Read error: Connection reset by peer] 18:22:40 realitygrill [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has joined #scheme 18:28:49 -!- Skola [~bas@5352A3FB.cm-6-3c.dynamic.ziggo.nl] has quit [Quit: leaving] 18:35:06 -!- jao [~user@pdpc/supporter/professional/jao] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 18:36:08 adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has joined #scheme 18:36:14 arameus: http://docs.racket-lang.org/reference/subprocess.html 18:36:59 jao [~user@pdpc/supporter/professional/jao] has joined #scheme 18:38:40 jhemann [~Jason@adsl-99-186-239-106.dsl.bltnin.sbcglobal.net] has joined #scheme 18:43:11 is there still work proceeding on racket-scsh? 18:43:25 *offby1* laughs cruelly 18:43:48 langmartin [~user@host-68-169-155-216.WISOLT2.epbfi.com] has joined #scheme 18:49:17 actually something else i really want is something that compiles into shell/sed/awk scripts for instances in which i want to be able to run stuff without having to install a scheme implementation on the target machine 18:50:12 -!- asdfhjkl [~bob@i5E879AE1.versanet.de] has quit [Quit: Leaving] 18:50:56 such as, for example, when i want to do an automated install of a scheme implementation 18:52:03 inneresting ... 18:52:20 the only compiler I can think of that targets shell is autoconf 18:52:29 but of course that's very special-purpose 18:52:42 clojure has a library called 'stevedore' that targets multiple shells 18:52:47 huh 18:53:11 palach [~palach@93.175.8.83] has joined #scheme 18:53:16 don't think it'll do awk, though i haven't looked at it much 18:53:27 turbofail: I don't think anyone is working on it, but it's on our wishlist... 18:54:16 wingo [~wingo@90.164.198.39] has joined #scheme 18:54:59 hm 18:55:03 one thing that makes racket-scsh less appealing: racket in general works nicely on Windows, but a racket port of scsh, almost by definition, couldn't possibly work on Windows 18:56:13 -!- ThePawnBreak [Cristi@94.177.108.25] has quit [Ping timeout: 276 seconds] 18:56:17 hm 18:56:36 -!- mark_weaver [~user@209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 18:56:40 well i think a decent amount of it could still work 18:56:49 then again i don't know much about windows so i'm really just making things up 18:56:50 I have looked at common-lisp (gcl) and scheme (scm) and discovered some differences e.b defun - define ; setq - set! but seems car,cdr,cons works in both lisp-dialekts. 18:57:06 josef_: CL and Scheme are more different than similar. 18:57:55 Have a look at http://paste.lisp.org/display/122296 18:57:59 :-D 18:58:19 Is there anywhere a list with the comparison of the functionnaemes which does the same? 18:58:31 josef_: Have a look at http://paste.lisp.org/display/122296 19:00:11 josef_: See the link pjb sent. Hint: Very small list. 19:00:34 But mostly the main difference is scheme is a lisp-1 while CL is a lisp-2. 19:00:51 Even if you had a defun operator in a lisp-1, it would still be closer to scheme, being a lisp-1. 19:00:55 And vice versa. 19:03:30 tomodo [~tomodo@gateway/tor-sasl/tomodo] has joined #scheme 19:05:34 turbofail: if you write something like that, you could call it autoscheme 19:07:12 FreeArtMan [~fam@93.177.213.54] has joined #scheme 19:10:53 one instance where cl and scheme do have the same function name but different meanings is (values) 19:11:40 Well, no. values is the same in both. call-with-values vs. multiple-value-bind are different. 19:13:34 *cky* thinks about implementing multiple-value-call in Scheme ;-) 19:14:01 Well the main problem is actually (+ (values 2 3) (values 4 5)) --> 6 in CL and is an error in scheme. 19:14:44 oh, I thought that gave 25 in CL? 19:15:16 adu: Why would it? 19:15:28 adu: Evaluating MV in single-valued contexts uses the first value only. 19:15:28 Does scheme actually say that's an error, by the way? I've been pondering it for my implementation, lately.. 19:15:32 uh, I mean 14 19:15:36 LeoNerd: It's an error, but you don't have to signal it. 19:15:43 LeoNerd: i.e., it's undefined behaviour. 19:15:45 Hmmm OK 19:15:49 adu: No, (multiple-value-call '+ (values 2 3) (values 4 5)) --> 14 19:15:49 Imean, mine would crash anyway :) 19:15:55 LeoNerd: what's yours called? 19:16:10 Lispm. It's a pun on Lispy, 'cause it's an implementation in Perl 19:16:10 LeoNerd: That's perfectly legitimate. 19:18:05 LeoNerd: hmm, the only hits I get when I search for lispm is Japan nuclear radiation stuff and lisp machines 19:18:17 Yeah it's not visible really anywhere yety 19:18:26 Once I've got most of R5 implemented it'll be up on CPAN 19:18:32 pjb: Surely, multiple-value-call must actually be a macro, right? If it were a function, then the arguments would all be evaluated in single-valued contexts, am I right? 19:18:40 cky: yes. 19:18:43 Cool. 19:18:46 saved the paste and tried it out wiht scm -f raw and with gcl -load raw but get errors :-) 19:18:47 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has left #scheme 19:18:58 Do I have to comment out some lines ? 19:19:36 I ran it with bigloo GNU emacs and clisp. 19:19:58 gcl is the less good of all free CL implementation. Try another implementation. 19:20:09 josef_: check http://cliki.net for a list. 19:21:44 ah, thx :-) 19:22:01 err, actually I tested it with mzscheme. 19:22:22 mark_weaver [~user@74-94-165-125-NewEngland.hfc.comcastbusiness.net] has joined #scheme 19:23:35 ah, good mzscheme is in my packge repository :-) 19:24:01 Bigloo gives a warning but otherwise outputs the expected result. 19:24:43 huh mzscheme is hugh 35MB ... 19:25:12 Use: bigloo -s -load intersection.lisp -eval '(quit)' 19:26:24 -!- lcc [~user@unaffiliated/lcc] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 19:26:41 35MB is not huge considering how much functionality it includes 19:27:06 although i could have sworn it was larger than that 19:28:13 hm, bigloo isn't availabe from apt-cache :-( oh, yes mzscheme is 43.2MB is now installed. will try it out :-) 19:28:55 soveran [~soveran@186.19.214.247] has joined #scheme 19:29:05 hypnocat [~hypnocat@unaffiliated/hypnocat] has joined #scheme 19:29:27 if it's called "mzscheme", it's old 19:29:32 these days it's known as "racket" 19:30:30 hm mzscheme -f raw gives me no error it says (booted a lisp over scheme) ((fact 10) = 3628800) 19:30:57 But there is no interpreter prompt , instead I get the bash prompt :-( 19:32:04 I'm afraid debian derivatives don't ship any recent version of any scheme implementation. 19:32:27 (including debian itself) 19:32:55 current ubuntu ships racket 5.1.1+ 19:32:57 that's not bad 19:33:02 -!- jhemann [~Jason@adsl-99-186-239-106.dsl.bltnin.sbcglobal.net] has quit [Read error: Connection reset by peer] 19:33:32 Seems to be right. apt-cache search racket finds nothing about racket :-( 19:33:46 josef_: racket provides read-to-use binary installers for most platforms. 19:33:47 josef_: you can boot a scheme and (load "happy.lisp") 19:34:21 offby1: "Read-to-use binary installers" sound painful! 19:34:37 hrhr 19:34:40 I thought Debian had Racket these days. 19:35:01 Testing has racket at least 19:35:06 Yeah, it does for me. Ah, I'm on testing. 19:35:08 its an old debian ubuntu 10.04 lts for ppc 19:36:53 forcer: you, sir, have a filthy mind 19:39:46 -!- kk` [~kk@unaffiliated/kk/x-5380134] has quit [Ping timeout: 276 seconds] 19:40:25 Debian testing also has the most recent Guile release (2.0.5) 19:40:40 And the most recent Chicken release (4.7.0). :-) 19:41:38 it would be nice to get some of these things into squeeze-backports 19:41:39 -!- realitygrill [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has quit [Read error: Connection reset by peer] 19:41:51 realitygrill [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has joined #scheme 19:42:40 CampinSam [~CampinSam@24-176-98-217.dhcp.jcsn.tn.charter.com] has joined #scheme 19:43:39 So it means that ubuntu probably has the latest chicken and guile releases? 19:43:46 *mario-goulart* is out of the loop 19:44:10 -!- tom_i [~thomasing@ingserv.demon.co.uk] has quit [Read error: Connection reset by peer] 19:45:02 -!- X-Scale [name@2001:470:1f14:135b::2] has quit [Ping timeout: 272 seconds] 19:46:59 -!- Fare [~Fare@216.239.55.82] has quit [Ping timeout: 246 seconds] 19:48:11 mark_weaver: I have all those things backported to Squeeze, but I'm not a DD so I don't have any official backports. :-) 19:49:02 mario-goulart: yes, the next Ubuntu release will have Guile 2.0.5 19:49:14 mark_weaver: At one stage I also had the latest mingw stuff backported to Squeeze (so I could test building Guile for Windows ;-)). 19:49:37 mark_weaver: But, free time has not been as abundant in my life as it had been in the past, so. ;-) 19:49:57 Cool. 19:51:13 X-Scale [name@89.180.168.115] has joined #scheme 19:51:37 -!- X-Scale is now known as Guest94268 19:51:37 -!- realitygrill [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has quit [Read error: Connection reset by peer] 19:51:40 cky: maybe you should send your squeeze backports to the relevant Debian maintainers and see if anything happens? 19:54:00 cky: I guess dependencies like libgc (6.8 in Squeeze) are the main blocker there. 19:54:09 In the case of Guile, yes. 19:54:14 (So I have a libgc-7.1 backport also.) 19:54:39 Perhaps I should instead try to make it work with 6.8. Maybe that's more likely to get accepted. 19:55:03 lcc [~user@unaffiliated/lcc] has joined #scheme 19:55:25 cky: hmm, I suspect that would be difficult. 19:56:05 -!- jao [~user@pdpc/supporter/professional/jao] has quit [Ping timeout: 246 seconds] 19:56:26 Yeah. Trying to get a libgc-7.1 backport accepted could be tricky, since libgc is probably used by many packages. 19:56:39 cky: indeed. anyway, this conversation probably belongs in #guile. 19:56:44 -!- gravicappa [~gravicapp@ppp91-77-173-24.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 19:56:48 Sure, but I'm about to head out the door. :-) 19:56:58 cky: okay, happy hacking! 19:56:59 If you're still around when I get back, we can talk about it there. 19:57:01 Have fun! 19:59:41 jao [~user@pdpc/supporter/professional/jao] has joined #scheme 19:59:54 -!- FreeArtMan [~fam@93.177.213.54] has quit [Remote host closed the connection] 20:11:35 kudkudyak [~user@94.72.135.6] has joined #scheme 20:11:43 hey, a jao 20:12:48 heya, wingo 20:15:39 wingo: hello 20:19:03 Patches|Work [~peek_lapt@NYUFGA-WLESSAUTHCLIENTS-03.NATPOOL.NYU.EDU] has joined #scheme 20:19:40 greets 20:20:00 greetings wingo! 20:20:02 yo 20:20:16 likewise! 20:20:25 *wingo* preparing for the general strike tomorrow! 20:20:50 -!- Patches|Work [~peek_lapt@NYUFGA-WLESSAUTHCLIENTS-03.NATPOOL.NYU.EDU] has left #scheme 20:21:37 -!- superjudge [~superjudg@c83-250-198-227.bredband.comhem.se] has quit [Quit: superjudge] 20:22:11 ooooh, another general strike in Barcelona? I hadn't heard! 20:24:16 gotta run, biab 20:24:17 -!- mark_weaver [~user@74-94-165-125-NewEngland.hfc.comcastbusiness.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 20:25:16 -!- tuubow [~adityavit@c-68-34-169-68.hsd1.nj.comcast.net] has quit [Ping timeout: 276 seconds] 20:27:04 langmart` [~user@host-68-169-155-216.WISOLT2.epbfi.com] has joined #scheme 20:28:10 -!- josef_ [~josef@p549D02EA.dip0.t-ipconnect.de] has quit [Quit: leaving] 20:30:54 -!- langmartin [~user@host-68-169-155-216.WISOLT2.epbfi.com] has quit [Ping timeout: 265 seconds] 20:32:06 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 20:33:44 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Remote host closed the connection] 20:38:19 bas_ [~bas@5352A3FB.cm-6-3c.dynamic.ziggo.nl] has joined #scheme 20:38:25 -!- bas_ is now known as Skola 20:41:03 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 20:44:20 MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has joined #scheme 20:46:08 -!- jao [~user@pdpc/supporter/professional/jao] has quit [Ping timeout: 246 seconds] 20:49:06 -!- langmart` is now known as langmartin 20:52:42 djcb [~user@a88-114-95-13.elisa-laajakaista.fi] has joined #scheme 20:53:20 -!- bfig [~b_fin_g@r186-48-231-72.dialup.adsl.anteldata.net.uy] has quit [Disconnected by services] 20:53:20 bfgun [~b_fin_g@r186-48-198-91.dialup.adsl.anteldata.net.uy] has joined #scheme 20:53:27 -!- bfgun is now known as bfig 21:11:18 -!- antithesis [~antithesi@s51476e07.adsl.wanadoo.nl] has quit [Quit: yes leaving] 21:15:15 kk` [~kk@unaffiliated/kk/x-5380134] has joined #scheme 21:17:00 -!- Skola [~bas@5352A3FB.cm-6-3c.dynamic.ziggo.nl] has quit [Quit: Lost terminal] 21:30:10 -!- tupi [~david@139.82.89.24] has quit [Quit: Leaving] 21:31:32 -!- keenbug [~daniel@p4FE3B296.dip.t-dialin.net] has quit [Read error: Operation timed out] 21:31:59 -!- adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has quit [Read error: Connection reset by peer] 21:33:16 adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has joined #scheme 21:36:37 turbofai` [~user@c-107-3-149-149.hsd1.ca.comcast.net] has joined #scheme 21:37:06 -!- turbofai` is now known as turbofail` 21:38:00 -!- turbofail [~user@c-107-3-149-149.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] 21:41:16 -!- turbofail` is now known as turbofail 21:42:50 -!- mmc1 [~michal@178-85-63-71.dynamic.upc.nl] has quit [Ping timeout: 246 seconds] 21:44:39 mark_weaver [~user@209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 21:47:13 ssbr_ [~ssbr@python/site-packages/ssbr] has joined #scheme 21:51:40 -!- kk` [~kk@unaffiliated/kk/x-5380134] has quit [Quit: WeeChat 0.3.7] 21:55:29 Fare [~Fare@216.239.55.82] has joined #scheme 21:55:56 -!- add^_ [~add^_^@m212-152-11-21.cust.tele2.se] has quit [Quit: add^_] 22:00:19 -!- arameus [~maxwell@cpe-184-153-14-33.nycap.res.rr.com] has quit [Ping timeout: 265 seconds] 22:01:57 ssbr__ [~ssbr@python/site-packages/ssbr] has joined #scheme 22:01:58 FreeArtMan [~fam@93.177.213.54] has joined #scheme 22:02:20 -!- adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has quit [Quit: adu] 22:04:28 -!- FreeArtMan [~fam@93.177.213.54] has quit [Read error: Connection reset by peer] 22:04:53 -!- Fare [~Fare@216.239.55.82] has quit [Ping timeout: 246 seconds] 22:05:22 -!- ssbr_ [~ssbr@python/site-packages/ssbr] has quit [Ping timeout: 252 seconds] 22:07:23 ssbr_ [~ssbr@python/site-packages/ssbr] has joined #scheme 22:08:17 -!- ssbr__ [~ssbr@python/site-packages/ssbr] has quit [Read error: Operation timed out] 22:18:04 tuubow [~adityavit@NYUFGA-WLESSAUTHCLIENTS-02.NATPOOL.NYU.EDU] has joined #scheme 22:24:36 -!- teiresias [~teiresias@archlinux/trusteduser/teiresias] has quit [Read error: Connection reset by peer] 22:25:21 teiresias [~teiresias@archlinux/trusteduser/teiresias] has joined #scheme 22:29:25 -!- tomodo [~tomodo@gateway/tor-sasl/tomodo] has quit [Ping timeout: 276 seconds] 22:33:35 Patches [~Patches@user-12lc886.cable.mindspring.com] has joined #scheme 22:39:40 arameus [~maxwell@cpe-184-153-14-33.nycap.res.rr.com] has joined #scheme 22:43:03 -!- Patches [~Patches@user-12lc886.cable.mindspring.com] has quit [Read error: Connection reset by peer] 22:50:51 adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has joined #scheme 22:53:46 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Quit: Computer has gone to sleep.] 22:55:27 realitygrill [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has joined #scheme 22:56:30 -!- Matt_S_G [~Matt_S_G@gateway/tor-sasl/mattsg/x-78535695] has quit [Quit: WeeChat 0.3.8-dev] 23:05:59 -!- albacker [~eni@unaffiliated/enyx] has quit [Quit: Leaving] 23:06:48 -!- dzhus [~sphinx@176.14.94.92] has quit [Remote host closed the connection] 23:08:17 -!- adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has quit [Quit: adu] 23:11:01 -!- tuubow [~adityavit@NYUFGA-WLESSAUTHCLIENTS-02.NATPOOL.NYU.EDU] has quit [Ping timeout: 276 seconds] 23:17:47 -!- lcc [~user@unaffiliated/lcc] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:18:29 -!- kudkudyak [~user@94.72.135.6] has quit [Ping timeout: 245 seconds] 23:18:30 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 23:21:25 jao [~user@pdpc/supporter/professional/jao] has joined #scheme 23:22:17 ASau` [~user@95-27-143-55.broadband.corbina.ru] has joined #scheme 23:22:29 -!- arameus [~maxwell@cpe-184-153-14-33.nycap.res.rr.com] has quit [Ping timeout: 265 seconds] 23:26:05 -!- jao [~user@pdpc/supporter/professional/jao] has quit [Ping timeout: 246 seconds] 23:26:16 -!- ASau [~user@95-28-75-141.broadband.corbina.ru] has quit [Ping timeout: 246 seconds] 23:33:51 jao [~user@pdpc/supporter/professional/jao] has joined #scheme 23:46:08 -!- jao [~user@pdpc/supporter/professional/jao] has quit [Ping timeout: 260 seconds] 23:46:43 -!- palach [~palach@93.175.8.83] has quit [Ping timeout: 245 seconds] 23:48:42 samth [~samth@c-66-31-201-165.hsd1.ma.comcast.net] has joined #scheme 23:49:45 arameus [~maxwell@cpe-184-153-14-33.nycap.res.rr.com] has joined #scheme 23:49:51 pothos_ [~pothos@114-36-231-220.dynamic.hinet.net] has joined #scheme 23:49:59 -!- pothos [~pothos@114-36-229-36.dynamic.hinet.net] has quit [Ping timeout: 252 seconds] 23:50:01 -!- pothos_ is now known as pothos 23:59:22 preflex_ [~preflex@unaffiliated/mauke/bot/preflex] has joined #scheme