00:01:52 pumpkin [~pumpkin@17.101.89.205] has joined #scheme 00:01:52 -!- pumpkin [~pumpkin@17.101.89.205] has quit [Changing host] 00:01:52 pumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 00:03:02 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 264 seconds] 00:09:20 -!- dfkjjkfd [~paulh@145.120.22.32] has quit [Quit: Lost terminal] 00:13:26 wuj [~wuj@pool-74-101-71-212.nycmny.east.verizon.net] has joined #scheme 00:15:23 -!- lisppaste [~lisppaste@common-lisp.net] has quit [Ping timeout: 240 seconds] 00:44:59 decaf [~mehmet@88.252.97.9] has joined #scheme 00:47:34 Azuvix [~james@174-27-34-218.bois.qwest.net] has joined #scheme 00:47:58 steven_t [~steven@unaffiliated/steven] has joined #scheme 00:48:01 hi guys 00:48:19 whats a simple scheme implementation thats lightweight and has a unit testing tool? 00:49:48 define simple :-) 00:50:04 schmir [~schmir@p54A9188E.dip0.t-ipconnect.de] has joined #scheme 00:50:09 lightweight = runs on embedded devices or the like? 00:55:06 -!- schmir [~schmir@p54A9188E.dip0.t-ipconnect.de] has quit [Ping timeout: 272 seconds] 00:55:08 -!- bweaver [~user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has quit [Ping timeout: 245 seconds] 01:01:16 maybe tiny scheme? 01:02:04 AFAIK it's not a very good implementation and I doubt in ships a unit testing tool 01:02:11 i mean in a few ways: 01:02:28 well, testing tool is not a mandatory requiremnt i guess.. i can easily write my own quick one 01:02:43 but i mean simple as in, the basics of lisp, no object system, no fancy stuff 01:02:47 ok then what are the contraints? 01:03:07 just enough to do some list processing, print to stdout and get a string from stdin 01:03:08 then you should be able to choose freely 01:03:31 Scheme is very minimal in core, everything fancy has to be loaded explicitly anyway 01:03:37 yay 01:03:43 at least that's true for the systems I know 01:03:51 oh one more thing 01:04:07 im having trouble finding one that has a simple "interpreter" so to speak 01:04:09 you could even write your own scheme system in a day or two with those constraints 01:04:19 indeed heh 01:04:20 which lets you do `interpreter myscript.scheme` 01:04:33 (much like ruby or python) 01:04:39 steven_t: really? I think most implementations include something like that 01:04:48 i tried scheme48 and it doesnt seem to work 01:04:48 which have you tried? 01:04:56 ok I never tried that one 01:05:09 i really liked Nu, but its got way too many problems due to it also being ObjC 01:05:18 but at least Guile, Chicken, Gauche, Bigloo, Ikarus and Gambit have one :-) 01:05:20 so its unusable for me.. but `nush` was a way cool utility 01:05:47 -!- HG` [~HG@xdsl-92-252-104-154.dip.osnanet.de] has quit [Quit: Leaving.] 01:05:49 also Chibi 01:06:09 What didn't work about Scheme48? 01:06:10 and MIT 01:06:25 i couldnt run a quick scheme script 01:06:35 Can you be more specific? 01:06:56 i put "(42)" into a .scheme file and tried `scheme48 file.scheme" and it complained 01:08:11 That's because 42 isn't a function, I guess 01:08:21 hmm 01:08:25 i tried "42" also 01:08:26 maybe in scheme48 it is :-) 01:08:43 DerGuteMoritz: Hahaha. 01:08:57 as I said, I never tried! 01:09:07 The `scheme48' program doesn't run like that. Usually you use it interactively, by typing just `scheme48', and then type `,load file.scheme' at the prompt. You can do something similar noninteractively, in batch mode: echo ,load file.scheme | scheme48 -a batch 01:09:27 maybe gambit works better 01:09:54 -!- crichter [~crichter@209.152.45.35] has quit [Quit: Lost terminal] 01:10:16 steven_t: try (420), its cooler :) 01:10:21 :P 01:10:28 steven_t: sorry, dumb joke ! :) 01:11:20 42 > 420 01:11:48 rudybot: (> 42 420) 01:11:50 cky: your racket sandbox is ready 01:11:50 cky: ; Value: #f 01:11:54 is there a common "puts"-like function in scheme? 01:11:54 steven_t: YOU LIE! 01:12:11 steven_t: You can display something using "display". 01:12:20 To write a newline, use "newline". 01:12:33 what about (display "\n") 01:12:43 jonrafkind: That works in R6RS, but not in R5RS. 01:12:53 really? what does r5rs do? 01:12:57 some systems also include print which does both 01:12:59 nice 01:13:07 jonrafkind: R5RS does not define \n or any of the other C-based escapes. 01:13:09 how would you do something like ruby's "gets"? 01:13:21 oh wait, I'm wrong 01:13:22 where it takes stdin (up to the enter-press) and returns it as as string? 01:13:39 steven_t: There is no built-in function that does that. 01:13:50 rats 01:13:50 steven_t: read-line in most systems 01:13:53 steven_t: You can read form-by-form, or character-by-character. 01:14:02 DerGuteMoritz: That's not part of any Scheme specification, though. 01:14:06 irght 01:14:07 *right 01:14:12 im using gambit :) 01:14:31 gambit has read-line it seems 01:14:36 steven_t: Well, you can test out read-line if you want. The standard functions are "read" (read a form) and "read-char" (read a character). 01:14:40 DerGuteMoritz: Cool. 01:14:41 but consider using read 01:14:52 depending on your use-case, of course 01:15:00 read-line gave me "" in gsi 01:15:00 if you want to, say, read in numbers, read is much better suited 01:15:02 :( 01:15:14 I guess it doesn't work in interactive mode with gambit then 01:15:37 Presumably, gsi left in the input stream the newline by which you entered input. 01:15:48 try gsi -e '(display (read-line))' 01:15:51 Try (let ((x (read-line))) (list x (read-line))). 01:15:59 necroforest [~jarred@pool-108-18-226-169.washdc.fios.verizon.net] has joined #scheme 01:16:27 Riastradh: cool 01:16:45 -!- AtnNn [~welcome@modemcable233.174-176-173.mc.videotron.ca] has quit [Quit: foobar] 01:16:53 woot that worked DerGuteMoritz :) 01:16:57 you guys are so patient! 01:17:04 ill go read the manual like a good boy now ;) 01:17:13 read-line is not in the manual though :-) 01:17:26 It is in the Gambit manual. 01:17:28 well, maybe in the gambit manual 01:17:29 heh 01:17:48 yep, right there 01:19:28 oh no 01:22:10 im trying to learn this way too quickly 01:22:17 im sure to run into all sorts of problems! 01:22:47 that's what learning is like! 01:23:11 not to mention, im writing lisp in vim!! 01:23:22 this is so sad. 01:23:36 is there any way to at least make vim indent scheme properly, if nothing else? 01:24:00 :q! RET emacs 01:24:06 LOL 01:24:17 set lisp 01:24:28 -!- cataska [~cataska@210.64.6.233] has quit [Read error: Operation timed out] 01:24:49 that did nada 01:25:41 -!- imran_sr [~imran@75-18-254-4.lightspeed.uncyca.sbcglobal.net] has quit [Remote host closed the connection] 01:27:37 -!- fradgers- [~fradgers-@2.121.50.126] has quit [Remote host closed the connection] 01:28:29 DrDuck [~duck@146.229.119.63] has joined #scheme 01:31:26 -!- gnomon_ [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Read error: Connection reset by peer] 01:32:36 AtnNn [~welcome@modemcable233.174-176-173.mc.videotron.ca] has joined #scheme 01:40:14 -!- Azuvix [~james@174-27-34-218.bois.qwest.net] has quit [Quit: Leaving] 01:53:03 -!- decaf [~mehmet@88.252.97.9] has quit [Remote host closed the connection] 01:53:55 -!- tupi [~david@186.205.37.15] has quit [Quit: Leaving] 01:59:18 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 245 seconds] 02:03:18 -!- homie [~user@xdsl-87-79-171-202.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 02:03:36 -!- wbooze [~user@xdsl-87-79-171-202.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 02:05:54 yeah set lisp doesn't do much 02:06:40 well do you have 'set ai' too? 02:06:57 -!- wuj [~wuj@pool-74-101-71-212.nycmny.east.verizon.net] has quit [Ping timeout: 265 seconds] 02:07:36 homie [~user@xdsl-87-79-171-202.netcologne.de] has joined #scheme 02:07:39 wuj [~wuj@pool-74-108-177-147.nycmny.east.verizon.net] has joined #scheme 02:08:04 wbooze [~user@xdsl-87-79-171-202.netcologne.de] has joined #scheme 02:09:07 huh no 02:10:24 Okay 02:10:25 so set ai 02:10:27 Is perfect 02:10:36 That's all I ask for. 02:17:50 -!- gravicappa [~gravicapp@ppp85-140-66-13.pppoe.mtu-net.ru] has quit [Ping timeout: 276 seconds] 02:18:44 hypercube32 [~hypercube@158.102.207.68.cfl.res.rr.com] has joined #scheme 02:30:52 FunkyDrummer [~RageOfTho@users-55-59.vinet.ba] has joined #scheme 02:32:06 -!- masm [~masm@2.80.135.179] has quit [Quit: Leaving.] 02:34:35 -!- RageOfThou [~RageOfTho@users-33-130.vinet.ba] has quit [Ping timeout: 255 seconds] 02:46:40 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 02:48:21 uhh 02:48:25 it do nada 02:49:00 steven_t: Maybe it's time to take Riastradh's advice, and use Emacs. 02:49:53 Noooooo 02:50:20 *cky* waits for offby1 to throw his two cents in. :-) 02:50:51 Do it! Embrace the Lisp! \o/ 02:51:43 Azuvix [~Azuvix@174-27-34-218.bois.qwest.net] has joined #scheme 02:52:08 steven_t: I think you should download the latest DrRacket and play around with it. 02:52:11 $0.02 02:52:46 :-) 02:57:32 -!- FunkyDrummer [~RageOfTho@users-55-59.vinet.ba] has quit [Ping timeout: 255 seconds] 02:58:00 steven_t, try `no hace nada'; it should work a little better. 03:04:45 offby1` [~user@q-static-138-125.avvanta.com] has joined #scheme 03:05:16 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Ping timeout: 240 seconds] 03:06:41 -!- offby1 [~user@pdpc/supporter/monthlybyte/offby1] has quit [Disconnected by services] 03:06:53 -!- offby1` is now known as offby1 03:06:56 -!- offby1 [~user@q-static-138-125.avvanta.com] has quit [Changing host] 03:06:56 offby1 [~user@pdpc/supporter/monthlybyte/offby1] has joined #scheme 03:10:46 -!- pumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 03:12:38 -!- xwl_ [~user@nat/nokia/x-cnxburdixxujyume] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 03:13:34 xwl [~user@nat/nokia/x-hvwdmmvpdeacfasj] has joined #scheme 03:16:22 -!- offby1 is now known as floopy 03:16:34 -!- floopy is now known as floopy` 03:16:51 -!- floopy` is now known as offby1` 03:17:24 -!- offby1` is now known as offby1 03:24:25 -!- offby1 is now known as offby1` 03:24:34 -!- offby1` is now known as offby1 03:28:09 -!- Azuvix [~Azuvix@174-27-34-218.bois.qwest.net] has quit [Quit: Leaving] 03:34:12 -!- rpg [~rpg@216.243.156.16.real-time.com] has quit [Remote host closed the connection] 03:34:23 offby1: why 03:34:49 cky: ive used emacs + slime before, the only thing i really need it for though is indentation 03:35:01 and if i can get that in vim then ill be content 03:36:50 steven_t: "why" what? Are you asking why I recommended DrRacket? 03:36:54 yea 03:36:56 If so, it's because it's a good beginner UI 03:36:59 self-contained 03:37:01 oh 03:37:03 comes with lots of docs 03:37:04 yeah im not big on UIs 03:37:08 thanks though :) 03:37:16 well, Racket has a decent command-line, too 03:37:24 If there's a way to configure DrRacket with vi keybindings, that'd be awesome. 03:37:28 plus it comes with its very own IRC bot! 03:37:30 Ditto with the Racket command-line interface. 03:37:33 rudybot: eval (banner) 03:37:34 *offby1: ; Value: "Welcome to Racket v5.0.1.\n" 03:37:35 That doesn't edit, offby1. 03:37:48 Why would anyone want vi key bindings? 03:38:06 Riastradh: That's like asking why anyone would speak English. :-P 03:38:20 For many people, that's what they grew up with. 03:38:29 Even `hjkl' is offset from the standard placement of one's fingers on the keyboard. 03:39:02 Beyond that, there's practically no consistency or mnemonic value to them. 03:40:15 Every time an Emacs user is astonished to watch X vanish before his very eyes when he tried to kill an S-expresion backward is a testament to the mnemonic consistency of Emacs's key bindings. 03:40:50 -!- hypercube32 [~hypercube@158.102.207.68.cfl.res.rr.com] has quit [Quit: Leaving] 03:41:32 (Fortunately, these days X servers are often configured otherwise. Also, with multitty support in Emacs, it doesn't matter if X dies.) 03:46:05 So why has anyone grown up with vi since 1985? 03:48:00 cataska [~cataska@210.64.6.233] has joined #scheme 03:49:43 Here is a function I defined to go through an embdedded list of symbols and return a unique list of symbols that are not defined in 'operators'. Scrutinize my code please http://paste.lisp.org/display/116933 03:51:23 vi is pretty fast 03:52:40 timj_ [~timj@e176192049.adsl.alicedsl.de] has joined #scheme 03:53:11 What jonrafkind said. 03:53:24 Back when I first used Linux, I had this old 486 computer with, like, 4 MB of RAM. 03:53:49 And, vi started up in, like, half a second, and Emacs started up in, like, 10 seconds. 03:54:20 (Okay, maybe that was an exaggeration. But it was longer than a second, and I noticed.) 03:55:09 So, after a few days, I started developing an aversion to starting up Emacs. (Yes yes, I know, Emacs is designed to be started up once and never exited.) 03:55:11 OK, so you run Emacs inside screen, just like everything else. Granted, that pushes the year from 1985 to 1987. 03:55:36 i meant fast to type with (you dont have to move your hands much) 03:56:21 jonrafkind: You do have to hit the Esc key to get to command mode, but yes, other than that. 03:56:23 -!- timj [~timj@e176195037.adsl.alicedsl.de] has quit [Ping timeout: 245 seconds] 03:56:35 How is it different from Emacs in that respect, jonrafkind? Whenever I use vi I have to hit ESC pretty often, in any case. 03:57:23 to move around in emacs if you dont want to use the ctrl keys you use the arrow keys, moving from the qwerty letters to the arrow keys is usually quite annoying, from qwerty to esc is just a srtetch for my fingers at least 03:58:25 So if you choose to move your hands to the arrow keys, you...gosh, have to move your hands to the arrow keys? That sounds onerous! 03:58:44 it is, compared to not moving your hands at all in vi 03:58:55 Or in Emacs. 03:59:16 aren't your choices in emacs using ctrl+X (some key) or using the arrow keys? 03:59:23 Riastradh: I have nothing against Emacs these days (my computer is plenty fast enough, and I can reach bucky keys without difficulty); it's just the learning curve thing now. 03:59:35 I have to move my hands in vi, incidentally; hjkl are not where my fingers usually rest. 03:59:46 Riastradh: A learning curve doesn't stop me if I'm sufficiently motivated (I mean, heck, I made myself learn Dvorak 7 years ago). 04:00:09 oh, my hands rest on the middle row of qwerty, but maybe thats becuase ive been a vi user for 15 years 04:00:10 Riastradh: So, just gotta find the motivation to learn Emacs. :-) 04:00:34 Yes, jonrafkind. C-f, C-b, &c., don't require moving one's hands any more hjkl. 04:00:50 aha yes.. so i consider C-f, C-b the worst solution of all 04:00:56 jonrafkind: I think Riastradh's point is that either he uses a non-qwerty layout, or else talking about the fact that HJKL is out of kilter with where the home key is (should be JKL;). 04:00:57 because holding ctrl is a bigger pain than moving my hand 04:01:23 cky, it is the latter. 04:01:27 jonrafkind, perhaps your control key is in the wrong location. 04:01:39 that may be true, its in the lower left hand corner of the keyboard 04:01:42 Is it displaced by some bogus caps lock key on your keyboard? 04:01:50 caps is in the center 04:01:54 i dont have a sun keyboard 04:02:10 http://www.emacswiki.org/emacs/MovingTheCtrlKey 04:02:19 Emacs rule #1 ;) 04:02:31 Yes: you have a useless key where the control key should be, and the control key in the wrong location. Fortunately, most operating systems these days -- and X, since 1990 or so -- can work around this hardware bug. 04:02:32 I must say that I'm used to having Ctrl below the Shift, because it's easier to hit with my pinky. 04:02:33 well it really has nothing to do where the ctrl key is.. having to press it is annoying 04:02:45 If the key is next to the A, I can no longer hit it with my pinky. 04:03:29 I mean, I could use my ring finger like I do for hitting Tab, but, more retraining. :-P 04:03:43 *franki^* enjoyed having Ctrl next to the A key before he even used Emacs 04:04:19 pnkfelix [~Adium@c-24-147-116-20.hsd1.ct.comcast.net] has joined #scheme 04:04:20 Maybe I should make my layout so that _both_ the current Ctrl as well as Caps Lock become Ctrl keys. 04:04:30 Then I can slowly adjust myself without having to switch cold turkey. 04:04:37 My pinky must move no more than a centimetre or so in order to hit the control key... Where do you leave your fingers, cky? Over xcvb or something? 04:05:20 My fingers are over the home keys. Index fingers over the U and H on Dvorak (or F and J on qwerty). 04:05:44 *cky* has fairly large hands, though. 04:06:08 Like, I have long index, middle, and ring fingers, but fairly short pinkies. 04:06:52 Where does your pinky normally rest, if not over the qwerty a? 04:06:58 I suppose if I shift my left hand a bit, I can hit the "key next to A" quite comfortably with my pinky now that I tred. 04:07:01 *tried 04:07:08 It normally rests over the left Shift. 04:07:45 I see. 04:08:40 *nods* As I mentioned, my pinky doesn't have quite the same length as my other fingers. 04:09:34 I think that's normal :) 04:09:40 -!- bill_h [~h@c-66-177-133-32.hsd1.fl.comcast.net] has quit [Ping timeout: 252 seconds] 04:10:11 Though, that's probably more a statement on the length of my other fingers, not such much my pinkies. 04:10:49 *not so much 04:10:57 franki^: :-) 04:13:12 githogori [~githogori@adsl-66-123-22-146.dsl.snfc21.pacbell.net] has joined #scheme 04:13:19 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 04:13:35 At least, I hope it is! 04:14:01 Hehehehe. 04:22:45 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Ping timeout: 250 seconds] 04:23:54 -!- DrDuck [~duck@146.229.119.63] has quit [Read error: Operation timed out] 04:25:36 DrDuck [~duck@146.229.119.63] has joined #scheme 04:34:59 -!- DrDuck [~duck@146.229.119.63] has quit [Ping timeout: 276 seconds] 04:39:22 -!- copumpkin is now known as debblego 04:39:41 -!- pnkfelix [~Adium@c-24-147-116-20.hsd1.ct.comcast.net] has quit [Quit: Leaving.] 04:46:11 -!- debblego is now known as dubblego 04:46:48 -!- dubblego is now known as copumpkin 04:53:15 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Ping timeout: 260 seconds] 04:57:23 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 240 seconds] 05:15:10 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 05:31:23 offby2 [~offby@q-static-138-125.avvanta.com] has joined #scheme 05:31:29 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 05:31:43 pavelludiq [~quassel@91.139.193.72] has joined #scheme 05:33:49 -!- lusory [~bart@bb219-75-1-110.singnet.com.sg] has quit [Ping timeout: 265 seconds] 05:45:17 vu3rdd [~vu3rdd@nat/cisco/x-afrgaxzpfaxaxcqf] has joined #scheme 05:49:21 alexsuraci [~alex@pool-71-188-133-67.aubnin.fios.verizon.net] has joined #scheme 05:50:52 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 05:51:59 Riastradh: Did you get my question about MIT Scheme's streams yesterday? It was something like "You said that using odd streams was a mistake, so why haven't you changed it to use even streams?" 05:52:06 (I think that's the right way around) 05:52:20 Or, maybe my question was just too boring to answer. ;) 05:52:29 -!- pavelludiq [~quassel@91.139.193.72] has quit [Remote host closed the connection] 05:53:36 Because MIT Scheme doesn't have a module system that would enable such a change not to break existing code. 05:54:08 Hm, I see. 05:54:18 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 245 seconds] 05:54:31 *franki^* should have a look at the MIT Scheme code some day. 05:54:53 I've opened the /src directory before, but it gets a bit intimidating after that. :\ 05:55:56 Well, you can start with the *.pkg files. They give you a rough overview of the organization of the system. 05:55:58 -!- wuj [~wuj@pool-74-108-177-147.nycmny.east.verizon.net] has quit [Ping timeout: 245 seconds] 05:58:31 Looks like I need to read about `define-package' then. 05:59:25 Just think of it as a sentence saying `Here's a part of the system. It's implemented in foo.scm. It implements the bindings FROB, GROVEL, and MUMBLE.' 05:59:58 -!- offby2 [~offby@q-static-138-125.avvanta.com] has quit [Remote host closed the connection] 06:03:06 Wow, there's quite a lot there. 06:03:27 I guess I've barely scratched the surface of MIT Scheme primitives 06:08:01 That probably shouldn't be surprising, heh. But there's all kind of stuff like http, SQL and regexes that I didn't know existed 06:08:14 Interesting 06:13:57 xscroll [~user@184-76-24-220.war.clearwire-wmx.net] has joined #scheme 06:17:16 offby2 [~offby@q-static-138-125.avvanta.com] has joined #scheme 06:20:21 You're drifting, offby2! Better find a fencepost to hang onto, quick. 06:20:45 *=} 06:21:28 I was under the impression that this newfangled iOS had multitasking. 06:30:25 -!- xscroll [~user@184-76-24-220.war.clearwire-wmx.net] has quit [Remote host closed the connection] 06:32:17 -!- offby2 [~offby@q-static-138-125.avvanta.com] has quit [Quit: Colloquy for iPad - http://colloquy.mobi] 06:36:20 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Ping timeout: 245 seconds] 06:40:49 -!- jimrees_ [~jimrees@ita4fw1.itasoftware.com] has quit [Quit: Ex-Chat] 07:05:09 -!- Modius [~Modius@cpe-70-123-158-125.austin.res.rr.com] has quit [Quit: I'm big in Japan] 07:25:39 leo2007 [~leo@n219076093094.netvigator.com] has joined #scheme 07:25:57 -!- Open [~gleen@unaffiliated/open] has quit [Quit: leaving] 07:35:02 -!- xwl [~user@nat/nokia/x-hvwdmmvpdeacfasj] has left #scheme 07:35:28 xwl_ [~user@nat/nokia/x-yiqpswdiermevzmt] has joined #scheme 07:45:12 decaf [~mehmet@88.252.97.9] has joined #scheme 07:47:01 -!- decaf [~mehmet@88.252.97.9] has quit [Client Quit] 07:47:25 decaf [~mehmet@88.252.97.9] has joined #scheme 07:50:04 elf [elf@antenora.aculei.net] has joined #scheme 07:59:57 -!- ASau [~user@89-178-188-64.broadband.corbina.ru] has quit [Remote host closed the connection] 08:00:35 ASau [~user@89-178-188-64.broadband.corbina.ru] has joined #scheme 08:07:02 -!- wbooze [~user@xdsl-87-79-171-202.netcologne.de] has quit [Read error: Operation timed out] 08:07:42 wbooze` [~user@xdsl-87-79-190-239.netcologne.de] has joined #scheme 08:09:09 homie` [~user@xdsl-87-79-190-239.netcologne.de] has joined #scheme 08:09:53 xscroll [~user@184-76-24-220.war.clearwire-wmx.net] has joined #scheme 08:10:07 -!- homie [~user@xdsl-87-79-171-202.netcologne.de] has quit [Ping timeout: 255 seconds] 08:11:16 -!- homie` [~user@xdsl-87-79-190-239.netcologne.de] has quit [Client Quit] 08:11:20 -!- wbooze` [~user@xdsl-87-79-190-239.netcologne.de] has quit [Client Quit] 08:14:27 -!- xscroll [~user@184-76-24-220.war.clearwire-wmx.net] has quit [Remote host closed the connection] 08:15:10 xscroll [~user@184-76-24-220.war.clearwire-wmx.net] has joined #scheme 08:16:12 homie [~user@xdsl-87-79-190-239.netcologne.de] has joined #scheme 08:16:31 wbooze [~user@xdsl-87-79-190-239.netcologne.de] has joined #scheme 08:18:41 -!- xscroll [~user@184-76-24-220.war.clearwire-wmx.net] has quit [Remote host closed the connection] 08:19:22 xscroll [~user@184-76-24-220.war.clearwire-wmx.net] has joined #scheme 08:19:40 -!- ve [~a@vortis.xen.tardis.ed.ac.uk] has quit [Ping timeout: 245 seconds] 08:20:11 HG` [~HG@xdsl-92-252-126-135.dip.osnanet.de] has joined #scheme 08:22:09 -!- xscroll [~user@184-76-24-220.war.clearwire-wmx.net] has quit [Remote host closed the connection] 08:24:40 ve [~a@vortis.xen.tardis.ed.ac.uk] has joined #scheme 08:34:07 wingo [~wingo@219.Red-88-0-167.dynamicIP.rima-tde.net] has joined #scheme 08:43:19 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 08:44:00 pchrist [~spirit@gentoo/developer/pchrist] has joined #scheme 08:44:43 -!- wingo [~wingo@219.Red-88-0-167.dynamicIP.rima-tde.net] has quit [Ping timeout: 245 seconds] 08:48:45 -!- leo2007 [~leo@n219076093094.netvigator.com] has quit [Quit: rcirc on GNU Emacs 23.2.20] 08:55:00 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Remote host closed the connection] 08:55:40 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 08:56:10 schmir [~schmir@mail.brainbot.com] has joined #scheme 09:05:20 -!- xwl_ [~user@nat/nokia/x-yiqpswdiermevzmt] has quit [Remote host closed the connection] 09:13:16 -!- Caleb-- [~caleb@bzq-79-179-36-197.red.bezeqint.net] has quit [Ping timeout: 252 seconds] 09:23:23 -!- decaf [~mehmet@88.252.97.9] has quit [Quit: Leaving] 09:24:53 decaf [~mehmet@88.252.97.9] has joined #scheme 09:29:24 -!- ASau [~user@89-178-188-64.broadband.corbina.ru] has quit [Remote host closed the connection] 09:30:01 ASau [~user@89-178-188-64.broadband.corbina.ru] has joined #scheme 09:32:23 dzhus [~sphinx@93-80-232-228.broadband.corbina.ru] has joined #scheme 09:38:12 -!- ASau [~user@89-178-188-64.broadband.corbina.ru] has quit [Remote host closed the connection] 09:39:00 ASau [~user@89-178-188-64.broadband.corbina.ru] has joined #scheme 09:56:38 gravicappa [~gravicapp@ppp85-140-66-13.pppoe.mtu-net.ru] has joined #scheme 10:08:28 -!- jao [~user@229.Red-83-32-170.dynamicIP.rima-tde.net] has quit [Ping timeout: 245 seconds] 10:23:20 nilg [~user@85.239.138.109] has joined #scheme 10:25:06 stamourv` [~user@kauai.ccs.neu.edu] has joined #scheme 10:25:24 -!- stamourv [~user@kauai.ccs.neu.edu] has quit [Remote host closed the connection] 10:26:14 -!- adzuci [~ada2358@login.ccs.neu.edu] has quit [Ping timeout: 265 seconds] 10:26:32 sts193 [~Adium@c-76-104-226-126.hsd1.wa.comcast.net] has joined #scheme 10:26:35 chittoor [~chittoor@listertech.in] has joined #scheme 10:26:45 adzuci [~ada2358@login.ccs.neu.edu] has joined #scheme 10:26:53 -!- sts193 [~Adium@c-76-104-226-126.hsd1.wa.comcast.net] has left #scheme 10:33:13 pavelludiq [~quassel@91.139.193.72] has joined #scheme 10:47:54 fradgers- [~fradgers-@2.121.50.126] has joined #scheme 10:50:06 drdo [~user@194.210.228.77] has joined #scheme 10:51:27 -!- drdo [~user@194.210.228.77] has quit [Remote host closed the connection] 10:51:51 drdo [~user@194.210.228.77] has joined #scheme 10:53:37 jao [~user@80.24.4.74] has joined #scheme 10:58:53 -!- em [~emma@unaffiliated/emma] has quit [Read error: Operation timed out] 11:01:31 -!- rotty [~rotty@nncmain.nicenamecrew.com] has quit [Ping timeout: 265 seconds] 11:02:55 rotty [~rotty@nncmain.nicenamecrew.com] has joined #scheme 11:03:12 hi, is there in scheme the equivalent of python's dictionary? 11:03:28 -!- dzhus [~sphinx@93-80-232-228.broadband.corbina.ru] has quit [Read error: Connection reset by peer] 11:04:08 dzhus [~sphinx@93-80-232-228.broadband.corbina.ru] has joined #scheme 11:06:21 -!- gravicappa [~gravicapp@ppp85-140-66-13.pppoe.mtu-net.ru] has quit [Ping timeout: 265 seconds] 11:06:43 -!- Hal9k [~Lernaean@unaffiliated/kusanagi] has quit [Ping timeout: 240 seconds] 11:07:13 There are srfii for ordered maps and hash tables. 11:13:45 thx Jafet, I'm using Guile, I suppose I should have a look at the guile doc 11:14:38 yeah I think I found, thx 11:21:42 masm [~masm@bl19-135-179.dsl.telepac.pt] has joined #scheme 11:32:16 -!- drdo [~user@194.210.228.77] has quit [Remote host closed the connection] 11:34:00 Hal9k [~Lernaean@unaffiliated/kusanagi] has joined #scheme 11:37:54 tokam [~tokam@s0639.dyn.hrz.tu-darmstadt.de] has joined #scheme 11:38:26 hi, is there a function which works equal to filter but has an abrot condition? 11:39:15 -!- AtnNn [~welcome@modemcable233.174-176-173.mc.videotron.ca] has quit [Ping timeout: 260 seconds] 11:40:12 tokam: take-while? 11:40:51 tokam: sorry it is called take and it is specified in srfi-1 11:41:19 ah I should learn how to type 11:41:28 tokam: sorry it is called take-while and it is specified in srfi-1 11:41:33 now we are getting there 11:42:13 : 11:42:29 :) Ok I will have a look but I do not know srfi-1 I am not from the MIT we do scheme in Darmstadt too. 11:42:56 is there a list for the higher-order functions for lists? 11:43:16 I have to use higheroder functions in my home work. All of my code works fine, but maybe I used to less of the predefined functions :) 11:52:12 http://www.delorie.com/gnu/docs/guile/guile_448.html 11:52:20 which language level to select in drscheme for this? 11:56:07 tupi [~david@186.205.37.15] has joined #scheme 11:56:52 gravicappa [~gravicapp@80.90.116.82] has joined #scheme 11:57:20 tokam: I am not at MIT either :) 11:57:35 tokam: so what is actually your question? which tools are you using now? I am confused 11:57:46 decaf_ [~mehmet@88.232.55.172] has joined #scheme 11:57:56 drscheme 11:58:05 (find is not know in my scheme interprester 11:58:12 -!- decaf [~mehmet@88.252.97.9] has quit [Disconnected by services] 11:58:40 -!- decaf_ is now known as decaf 11:59:01 tokam: ok, srfi-1 does define higher order functions for lists 11:59:36 tokam: and you need (require srfi/1) for it in drracket 12:00:00 tokam: see http://docs.racket-lang.org/srfi/srfi-1.html 12:01:37 thx 12:02:24 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Quit: Adamant] 12:02:28 -!- pavelludiq [~quassel@91.139.193.72] has quit [Read error: Connection reset by peer] 12:07:53 decaf_ [~mehmet@88.232.73.27] has joined #scheme 12:08:00 -!- decaf [~mehmet@88.232.55.172] has quit [Disconnected by services] 12:08:12 -!- decaf_ is now known as decaf 12:11:29 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 255 seconds] 12:13:39 AtnNn [~welcome@modemcable233.174-176-173.mc.videotron.ca] has joined #scheme 12:13:58 thx for help 12:20:28 tokam: np :) 12:22:16 -!- tokam [~tokam@s0639.dyn.hrz.tu-darmstadt.de] has quit [Ping timeout: 272 seconds] 12:30:50 tokam [~tokam@s1963.dyn.hrz.tu-darmstadt.de] has joined #scheme 12:59:45 pavelludiq [~quassel@91.139.193.72] has joined #scheme 13:03:39 -!- tokam [~tokam@s1963.dyn.hrz.tu-darmstadt.de] has quit [Quit: Leaving.] 13:08:38 -!- pygospa [~pygospa@217.191.174.121] has quit [Disconnected by services] 13:08:47 TheRealPygo [~pygospa@217.191.193.205] has joined #scheme 13:15:55 -!- alexsuraci [~alex@pool-71-188-133-67.aubnin.fios.verizon.net] has quit [Quit: Lost terminal] 13:24:11 -!- daedra [~simon@unaffiliated/daedra] has left #scheme 13:24:30 alexsuraci [~alex@pool-71-188-133-67.aubnin.fios.verizon.net] has joined #scheme 13:25:22 copumpkin [~pumpkin@pool-71-162-105-126.bstnma.east.verizon.net] has joined #scheme 13:25:22 -!- copumpkin [~pumpkin@pool-71-162-105-126.bstnma.east.verizon.net] has quit [Changing host] 13:25:22 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 13:26:04 -!- pavelludiq [~quassel@91.139.193.72] has quit [Remote host closed the connection] 13:28:21 -!- vu3rdd [~vu3rdd@nat/cisco/x-afrgaxzpfaxaxcqf] has quit [Remote host closed the connection] 13:31:51 what's wrong with 13:31:52 (define (truc trac) trac) 13:32:04 oh sorry a mn 13:32:09 nothing per se 13:32:44 trac(1) 13:33:00 oh apology not in C (silly me) 13:33:32 bill_h [~h@c-66-177-133-32.hsd1.fl.comcast.net] has joined #scheme 13:35:09 -!- alexsuraci [~alex@pool-71-188-133-67.aubnin.fios.verizon.net] has quit [Quit: Lost terminal] 13:39:09 -!- Axsuul [~someone@97-93-99-133.static.mtpk.ca.charter.com] has quit [Ping timeout: 250 seconds] 13:54:08 xwl [~user@117.79.235.173] has joined #scheme 13:58:55 mejja [~chatzilla@c-5bb9e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 14:02:25 -!- metasyntax` [~taylor@12.132.219.7] has quit [Quit: Be seeing you.] 14:02:32 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 14:04:11 -!- mejja [~chatzilla@c-5bb9e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.12/20101026210630]] 14:05:06 wuj [~wuj@pool-74-108-177-147.nycmny.east.verizon.net] has joined #scheme 14:14:48 samth [~samth@punge.ccs.neu.edu] has joined #scheme 14:24:04 alexsuraci [~alex@pool-71-188-133-67.aubnin.fios.verizon.net] has joined #scheme 14:31:07 -!- alexsuraci [~alex@pool-71-188-133-67.aubnin.fios.verizon.net] has quit [Quit: Lost terminal] 14:31:34 alexsuraci [~alex@pool-71-188-133-67.aubnin.fios.verizon.net] has joined #scheme 14:31:55 -!- alexsuraci [~alex@pool-71-188-133-67.aubnin.fios.verizon.net] has quit [Client Quit] 14:31:56 drdo [~user@194.210.228.119] has joined #scheme 14:32:54 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 14:33:03 open` [~gleen@cpe-24-92-71-240.wi.res.rr.com] has joined #scheme 14:34:59 EbiDK [~ebi@3e6b7ac3.rev.stofanet.dk] has joined #scheme 14:38:58 -!- TheRealPygo is now known as pygospa 14:40:55 cky: large hands imply an advantage for Emacs. 14:44:03 I always thought Rachmainoff would make a great Elisp hacker. 14:45:46 Emacs is used for more than just elisp hacking... 14:46:51 BW^- [~Miranda@92.81.190.77] has joined #scheme 14:46:53 is there any list "tail" kind of procedurei n SRFI1? 14:47:27 (tail '(a b c) 2) => '(b c) 14:47:42 BW^-: `drop'. 14:48:35 it counts from the start of the procedure, doesn't it 14:48:46 (define (tail l x) (drop l (- (length l) x))) 14:48:48 .. 14:49:02 -!- leppie [~lolcow@196-215-20-67.dynamic.isadsl.co.za] has quit [Read error: Connection reset by peer] 14:49:24 aah- (take-right) is what i looked for 14:50:03 BW^-: Yeah, if you want to count the number of items to leave, then `take-right' is what you're looking for. 14:50:37 super, thx :) 14:59:09 MrFahrenheit [~RageOfTho@users-55-133.vinet.ba] has joined #scheme 15:01:47 alvatar [~alvatar@233.126.222.87.dynamic.jazztel.es] has joined #scheme 15:04:34 -!- alvatar [~alvatar@233.126.222.87.dynamic.jazztel.es] has quit [Client Quit] 15:06:45 -!- drdo [~user@194.210.228.119] has quit [Remote host closed the connection] 15:13:33 Mandar [~armand@pha75-21-78-228-186-233.fbx.proxad.net] has joined #scheme 15:14:10 -!- HG` [~HG@xdsl-92-252-126-135.dip.osnanet.de] has quit [Read error: Connection reset by peer] 15:14:19 HG` [~HG@xdsl-92-252-126-135.dip.osnanet.de] has joined #scheme 15:15:55 dfkjjkfd [~paulh@145.120.22.32] has joined #scheme 15:17:26 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 264 seconds] 15:20:52 copumpkin [~pumpkin@17.101.89.205] has joined #scheme 15:20:52 -!- copumpkin [~pumpkin@17.101.89.205] has quit [Changing host] 15:20:52 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 15:22:16 cataska_ [~cataska@210.64.6.233] has joined #scheme 15:22:46 Leonidas_ [~Leonidas@unaffiliated/leonidas] has joined #scheme 15:24:36 -!- Mandar [~armand@pha75-21-78-228-186-233.fbx.proxad.net] has quit [Ping timeout: 245 seconds] 15:24:39 -!- cataska [~cataska@210.64.6.233] has quit [Ping timeout: 245 seconds] 15:24:42 -!- Leonidas [~Leonidas@unaffiliated/leonidas] has quit [Ping timeout: 245 seconds] 15:28:56 -!- samth [~samth@punge.ccs.neu.edu] has quit [Quit: Ex-Chat] 15:30:50 -!- rudybot [~luser@2001:470:1:41:a800:ff:fe3e:cde7] has quit [Ping timeout: 260 seconds] 15:31:23 -!- yosafbridge [~yosafbrid@li14-39.members.linode.com] has quit [Ping timeout: 245 seconds] 15:31:25 -!- rapacity [~prwg@unaffiliated/rapacity] has quit [Ping timeout: 260 seconds] 15:34:09 samth [~samth@punge.ccs.neu.edu] has joined #scheme 15:35:32 pnkfelix [~Adium@c-24-147-116-20.hsd1.ct.comcast.net] has joined #scheme 15:36:19 -!- xwl [~user@117.79.235.173] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 15:36:42 -!- pnkfelix [~Adium@c-24-147-116-20.hsd1.ct.comcast.net] has quit [Read error: Connection reset by peer] 15:37:09 is there a common way in most schemes to use namespaces? 15:37:15 gambit has like 0 documentation on namespaces 15:39:23 gambit has no "namespaces" by default. They have an add-on module system called Black Hole, though 15:39:30 femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #scheme 15:39:50 but the macro namespace exists 15:39:56 It does? 15:40:21 *sjamaan* knows very little about gambit 15:40:30 Check the sources. You'll probably find it there ;) 15:40:58 -!- open` is now known as Open 15:40:58 -!- schmir [~schmir@mail.brainbot.com] has quit [Read error: Connection reset by peer] 15:41:13 -!- Open [~gleen@cpe-24-92-71-240.wi.res.rr.com] has quit [Changing host] 15:41:13 Open [~gleen@unaffiliated/open] has joined #scheme 15:41:53 steven_t: gambit's documentation and examples about namespaces is sufficient 15:41:57 give it a little bit of hacking 15:42:07 There is some article about using gambit namespaces in web. 15:42:08 though, i find it completely counter-intuitive for general software dev needs, 15:42:20 -!- aoh [~aki@80.75.102.51] has quit [Ping timeout: 265 seconds] 15:42:20 basically i feel it was made for someone to make a module system atop of 15:42:31 and someone did - it's Black Hole, and you find it via Gambit's homepage. 15:42:51 it fixes all NS handling and module imports & dependency compilation for you. 15:43:36 aisa [~aisa@c-68-35-167-179.hsd1.nm.comcast.net] has joined #scheme 15:43:59 drdo [~user@194.210.228.119] has joined #scheme 15:45:57 BW^-: it says "TODO" for me 15:46:15 leppie [~lolcow@196-215-20-67.dynamic.isadsl.co.za] has joined #scheme 15:46:18 steven_t: ah. check some sourcecode in the examples/ directory 15:46:52 ooooh 15:46:56 http://smallnum.blogspot.com/2007/08/yay-for-simplicity-gambits-namespacing.html is nice too 15:46:59 go to google and search for namespaces site:[the url of gambit's ml archives] 15:47:04 very well. 15:47:08 best of luck. 15:47:51 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 15:48:54 Looks a lot how Chicken works internally 15:52:44 thanks 15:54:07 any of you use vim to edit scheme 15:54:08 ? 15:54:24 im trying to find a simple plugin that lets me indent my scheme code correctly within vim 15:56:42 pdelgallego [~pdelgalle@1503031474.dhcp.dbnet.dk] has joined #scheme 15:56:49 I used to write scheme in vim but it was painful enough that I actually learned emacs enough to write scheme in emacs 15:57:07 as such, my suggestion must be ':!emacs' 15:57:41 -!- BW^- [~Miranda@92.81.190.77] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 15:58:12 -!- acarrico [~acarrico@pppoe-68-142-40-104.gmavt.net] has quit [Quit: Leaving.] 16:00:53 i think i remember the basics enough, let me see 16:01:28 steven_t: http://wiki.call-cc.org/vim might be helpful 16:01:31 -!- pygospa [~pygospa@217.191.193.205] has quit [Disconnected by services] 16:01:32 bweaver [~user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has joined #scheme 16:01:35 thanks 16:01:41 TheRealPygo [~pygospa@217.191.195.33] has joined #scheme 16:08:09 -!- Leonidas_ is now known as Leonidas 16:09:26 yosafbridge [~yosafbrid@li14-39.members.linode.com] has joined #scheme 16:19:05 pavelludiq [~quassel@91.139.193.72] has joined #scheme 16:28:45 -!- TheRealPygo is now known as pygospa 16:28:52 rapacity [~prwg@unaffiliated/rapacity] has joined #scheme 16:35:48 sadness 16:44:40 hey guys 16:44:52 is there a common way to get the command line arguments from a scheme script? 16:45:14 steven_t: depends on the implementation 16:45:15 oh.. (command-line) 16:45:19 in gambit anyway 16:45:20 :) 16:47:07 daaaang 16:47:13 i cant pass command line arguments to it :( 16:48:07 steven_t: how exactly are you trying it? 16:48:43 im trying to run `gsi myscript.scm arg1 arg2` and im trying to access it via (command-line) which is a valid array 16:48:57 but gsi keeps trying to load arg1 and arg2 as if they are also scheme files! 16:48:58 :'( 16:49:11 -!- chittoor [~chittoor@listertech.in] has quit [Quit: Leaving] 16:51:05 Read 'Scheme scripts' section in gambit manual. 16:53:18 thanks :) 16:53:18 <3 16:54:27 steven_t: didn't you use racket this morning? 16:56:47 rudybot [~luser@2001:470:1:41:a800:ff:fe3e:cde7] has joined #scheme 16:57:46 vu3rdd [~vu3rdd@122.167.85.146] has joined #scheme 17:01:59 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Quit: Leaving] 17:03:12 nah 17:04:10 oh sorry, I misread you then. 17:04:41 ok :) 17:13:03 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 245 seconds] 17:14:39 -!- ASau [~user@89-178-188-64.broadband.corbina.ru] has quit [Remote host closed the connection] 17:15:38 ASau [~user@89-178-188-64.broadband.corbina.ru] has joined #scheme 17:24:35 -!- jao [~user@80.24.4.74] has quit [Ping timeout: 260 seconds] 17:33:22 -!- pavelludiq [~quassel@91.139.193.72] has quit [Remote host closed the connection] 17:33:44 pnkfelix [~Adium@c-24-147-116-20.hsd1.ct.comcast.net] has joined #scheme 17:33:44 -!- pnkfelix [~Adium@c-24-147-116-20.hsd1.ct.comcast.net] has quit [Client Quit] 17:35:52 -!- gravicappa [~gravicapp@80.90.116.82] has quit [Ping timeout: 240 seconds] 17:39:39 -!- githogori [~githogori@adsl-66-123-22-146.dsl.snfc21.pacbell.net] has quit [Remote host closed the connection] 17:40:28 pavelludiq [~quassel@91.139.193.72] has joined #scheme 17:42:46 -!- masm [~masm@bl19-135-179.dsl.telepac.pt] has quit [Quit: Leaving.] 17:43:25 -!- pdelgallego [~pdelgalle@1503031474.dhcp.dbnet.dk] has quit [Ping timeout: 255 seconds] 17:58:27 -!- dfkjjkfd [~paulh@145.120.22.32] has quit [Quit: Lost terminal] 18:03:05 Caleb-- [thedude@bzq-79-179-36-197.red.bezeqint.net] has joined #scheme 18:04:24 -!- nilg [~user@85.239.138.109] has quit [Read error: Connection reset by peer] 18:07:12 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 18:10:16 -!- decaf [~mehmet@88.232.73.27] has quit [Read error: Connection reset by peer] 18:15:27 pnkfelix [~Adium@c-24-147-116-20.hsd1.ct.comcast.net] has joined #scheme 18:16:45 -!- pnkfelix [~Adium@c-24-147-116-20.hsd1.ct.comcast.net] has quit [Client Quit] 18:16:54 kenjin2201 [~kenjin@61.99.46.4] has joined #scheme 18:17:09 -!- kenjin2201 [~kenjin@61.99.46.4] has quit [Read error: Connection reset by peer] 18:20:28 -!- pavelludiq [~quassel@91.139.193.72] has quit [Remote host closed the connection] 18:20:29 kenjin2201 [~kenjin@61.99.46.4] has joined #scheme 18:26:47 -!- vu3rdd [~vu3rdd@122.167.85.146] has quit [Remote host closed the connection] 18:28:28 aoh [~aki@80.75.102.51] has joined #scheme 18:30:42 uhh 18:30:46 guys 18:30:55 is there a way to return a value from a function right away in scheme? 18:31:05 (without waiting for the last expression of the body of the function to be evaluated) 18:31:33 decaf [~mehmet@88.232.62.18] has joined #scheme 18:32:35 steven_t, you can use continuations for that 18:32:39 crraaaaaap 18:32:41 but probably you don't need to 18:32:48 I think that's a sign that you're "doing it wrong", do you want to paste your code? 18:32:58 hmm, i think i can avoid it, yeah 18:33:06 femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #scheme 18:33:07 (define (f x) (if (should-i-return-early?) 7 (begin long-computation ...))) 18:33:21 i have an infinite loop.. but at the end of the loop, if one condition is true, it returns x, if another is true, it returns y, otherwise it starts the loop over 18:33:30 so im pretty sure i can just avoid that with (loop) 18:34:03 (define (loop x y) (cond [condition1 x] [condition2 y] [else (loop x y)])) 18:34:45 right on 18:34:48 whats the [] for though? 18:34:51 i never saw that 18:35:03 those are the same as () 18:35:09 really? 18:35:16 whoa. 18:35:25 well, if you're using a scheme that has the latest Scheme standard 18:35:30 The square brackets are there to throw you off. 18:35:31 They mean exactly the same thing as round brackets. 18:35:40 nice 18:35:58 jonrafkind [~jon@crystalis.cs.utah.edu] has joined #scheme 18:36:01 Riastradh: did you get my email? 18:36:06 they're useful to clarify that [condition1 x] is not a function call 18:37:38 oh ok 18:37:39 I did, copumpkin. What I haven't done is to act upon it. 18:37:50 how can it work if its not a function call though, samth? 18:38:18 I am very busily pretending to work now, so I can't act on it at the moment. 18:38:24 Riastradh: that's fine, just wanted to make sure I got the right address :) 18:38:43 steven_t, that's part of the syntax of `cond' 18:38:53 oh. macro 18:41:44 -!- copumpkin is now known as samwell 18:44:15 pdelgallego [~pdelgalle@1503031474.dhcp.dbnet.dk] has joined #scheme 18:44:23 -!- samwell is now known as copumpkin 18:49:33 jao [~user@229.Red-83-32-170.dynamicIP.rima-tde.net] has joined #scheme 18:51:38 gravicappa [~gravicapp@ppp91-78-231-171.pppoe.mtu-net.ru] has joined #scheme 18:58:17 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 255 seconds] 19:00:34 kar8nga [~kar8nga@78.104.80.121] has joined #scheme 19:03:06 preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #scheme 19:07:07 -!- drdo [~user@194.210.228.119] has quit [Ping timeout: 240 seconds] 19:09:41 -!- wuj [~wuj@pool-74-108-177-147.nycmny.east.verizon.net] has quit [Ping timeout: 265 seconds] 19:13:26 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Quit: Leaving] 19:25:57 choas [~lars@p578F6765.dip.t-dialin.net] has joined #scheme 19:27:52 -!- MichaelRaskin [~MichaelRa@195.178.216.22] has quit [Remote host closed the connection] 19:27:52 -!- gravicappa [~gravicapp@ppp91-78-231-171.pppoe.mtu-net.ru] has quit [Ping timeout: 272 seconds] 19:38:44 pnkfelix [~Adium@c-24-147-116-20.hsd1.ct.comcast.net] has joined #scheme 19:40:24 gravicappa [~gravicapp@91.78.231.171] has joined #scheme 19:40:56 githogori [~githogori@163.sub-75-210-106.myvzw.com] has joined #scheme 20:00:33 pavelludiq [~quassel@83.222.167.236] has joined #scheme 20:02:37 -!- pnkfelix [~Adium@c-24-147-116-20.hsd1.ct.comcast.net] has quit [Quit: Leaving.] 20:05:04 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 20:11:51 Mohamdu [~Mohamdu@CPE00222d6b3798-CM00222d6b3795.cpe.net.cable.rogers.com] has joined #scheme 20:16:01 -!- pdelgallego [~pdelgalle@1503031474.dhcp.dbnet.dk] has quit [Ping timeout: 252 seconds] 20:17:49 -!- kenjin2201 [~kenjin@61.99.46.4] has quit [Ping timeout: 250 seconds] 20:18:17 -!- Mohamdu [~Mohamdu@CPE00222d6b3798-CM00222d6b3795.cpe.net.cable.rogers.com] has quit [Changing host] 20:18:18 Mohamdu [~Mohamdu@unaffiliated/mohamdu] has joined #scheme 20:18:32 eli: Agree. (Re Emacs being good for big hands.) I'm not opposed to it, I just have to learn it. 20:21:51 guys 20:22:12 is there a common scheme way to generate a sequence of numbers? 20:22:15 like 0..8? 20:22:35 in a list? 20:22:42 steven_t: srfi-1 has iota 20:22:48 for that particular case 20:22:48 I think that there's `iota', which is in SRFI1, damn too slow :P 20:23:00 heh 20:23:15 also list-tabulate 20:23:47 and then there is srfi-42 20:24:06 steven_t <- too much C for today. 20:24:11 %] 20:24:29 iota 20:24:31 oops 20:24:41 :'( 20:24:48 why did i have to pick the worse scheme 20:24:50 impl 20:25:03 Which one? 20:25:11 you are free to switch anytime ;-) 20:26:13 but yes, what is the worst Scheme du jour? 20:26:32 i picked gambit 20:26:44 schmir [~schmir@p54A9192B.dip0.t-ipconnect.de] has joined #scheme 20:26:48 its mostly good and has mostly good documentation 20:26:58 but there are a few spots where it just seems to have a big black hole 20:27:05 There is srfi-1 for gambit, you can find a link on 'dumping grounds' section on its site. 20:27:07 like, how do you mutate a list? 20:27:25 isn't there a package system for Gambit called blackhole? .-) 20:27:56 steven_t: if you need better quality documentation, maybe give Racket a try (although that is not *really* a Scheme :-)) 20:28:10 or Guile? 20:28:12 thats the thing, i need a full lisp 20:28:21 i was using Nu before but its not *really* lisp 20:28:23 well, a Lisp it is 20:28:32 I don't know Nu 20:28:57 i was looking for one with the least bells and whistles, but at least having the basics for a stdlib for such things like string manipulation, hashes/tables, etc 20:29:02 gambit mostly works 20:29:19 i was also looking for one thats really trivial and easy to install on OS X, since i need to share this project when im done 20:29:27 You want one with the least bells and whistles but the most features? :P 20:29:42 no, when i say bells and whistles i mean things like namespaces, an object system, etc 20:29:48 things that arent really foundational 20:31:50 Heh. That's a subjective concept if ever there were any. 20:31:56 Mutating lists doesn't seem foundational to me, but I'm sure that Gambit has set-car! and set-cdr!, doesn't it? 20:32:04 franki^++ 20:32:13 so it does 20:32:21 though i was hoping for someting like list-set! 20:32:25 much like there is a table-set! 20:34:05 steven_t: Composing list-ref with set-car! isn't good enough for you? :-P 20:34:17 i dont know man i dont know 20:34:25 im just so frustrated im almost in tears 20:34:42 steven_t: have you tried vectors for your use-case? 20:34:48 also, what *is* your use 20:34:49 =? 20:34:57 i dont even know 20:35:00 im so overwhelmed 20:35:01 i.e. why do you think you need list-set!? 20:35:30 steven_t: I think, before you start writing programs, try to read some Scheme code written by seasoned Schemers. And understand it, as much as you can. 20:35:37 steven_t: You'll probably find it much less frustrating that way. 20:35:48 wingo [~wingo@219.Red-88-0-167.dynamicIP.rima-tde.net] has joined #scheme 20:36:00 steven_t: also try SICP maybe 20:36:03 steven_t: Diving in head-first could...cause drowning (to take the analogy too far). 20:36:13 i think the problem isnt that 20:36:25 i have too many requirements 20:36:37 Axsuul [~someone@97-93-99-133.static.mtpk.ca.charter.com] has joined #scheme 20:36:52 i want a lisp thats simple to install, has a command line interpreter, has certain features but not others, etc 20:36:57 i think maybe i should just use Nu 20:37:02 evening 20:37:06 *steven_t* sobs 20:37:09 steven_t: You should use whatever works for you. Why so many requirements? 20:37:17 wingo: Heya! 20:37:53 steven_t: Also, "plan to throw one away; you will, anyway" (I may have misquoted; apologies in advance). 20:37:56 steven_t: well the first two properties should be true for almost any 20:39:24 steven_t: which Scheme systems are available through your package manager? maybe that's a starting point 20:39:51 DerGuteMoritz: I think he's on OS X 20:39:53 steven_t: You say you're on OSX, eh? Racket has good support for OSX, from what I hear. 20:41:09 aren't there macports and homebrew and things like that? 20:42:10 WTF is "Nu"? 20:42:20 http://en.wikipedia.org/wiki/Nu_%28programming_language%29 20:42:35 Some OS X scripting language influenced by Lisp 20:42:45 As well as Obj-C and Ruby, according to Wikipeda 20:43:39 does OS X come with a JVM? maybe Kawa or SISC are options 20:44:23 pdelgallego [~pdelgalle@1503031474.dhcp.dbnet.dk] has joined #scheme 20:45:44 ah but I know it comes with Ruby, you could use BusScheme! :-D 20:46:02 unless performance is not a concern 20:46:03 err 20:46:05 is a concern 20:51:26 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 20:51:49 wbooze` [~user@xdsl-87-79-181-39.netcologne.de] has joined #scheme 20:52:04 homie` [~user@xdsl-87-79-181-39.netcologne.de] has joined #scheme 20:53:40 etate [~meta@5e0427ef.bb.sky.com] has joined #scheme 20:54:16 hello, i was wondering whether it was a BadIdea to use stream-position to backtrack on a token whilst lexing an input-port? 20:54:18 -!- homie [~user@xdsl-87-79-190-239.netcologne.de] has quit [Ping timeout: 245 seconds] 20:54:25 masm [~masm@bl19-135-179.dsl.telepac.pt] has joined #scheme 20:54:31 -!- wbooze [~user@xdsl-87-79-190-239.netcologne.de] has quit [Ping timeout: 252 seconds] 20:55:20 reasoning: almost all docs about streams say you can only go forward and never back 20:58:56 -!- MrFahrenheit [~RageOfTho@users-55-133.vinet.ba] has quit [Read error: Connection reset by peer] 20:59:17 MrFahrenheit [~RageOfTho@users-55-133.vinet.ba] has joined #scheme 21:00:28 -!- HG` [~HG@xdsl-92-252-126-135.dip.osnanet.de] has quit [Quit: Leaving.] 21:04:44 steven_t: Racket provides all of your requirements (the ones that I see, at least), except for "the least bells and whistles" -- it does have plenty of those, including an object system and namespaces. 21:05:09 (And I don't know what you'd consider "foundational", but some of these features are very much so.) 21:07:30 eli: thanks 21:07:32 thanks guys 21:18:21 -!- Caleb-- [thedude@bzq-79-179-36-197.red.bezeqint.net] has quit [] 21:20:41 alexsuraci [~alex@pool-71-188-133-67.aubnin.fios.verizon.net] has joined #scheme 21:25:37 -!- homie` [~user@xdsl-87-79-181-39.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 21:25:42 -!- wbooze` [~user@xdsl-87-79-181-39.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 21:30:27 -!- etate [~meta@5e0427ef.bb.sky.com] has quit [Quit: Leaving] 21:33:45 homie [~user@xdsl-87-79-181-39.netcologne.de] has joined #scheme 21:35:06 wbooze [~user@xdsl-87-79-181-39.netcologne.de] has joined #scheme 21:50:43 -!- EbiDK [~ebi@3e6b7ac3.rev.stofanet.dk] has quit [Quit: Ex-Chat] 21:58:04 -!- kar8nga [~kar8nga@78.104.80.121] has quit [Remote host closed the connection] 22:08:02 -!- aoh [~aki@80.75.102.51] has quit [Ping timeout: 265 seconds] 22:08:22 DrDuck [~duck@146.229.117.222] has joined #scheme 22:08:28 -!- schmir [~schmir@p54A9192B.dip0.t-ipconnect.de] has quit [Ping timeout: 255 seconds] 22:14:23 -!- Axsuul [~someone@97-93-99-133.static.mtpk.ca.charter.com] has quit [Ping timeout: 250 seconds] 22:16:01 aoh [~aki@80.75.102.51] has joined #scheme 22:19:18 -!- wingo [~wingo@219.Red-88-0-167.dynamicIP.rima-tde.net] has quit [Ping timeout: 245 seconds] 22:19:50 -!- dzhus [~sphinx@93-80-232-228.broadband.corbina.ru] has quit [Ping timeout: 264 seconds] 22:22:41 schmir [~schmir@p54A919C0.dip0.t-ipconnect.de] has joined #scheme 22:25:51 drdo [~user@2.208.54.77.rev.vodafone.pt] has joined #scheme 22:27:15 -!- askhader [~askhader@taurine.csclub.uwaterloo.ca] has quit [Quit: leaving] 22:31:04 Caleb-- [thedude@bzq-79-179-36-197.red.bezeqint.net] has joined #scheme 22:32:02 -!- DrDuck [~duck@146.229.117.222] has quit [Ping timeout: 276 seconds] 22:35:32 DrDuck [~duck@146.229.117.222] has joined #scheme 22:38:02 HG` [~HG@xdsl-92-252-126-135.dip.osnanet.de] has joined #scheme 22:47:42 jimrees_ [~jimrees@ita4fw1.itasoftware.com] has joined #scheme 22:48:34 emma [~em@unaffiliated/emma] has joined #scheme 23:01:31 -!- bweaver [~user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:02:34 -!- schmir [~schmir@p54A919C0.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 23:03:47 mejja [~chatzilla@c-5bb9e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 23:07:20 -!- gravicappa [~gravicapp@91.78.231.171] has quit [Remote host closed the connection] 23:19:03 mejja, so, anything broken lately? 23:19:45 what's new? 23:20:25 Floating-point environment cruft, and some other things. 23:23:58 I might add support for flushing subnormal results to zero or treating subnormal operands as zero, too, for machines that support them. 23:26:00 ok 23:29:45 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 23:36:50 -!- DrDuck [~duck@146.229.117.222] has quit [Ping timeout: 255 seconds] 23:47:57 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 23:48:23 -!- Mohamdu [~Mohamdu@unaffiliated/mohamdu] has quit [Ping timeout: 255 seconds] 23:51:06 Mohamdu [~Mohamdu@74.112.44.159] has joined #scheme 23:52:07 Michael_Mohamed [~Mohamdu@74.112.44.160] has joined #scheme 23:56:11 -!- Mohamdu [~Mohamdu@74.112.44.159] has quit [Ping timeout: 255 seconds]