00:01:02 -!- Fare [fare@nat/google/x-jfxgibowwjfjaeid] has quit [Ping timeout: 240 seconds] 00:01:22 -!- annodomini [~lambda@wikipedia/lambda] has quit [Quit: annodomini] 00:02:49 -!- kniu [~kniu@c-67-160-8-163.hsd1.wa.comcast.net] has quit [Quit: Leaving] 00:05:53 -!- tupi [~user@139.82.89.157] has quit [Remote host closed the connection] 00:10:19 -!- Ripp__ [~textual@c-67-180-16-120.hsd1.ca.comcast.net] has quit [] 00:12:59 Ripp__ [~textual@c-67-180-16-120.hsd1.ca.comcast.net] has joined #scheme 00:28:46 -!- miloshadzic [~miloshadz@213.137.123.235] has quit [Quit: Quit] 00:39:40 pumpkin360 [~main@agim88.neoplus.adsl.tpnet.pl] has joined #scheme 00:40:06 *hello* 00:40:15 rudybot: (write hello) 00:40:16 pumpkin360: your sandbox is ready 00:40:16 pumpkin360: error: hello: undefined; cannot reference an identifier before its definition in module: 'program 00:40:21 rudybot: (write 'hello) 00:40:21 pumpkin360: ; stdout: "hello" 00:40:38 rudybot: give 00:40:38 pumpkin360: expecting: give ... 00:40:43 rudybot: help give 00:40:44 pumpkin360: give ...: evaluate and give someone the result 00:41:02 rudybot: (give ijp 'hello) 00:41:03 pumpkin360: error: give: undefined; cannot reference an identifier before its definition in module: 'program 00:41:24 give ijp 'hello 00:42:00 rudybot: give ijp 'hello 00:42:00 ijp: pumpkin360 has given you a value, say "rudybot: eval (GRAB)" to get it (case sensitive) 00:45:28 -!- pumpkin360 [~main@agim88.neoplus.adsl.tpnet.pl] has quit [Quit: WeeChat 0.4.1] 00:46:55 -!- lazyden [~lazyden@58.185.121.38] has quit [Quit: lazyden] 00:57:40 lazyden [~lazyden@58.185.121.38] has joined #scheme 00:58:13 -!- Ripp__ [~textual@c-67-180-16-120.hsd1.ca.comcast.net] has quit [] 00:59:30 lazyden_ [~lazyden@58.185.121.38] has joined #scheme 00:59:30 -!- lazyden [~lazyden@58.185.121.38] has quit [Read error: Connection reset by peer] 00:59:31 -!- lazyden_ is now known as lazyden 01:00:25 teleScope [~cong@111.222.112.61] has joined #scheme 01:01:18 -!- agumonkey [~agu@147.158.70.86.rev.sfr.net] has quit [Ping timeout: 264 seconds] 01:08:28 -!- bjz_ [~brendanza@125.253.99.68] has quit [Ping timeout: 245 seconds] 01:08:37 bjz [~brendanza@125.253.99.68] has joined #scheme 01:12:51 ashp [~blah@198.199.73.46] has joined #scheme 01:13:19 Hey guys, I realize this is probably the dumbest question of the day but http://pastebin.com/A6PRxfVW - why does this fail so badly when the (> a b) fails. 01:13:40 From what I read it should just not be true and then default to b, but instead it blows up 01:13:40 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Ping timeout: 256 seconds] 01:13:45 i'm obviously missing something crazy fundemental 01:14:07 If `a' is a number, then `(a)' doesn't make sense -- you're asking Scheme to apply `a' as if it were a procedure, but it's not, because it's a number. 01:14:53 Ohhh, I see, the example I stole the syntax from was doing something else with a, just a misunderstanding of how the syntax applies 01:15:09 that makes more sense, thanks, I think it was in the form of: if (thing) (true) false 01:15:16 (thought it was in the form of) 01:15:40 The form is (if condition consequent alternative). Any parentheses in the parts are just that -- in the parts, not in the IF itself. 01:16:04 makes total sense as soon as you explained what was going on, as you can tell I'm still getting used to the whole parens thing. :) 01:16:51 i'll stick around as I will probably have other throw up my hands questions. I'm giving SICP a while and doing the exercises bit by bit. 01:17:28 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 01:22:40 -!- tenq is now known as tenq|away 01:23:43 jcowan [~John@mail.digitalkingdom.org] has joined #scheme 01:30:06 sethalves [~user@headache.hungry.com] has joined #scheme 01:34:11 ho hey ho 01:34:32 -!- tenq|away is now known as tenq 01:48:08 SrPx_ [b12891b8@gateway/web/freenode/ip.177.40.145.184] has joined #scheme 01:48:15 Is there any reliable/fast Scheme->JavasScript already? 01:49:36 reliable? fast? dunno, but there are like a hundred of them 01:50:07 Yea, I was looking that: http://ceaude.twoticketsplease.de/js-lisps.html - but I'd like to know which one to use other than downloading all them and benchmarking :~ 01:51:48 Yang_ [~Yang@60.191.2.238] has joined #scheme 01:53:17 -!- tylergoza [~tylergoza@72.29.34.246] has quit [Quit: Leaving] 01:55:03 nisstyre [~yours@oftn/member/Nisstyre] has joined #scheme 01:59:15 -!- bjz [~brendanza@125.253.99.68] has quit [Read error: Connection reset by peer] 02:00:01 bjz [~brendanza@125.253.99.68] has joined #scheme 02:00:54 -!- bjz [~brendanza@125.253.99.68] has quit [Read error: Connection reset by peer] 02:02:30 SrPx_: I'd advise at least looking at Spock, given how fast Chicken is. 02:05:00 Ripp__ [~textual@c-67-180-16-120.hsd1.ca.comcast.net] has joined #scheme 02:08:32 I didn't like the code it produced, but I'm benchmarking it right now to get a more mature opinion 02:13:29 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 240 seconds] 02:17:09 Chaos`Eternal [~chaos@112.64.189.147] has joined #scheme 02:29:43 joneshf-laptop [~joneshf@c-98-208-36-36.hsd1.ca.comcast.net] has joined #scheme 02:36:40 -!- yacks [~py@103.6.159.103] has quit [Ping timeout: 245 seconds] 02:51:13 -!- pnkfelix [~Adium@bas75-2-88-170-201-21.fbx.proxad.net] has quit [Quit: Leaving.] 02:52:01 Oh I've misunderstood SPOCK. It is actually pretty good. 03:00:08 yacks [~py@103.6.159.103] has joined #scheme 03:02:56 -!- Ripp__ [~textual@c-67-180-16-120.hsd1.ca.comcast.net] has quit [] 03:07:47 preflex_ [~preflex@unaffiliated/mauke/bot/preflex] has joined #scheme 03:08:02 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 264 seconds] 03:08:31 -!- preflex_ is now known as preflex 03:18:49 -!- yacks [~py@103.6.159.103] has quit [Quit: Leaving] 03:19:49 How do I convert a function into a string? 03:21:07 A function, SrPx_, or a procedure? 03:23:13 A procedure.. 03:23:30 I don't know the difference 03:24:16 well, basically, you don't. Maybe your compiler has a way to serialise them, but probably not 03:24:27 SrPx_, a function is a mathematical term with a strict definition. You can turn it into a string in many, many ways. A procedure, in this channel, is a Scheme concept, with another specific definition, but one different from the mathematical one. 03:25:00 -!- davexunit [~user@c-71-232-35-199.hsd1.ma.comcast.net] has quit [Quit: Later] 03:25:15 (define a (lambda (a) (+ a 1)) -> can I recover the form (lambda (a) (+ a 1)) from a?) 03:25:19 SrPx_, one of the guarantees that Scheme-the-language-specification provides is that procedure definitions are opaque. You can't look inside them in any way defined by the specification because that is where the implementation lives, and on the other side of that boundary said implementation can do whatever it likes. 03:25:41 SrPx_: as a rule, no 03:25:51 SrPx_, not within the bounds of the Scheme language, no. Some implementations may provide you mechanisms for looking inside the specifics of what that implementation does, but that's not Scheme anymore. 03:25:54 ijp, gnomon okay 03:27:12 SrPx_, that said, what are you trying to do? 03:27:19 you could, e.g. write a macro that both defined the procedure, and added it to a map. with procedures for keys, and quoted bodies for values 03:27:38 gnomon: nothing specific, just testing how far spock goes 03:28:16 but that wouldn't help you with e.g. the values of free variables 03:29:26 I fondly remember that LispMe had a neat little "decompile this procedure and show me the SECD bytecode string" facility, but that implementation was hardly Scheme even in those ways it tried to be. 03:29:30 *gnomon* sighs wistfully 03:31:37 gnomon: why? 03:31:45 Well guys looks like Spock doesn't have eval 03:35:27 SrPx_, because ever since the industry passed by the PalmOS platform and all those of its ilk, I have had to content myself with devices more expensive and capable but with a leaner feature set; ones on which the predecessors were an improvement. No programming environment on a modern device even attempts to do what LispMe did. 03:36:03 I... don't have an idea... 03:36:19 Ripp__ [~textual@c-76-21-7-143.hsd1.ca.comcast.net] has joined #scheme 03:36:39 It's not nostalgia for PalmOS that afflicts me, it's nostalgia for the idea that the computers in our pockets should serve the people carrying those pockets, rather than the telephone carriers, the device manufacturers, the OS makers, and so on. 03:38:13 Even more so, it's that when I express dissatisfaction with the current state, most users - even programmers! - seem to think that what's been lost is a very small thing, if they even acknowledge the loss at all. 03:38:52 Bah. Humbug. 03:38:57 I don't get what's been lost 03:39:00 *gnomon* stomps off to sip scotch on the balcony 03:39:06 -!- scoofy [~scoofy@catv-89-135-71-167.catv.broadband.hu] has quit [Ping timeout: 264 seconds] 03:46:23 -!- MichaelRaskin [~MichaelRa@195.91.224.161] has quit [Quit: MichaelRaskin] 03:46:49 :( 03:47:24 is there a list of scheme functions/macros? 03:47:38 how many of them are defined by r5rs 03:56:10 Fare [~fare@cpe-69-203-115-132.nyc.res.rr.com] has joined #scheme 03:56:40 -!- joneshf-laptop [~joneshf@c-98-208-36-36.hsd1.ca.comcast.net] has quit [Ping timeout: 245 seconds] 04:05:16 -!- jao [~jao@pdpc/supporter/professional/jao] has quit [Ping timeout: 264 seconds] 04:07:35 -!- ijp [~user@host86-141-181-235.range86-141.btcentralplus.com] has quit [Quit: The garbage collector got me] 04:08:02 stomping is more likely to be followed by glugging, than by sipping 04:08:04 just sayin' 04:20:45 adiii [~adityavit@c-50-136-206-60.hsd1.ca.comcast.net] has joined #scheme 04:21:12 -!- Chaos`Eternal [~chaos@112.64.189.147] has quit [Read error: Connection reset by peer] 04:21:14 peterhil [~peterhil@dsl-hkibrasgw3-58c02e-96.dhcp.inet.fi] has joined #scheme 04:28:07 -!- oleo [~oleo@xdsl-78-35-156-65.netcologne.de] has quit [Read error: Operation timed out] 04:32:05 -!- vraid [~vraid@c80-216-227-77.bredband.comhem.se] has quit [Ping timeout: 245 seconds] 04:41:09 -!- kobain [~sambio@unaffiliated/kobain] has quit [] 04:42:53 oleo [~oleo@xdsl-84-44-153-201.netcologne.de] has joined #scheme 04:52:10 -!- jcowan [~John@mail.digitalkingdom.org] has quit [Quit: Leaving] 04:58:41 -!- strmpnk [strmpnk@gateway/shell/ircrelay.com/x-wtzynwldnssjwqxp] has left #scheme 05:03:40 joneshf-laptop [~joneshf@98.208.36.36] has joined #scheme 05:07:54 -!- Fare [~fare@cpe-69-203-115-132.nyc.res.rr.com] has quit [Ping timeout: 264 seconds] 05:10:35 -!- Guest63395 is now known as Kabaka 05:13:56 -!- fridim__ [~fridim@bas2-montreal07-2925317373.dsl.bell.ca] has quit [Read error: Operation timed out] 05:16:43 -!- SrPx_ [b12891b8@gateway/web/freenode/ip.177.40.145.184] has quit [Ping timeout: 250 seconds] 05:23:08 -!- ivan\ [~ivan@unaffiliated/ivan/x-000001] has quit [Ping timeout: 256 seconds] 05:26:18 ivan\ [~ivan@unaffiliated/ivan/x-000001] has joined #scheme 05:27:26 -!- aeth [~Michael@wesnoth/umc-dev/developer/aethaeryn] has quit [Ping timeout: 240 seconds] 05:28:38 -!- joneshf-laptop [~joneshf@98.208.36.36] has quit [Ping timeout: 268 seconds] 05:31:59 SrPx [b12891b8@gateway/web/freenode/ip.177.40.145.184] has joined #scheme 05:32:33 Hey guys, while scheme is a very small language, I know many functions on it could be defined from other functions... so what is the minimal subset of scheme that is actually necessary? 05:34:00 -!- MrFahrenheit [~RageOfTho@77.221.25.95] has quit [Read error: Operation timed out] 05:34:48 It's not quite minimal technically speaking, but you could get an approximation by taking the standard (say, R5RS) and then removing all items that are titled "library syntax" or "library procedure". 05:35:48 (That will still leave things like '+' you could define in terms of '-', and so on.) 05:36:37 fizzie: I'd have difficulty doing so because the document doesn't have a list of functions, but is instead divided in the topics such as "numbers"... or does it? 05:38:08 There is an "Alphabetic Index of Definitions of Concepts, Keywords, and Procedures" at the end -- though it doesn't contain the "library foo" annotations, so some clicking would be involved. 05:39:58 Thanks! 05:40:54 Chaos`Eternal [~chaos@112.64.189.189] has joined #scheme 05:41:31 joneshf-laptop [~joneshf@c-98-208-36-36.hsd1.ca.comcast.net] has joined #scheme 05:55:42 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 05:56:14 aeth [~Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #scheme 06:02:51 eff_ [~quassel@123.118.173.167] has joined #scheme 06:03:19 cpach [~cpach@h125n2-veo-a11.ias.bredband.telia.com] has joined #scheme 06:03:38 joneshf-laptop_ [~joneshf@c-98-208-36-36.hsd1.ca.comcast.net] has joined #scheme 06:05:08 danking_ [~danking@192.81.214.176] has joined #scheme 06:06:20 lazyden_ [~lazyden@58.185.121.38] has joined #scheme 06:09:06 -!- joneshf-laptop [~joneshf@c-98-208-36-36.hsd1.ca.comcast.net] has quit [*.net *.split] 06:09:06 -!- lazyden [~lazyden@58.185.121.38] has quit [*.net *.split] 06:09:06 -!- effy [~quassel@123.118.173.167] has quit [*.net *.split] 06:09:06 -!- gabot [~eli@racket/bot/gabot] has quit [*.net *.split] 06:09:06 -!- cpach_ [~cpach@h125n2-veo-a11.ias.bredband.telia.com] has quit [*.net *.split] 06:09:06 -!- danking [~danking@192.81.214.176] has quit [*.net *.split] 06:09:06 -!- Razz [~tim@kompiler.org] has quit [*.net *.split] 06:09:06 -!- Kabaka [~Kabaka@botters/kabaka] has quit [*.net *.split] 06:09:47 -!- lazyden_ is now known as lazyden 06:10:36 Razz [~tim@kompiler.org] has joined #scheme 06:12:05 gabot [~eli@racket/bot/gabot] has joined #scheme 06:13:25 noobboob_ [uid5587@gateway/web/irccloud.com/session] has joined #scheme 06:14:26 SirDayBa1 [holttan1@gateway/shell/tkk.fi/session] has joined #scheme 06:14:26 tsuyoshi_ [~tsuyoshi@hikaru.yumegakanau.org] has joined #scheme 06:19:40 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 245 seconds]