00:00:13 -!- evillyEvil [~evillyEvi@unaffiliated/evillyevil] has left #scheme 00:06:10 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 00:14:13 -!- snits [~snits@inet-hqmc05-o.oracle.com] has quit [Remote host closed the connection] 00:19:56 snits [~snits@inet-hqmc09-o.oracle.com] has joined #scheme 00:20:53 confab [~confab@086.112-30-64.ftth.swbr.surewest.net] has joined #scheme 00:25:55 AntelopeSalad [~AntelopeS@ool-43543e72.dyn.optonline.net] has joined #scheme 00:27:39 hello, i just started the sicp lectures/book and am wondering if there's a scheme interpreter that supports paren matching and auto-indentation 00:28:12 it's funny how the video from 1985 has an interpreter that seems to be more advanced the current mit-scheme one (which doesn't seem to support that) 00:30:39 -!- snits [~snits@inet-hqmc09-o.oracle.com] has quit [Remote host closed the connection] 00:32:30 AntelopeSalad: for paren matching and auto-indent I'd use emacs. 00:33:04 AntelopeSalad: it uses edwin, it still runs on mit-scheme: http://www.gnu.org/software/mit-scheme/documentation/mit-scheme-user/Edwin.html 00:33:04 http://tinyurl.com/yhbeo4v 00:33:06 was the professor using emacs in the lectures? 00:33:11 edwin is an emacs. 00:33:26 No he used edwin. edwin is written in scheme. emacs is written in C and in emacs lisp. 00:33:44 I mean, GNU emacs. 00:34:01 There are a lot of emacsen. 00:34:34 thanks 00:34:40 (one of) the author of EINE (Eine Is Not Emacs), Dan Weinreb just died. 00:35:02 Hemlock is a descendent of ZWEI (Zwei Was Emacs Initially). 00:35:13 But Hemlock is written in Common Lisp. 00:36:00 AntelopeSalad: would you guess in what the original emacs was written? 00:36:18 that's unfortunate, him and i seem to share a similar philosophy 00:36:22 Is there a system-monitor extension of some-sort? 00:36:50 pjb: probably some lisp dialect? 00:36:51 AntelopeSalad: yes, promize of life expectation increases are largely just that: promizes. 00:36:51 snits [~snits@inet-hqmc09-o.oracle.com] has joined #scheme 00:37:23 AntelopeSalad: not at all. It was written in TECO, an editor. Emacs = Editing MACroS. 00:37:33 It was some horrible line noise. :-) 00:37:48 http://www.emacswiki.org/emacs/TecoEmacs 00:37:54 i never touched emacs in my entire life 00:37:55 *youlysses* thinks he really expects GNU EMACS to be a near-complete DE of-sorts... XD 00:38:02 don't want to start today haha 00:38:41 -!- phao [phao@187.91.169.191] has quit [Quit: Not Here] 00:38:42 AntelopeSalad: Well I haven't either. Emacs has no real physical properties. :-) 00:39:05 DE? 00:39:27 No, not Death Experience. It's a Way of Life! 00:39:30 ,DE 00:40:04 Well that was disappointing... :-( I meant as a Desktop Enviroment. 00:40:11 AntelopeSalad: just fetch edwin on mit-scheme and you'll have the same (updated) environment as in sicp videos. 00:40:26 it's more than a Desktop Environment, it's a whole OS. 00:40:31 replore [~replore@FLH1Ahd118.kng.mesh.ad.jp] has joined #scheme 00:40:31 With utilities and applications. 00:41:33 pjb: seems like you can just run mit-scheme --edit 00:41:41 trying to figure out how to actually run the commands tho 00:43:32 pjb: Nah, a "whole OS" assumes it can run independly by itself... so maybe if it had a built-in kernel, then you could accuratley classify it as one. But a DE implies it's a system built on-top of an operating system, typically in this case a GNU based system. 00:43:49 *independtly 00:44:09 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Ping timeout: 244 seconds] 00:44:41 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 00:47:03 tejaswidp [~tejaswidp@117.192.131.75] has joined #scheme 00:55:13 ah, much better 00:55:44 trying to implement everything on 1 line was starting to get out of hand 00:56:54 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 252 seconds] 01:02:36 -!- replore [~replore@FLH1Ahd118.kng.mesh.ad.jp] has quit [Remote host closed the connection] 01:04:20 tuubow [~adityavit@c-69-136-105-164.hsd1.nj.comcast.net] has joined #scheme 01:07:18 tali713 [~user@64.196.22.19] has joined #scheme 01:08:12 b4283 [~b4283@114-47-5-148.dynamic.hinet.net] has joined #scheme 01:21:14 -!- tali713 [~user@64.196.22.19] has quit [Remote host closed the connection] 01:22:23 tali713 [~user@64.196.22.19] has joined #scheme 01:22:36 poindontcare [~user@173-228-88-191.dsl.dynamic.sonic.net] has joined #scheme 01:24:39 -!- tejaswidp [~tejaswidp@117.192.131.75] has quit [Ping timeout: 252 seconds] 01:27:09 -!- dmx` [~dmx@adsl-67-121-157-253.dsl.pltn13.pacbell.net] has quit [Remote host closed the connection] 01:37:24 tejaswidp [~tejaswidp@117.192.141.92] has joined #scheme 01:40:03 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 01:40:37 -!- jonrafkind [~jon@racket/jonrafkind] has quit [Ping timeout: 240 seconds] 01:45:29 -!- gffa [~unknown@unaffiliated/gffa] has quit [Quit: sleep] 02:04:25 -!- acarrico [~acarrico@pppoe-68-142-57-187.gmavt.net] has quit [Ping timeout: 246 seconds] 02:07:09 -!- poindontcare [~user@173-228-88-191.dsl.dynamic.sonic.net] has quit [Read error: Connection reset by peer] 02:10:55 youlysses: http://www.informatimago.com/linux/emacs-on-user-mode-linux.html 02:12:15 MacOSX has a Mach kernel, just like Darwin (and a few others), but you don't say that MacOSX is the same OS as Darwin. So the OS is not really characterised by it's kernel. Remember, it's not Linux, it's GNU/Linux. We're using actually the GNU OS, not the Linux OS. We're just using the Linux kernel, but we could use the GNU OS over some other kernel. 02:14:56 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 02:16:52 -!- tali713 [~user@64.196.22.19] has quit [Ping timeout: 248 seconds] 02:18:06 -!- cdidd [~cdidd@128-72-30-156.broadband.corbina.ru] has quit [Ping timeout: 264 seconds] 02:27:53 wtetzner [~wtetzner@c-24-218-217-69.hsd1.ma.comcast.net] has joined #scheme 02:40:51 tali713 [~user@64.196.22.19] has joined #scheme 02:41:09 replore_ [~replore@FLH1Ahd118.kng.mesh.ad.jp] has joined #scheme 02:42:56 -!- tali713 [~user@64.196.22.19] has quit [Remote host closed the connection] 02:44:26 tali713 [~user@64.196.22.19] has joined #scheme 02:49:50 -!- hash_table [~quassel@70-138-242-181.lightspeed.hstntx.sbcglobal.net] has quit [Ping timeout: 252 seconds] 02:55:50 -!- snits [~snits@inet-hqmc09-o.oracle.com] has quit [Remote host closed the connection] 02:57:15 -!- bzzbzz [~franco@modemcable216.122-57-74.mc.videotron.ca] has quit [Quit: leaving] 02:58:22 cdidd [~cdidd@128.72.105.96] has joined #scheme 03:00:11 -!- replore_ [~replore@FLH1Ahd118.kng.mesh.ad.jp] has quit [Remote host closed the connection] 03:01:49 snits [~snits@174-17-101-132.phnx.qwest.net] has joined #scheme 03:06:40 replore_ [~replore@FLH1Ahd118.kng.mesh.ad.jp] has joined #scheme 03:06:46 sethalves [~user@headache.hungry.com] has joined #scheme 03:08:04 -!- tali713 [~user@64.196.22.19] has quit [Ping timeout: 248 seconds] 03:23:52 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 255 seconds] 03:26:20 -!- replore_ [~replore@FLH1Ahd118.kng.mesh.ad.jp] has quit [Remote host closed the connection] 03:33:23 -!- sambio [~sam@190.57.227.107] has quit [Quit: Saliendo] 03:37:42 -!- sethalves is now known as sethAway 03:38:48 -!- offby1 [~user@pdpc/supporter/monthlybyte/offby1] has quit [Quit: rebootin'] 03:38:59 -!- rudybot [~luser@ec2-50-18-28-110.us-west-1.compute.amazonaws.com] has quit [Remote host closed the connection] 03:52:35 lewis1711 [~lewis@121-79-208-160.dsl.sta.inspire.net.nz] has joined #scheme 04:04:16 xwl` [~user@182.48.111.224] has joined #scheme 04:33:26 offby1 [~user@ec2-50-18-28-110.us-west-1.compute.amazonaws.com] has joined #scheme 04:33:30 -!- offby1 [~user@ec2-50-18-28-110.us-west-1.compute.amazonaws.com] has quit [Changing host] 04:33:30 offby1 [~user@pdpc/supporter/monthlybyte/offby1] has joined #scheme 04:50:53 jonrafkind [~jon@racket/jonrafkind] has joined #scheme 04:55:51 -!- xwl` [~user@182.48.111.224] has quit [Ping timeout: 245 seconds] 05:00:28 rudybot [~luser@ec2-50-18-28-110.us-west-1.compute.amazonaws.com] has joined #scheme 05:05:42 bhrgunatha [~chatzilla@1-168-67-244.dynamic.hinet.net] has joined #scheme 05:06:49 -!- bhrgunatha [~chatzilla@1-168-67-244.dynamic.hinet.net] has quit [Client Quit] 05:17:37 -!- youlysses [~user@75-132-17-145.dhcp.stls.mo.charter.com] has quit [Quit: Bed-time. o/] 05:18:52 -!- arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has quit [Read error: Connection reset by peer] 05:19:29 arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has joined #scheme 05:46:44 -!- sizz_ is now known as sizz 05:49:36 -!- turbofail [~user@38.99.37.210] has quit [Ping timeout: 245 seconds] 05:58:04 -!- snits [~snits@174-17-101-132.phnx.qwest.net] has quit [Quit: leaving] 06:01:45 answer_42 [~answer_42@gateway/tor-sasl/answer42/x-66983568] has joined #scheme 06:04:10 -!- wbooze [~wbooze@xdsl-78-35-132-88.netcologne.de] has quit [Ping timeout: 246 seconds] 06:14:06 mucker [~mucker@183.83.240.198] has joined #scheme 06:23:33 fds [~fds@tickle.compsoc.man.ac.uk] has joined #scheme 06:24:07 lcc [~lcc@unaffiliated/lcc] has joined #scheme 06:24:25 -!- fds [~fds@tickle.compsoc.man.ac.uk] has quit [Client Quit] 06:34:58 -!- jonrafkind [~jon@racket/jonrafkind] has quit [Ping timeout: 246 seconds] 06:43:39 MrFahrenheit [~RageOfTho@77.221.29.73] has joined #scheme 06:53:51 mmc1 [~michal@178-85-68-252.dynamic.upc.nl] has joined #scheme 07:18:33 -!- mmc1 [~michal@178-85-68-252.dynamic.upc.nl] has quit [Ping timeout: 240 seconds] 07:21:48 -!- karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has quit [Remote host closed the connection] 07:24:00 xonox [~xonox@dynamic2-248-029.usc.edu] has joined #scheme 07:24:41 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 07:32:07 karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 07:35:22 mmc1 [~michal@178-85-68-252.dynamic.upc.nl] has joined #scheme 08:08:45 -!- n00b6502 [~ceti331@host81-157-102-115.range81-157.btcentralplus.com] has quit [Ping timeout: 276 seconds] 08:10:50 palach [~palach@93.175.8.83] has joined #scheme 08:12:31 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 245 seconds] 08:16:05 superjudge [~superjudg@c83-250-198-227.bredband.comhem.se] has joined #scheme 08:24:17 -!- xonox [~xonox@dynamic2-248-029.usc.edu] has quit [Remote host closed the connection] 08:37:56 -!- arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has quit [Read error: Connection reset by peer] 08:39:57 -!- karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has quit [Remote host closed the connection] 08:44:06 arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has joined #scheme 08:50:23 karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 08:53:13 -!- mmc1 [~michal@178-85-68-252.dynamic.upc.nl] has quit [Ping timeout: 246 seconds] 09:04:00 -!- mucker [~mucker@183.83.240.198] has quit [Ping timeout: 276 seconds] 09:11:34 -!- xwl [~user@182.48.111.224] has quit [Remote host closed the connection] 09:12:05 n00b6502 [~ceti331@host81-157-102-115.range81-157.btcentralplus.com] has joined #scheme 09:16:04 wbooze [~wbooze@xdsl-84-44-176-208.netcologne.de] has joined #scheme 09:30:27 mich [~mich@dslb-094-219-213-225.pools.arcor-ip.net] has joined #scheme 09:30:41 -!- mich is now known as mich2 09:30:49 hello there! 09:31:35 I just downloaded the scheme app for mac and now im running it , apparently im in "edwin" mode, but i simply want the REPL mode to evaluate commands, how do I achive this? 09:32:37 What scheme app? 09:32:51 mit-scheme.app 09:32:59 I don't know how it's packaged. 09:33:07 thats not relevant 09:33:14 Try: find /Applications/mit-scheme.app -print 09:33:24 could you tell me fhow I come from edwin to a simple scheme REPL? 09:33:25 See if there's a CLI executable in there. 09:33:51 It does start a GUI, dewin is a text editor... 09:33:59 I couldn't, I've never used edwin. In emacs, I'd do M-! xterm -e mit-scheme RET 09:34:05 I mean edwin is a CLI programm 09:34:31 You need to start from a terminal. 09:35:07 i am in a terminal window its called: edwin *scheme* 09:35:24 there I can type but not evaluate scheme commands 09:35:27 You need to start mit-scheme from a terminal window, not edwin. 09:35:49 Or, perhaps there's a command in edwin to get a REPL. Read the doc of edwin. 09:36:15 yes thats this: http://www.gnu.org/software/mit-scheme/documentation/mit-scheme-user/Edwin-REPL-Mode.html#Edwin-REPL-Mode 09:36:16 http://tinyurl.com/y5gdr4d 09:36:45 but I dont know how to execute an command in edwin, it does not seem to be 09:36:52 -!- tejaswidp [~tejaswidp@117.192.141.92] has quit [Ping timeout: 248 seconds] 09:37:33 Did you type M-x repl RET ? 09:38:41 i type "M-x repl" 09:38:50 then it goes to the next line... 09:39:04 M-x is meta-x, not M dash x! 09:39:53 tell me plese the exact letters i need to type, thx 09:40:04 You need to type the combination meta and x. 09:40:17 The precise key to press to get meta depends on your keyboard configuration. 09:40:43 In GNU emacs, you can also type ESC instead of M-. So ESC x repl RET would work too in GNU emacs. Perhaps it'll work in edwin too? 09:41:06 great now i have to figure this out, this is outterly, absolute bad user interface design 09:41:12 I apprichate your time 09:41:22 thnk but I have now to do other things :( 09:41:23 -!- mich2 [~mich@dslb-094-219-213-225.pools.arcor-ip.net] has quit [Quit: mich2] 09:41:41 It's a user interface designed long before the first bit of MacOS (I'm not saying MacOSX) was written. 09:45:59 mmc1 [~michal@178-85-68-252.dynamic.upc.nl] has joined #scheme 09:47:17 attila_lendvai [~attila_le@5.34.28.218] has joined #scheme 09:47:17 -!- attila_lendvai [~attila_le@5.34.28.218] has quit [Changing host] 09:47:17 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #scheme 09:55:21 add^_ [~add^_@m90-141-53-95.cust.tele2.se] has joined #scheme 09:57:14 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 09:57:16 -!- mmc1 [~michal@178-85-68-252.dynamic.upc.nl] has quit [Ping timeout: 246 seconds] 09:57:37 mmc1 [~michal@178-85-68-252.dynamic.upc.nl] has joined #scheme 10:02:49 tejaswidp [~tejaswidp@117.202.16.32] has joined #scheme 10:03:10 -!- taylanub [tub@p4FD94936.dip.t-dialin.net] has quit [Ping timeout: 255 seconds] 10:07:36 taylanub [tub@p4FD93355.dip.t-dialin.net] has joined #scheme 10:17:39 masm [~masm@bl17-205-221.dsl.telepac.pt] has joined #scheme 10:21:38 gffa [~unknown@unaffiliated/gffa] has joined #scheme 10:24:42 -!- arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has quit [Quit: leaving] 10:27:55 arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has joined #scheme 10:32:50 -!- arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has quit [Quit: leaving] 10:33:08 arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has joined #scheme 10:35:08 -!- arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has quit [Client Quit] 10:35:22 arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has joined #scheme 10:44:39 bfgun [~b_fin_g@r190-135-2-216.dialup.adsl.anteldata.net.uy] has joined #scheme 10:48:26 -!- bfig [~b_fin_g@r190-135-37-69.dialup.adsl.anteldata.net.uy] has quit [Ping timeout: 268 seconds] 11:05:45 acarrico [~acarrico@pppoe-68-142-57-187.gmavt.net] has joined #scheme 11:15:24 -!- lewis1711 [~lewis@121-79-208-160.dsl.sta.inspire.net.nz] has quit [Quit: Leaving.] 11:24:45 -!- wbooze [~wbooze@xdsl-84-44-176-208.netcologne.de] has quit [Quit: none] 11:40:10 -!- arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has quit [Read error: Connection reset by peer] 11:40:41 arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has joined #scheme 11:50:27 wbooze [~wbooze@xdsl-84-44-176-208.netcologne.de] has joined #scheme 12:03:39 replore_ [~replore@FLH1Ahd118.kng.mesh.ad.jp] has joined #scheme 12:08:52 -!- anonus [anonymous@2a01:7e00::f03c:91ff:fedf:2cc7] has quit [Ping timeout: 246 seconds] 12:31:29 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 12:31:53 pchrist [~spirit@gentoo/developer/pchrist] has joined #scheme 13:02:57 amgarchIn9 [~amgarchin@p4FD60A9C.dip0.t-ipconnect.de] has joined #scheme 13:18:16 hash_table [~quassel@70-138-242-181.lightspeed.hstntx.sbcglobal.net] has joined #scheme 13:18:31 -!- ijp [~user@host86-174-96-191.range86-174.btcentralplus.com] has quit [Ping timeout: 246 seconds] 13:20:06 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 13:24:02 Spion [~spion@unaffiliated/spion] has joined #scheme 13:36:36 -!- replore_ [~replore@FLH1Ahd118.kng.mesh.ad.jp] has quit [Remote host closed the connection] 13:51:29 -!- Khisanth [~Khisanth@50.14.244.111] has quit [Ping timeout: 272 seconds] 13:59:56 Fare [~Fare@173-9-65-97-NewEngland.hfc.comcastbusiness.net] has joined #scheme 14:05:11 anonus [anonymous@2a01:7e00::f03c:91ff:fedf:2cc7] has joined #scheme 14:12:39 -!- add^_ [~add^_@m90-141-53-95.cust.tele2.se] has quit [Quit: add^_] 14:19:00 Khisanth [~Khisanth@50.14.244.111] has joined #scheme 14:26:42 pnpuff [~pnpuff@gateway/tor-sasl/pnpuff] has joined #scheme 14:31:15 leo2007 [~leo@182.48.111.218] has joined #scheme 14:36:56 -!- b4283 [~b4283@114-47-5-148.dynamic.hinet.net] has quit [Disconnected by services] 14:37:04 -!- sethAway is now known as seth_ 14:37:05 b4283 [~b4283@114-47-5-148.dynamic.hinet.net] has joined #scheme 14:37:10 -!- seth_ is now known as sethalves 14:46:48 sambio [~sam@190.57.227.107] has joined #scheme 15:01:09 -!- arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has quit [Read error: Connection reset by peer] 15:01:13 xwl [~user@182.48.111.224] has joined #scheme 15:06:44 arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has joined #scheme 15:10:49 Nisstyre-laptop [~yours@oftn/member/Nisstyre] has joined #scheme 15:13:38 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Quit: Computer has gone to sleep.] 15:23:30 random question: how does a definition know to recursively call itself? 15:24:17 AntelopeSalad, how do you mean a "definition"? 15:24:24 Wait, let me be more specific. 15:24:26 context: manually implementing the add procedure , i understand it but i'm not sure how it knows to keep calling itself 15:24:49 Are you talking about recursive calls at definition time, or at runtime? 15:25:12 sec, let me see if i can find a slide (it's from the SICP book) 15:25:36 basically the author implements the add procedure and explains it by substitution 15:25:47 but i am not sure how it knows to keep reducing it by itself 15:26:11 Have you got to the part yet about how the explanation of execution by substitution falls down?? 15:26:17 -1s/??/?/ 15:26:23 (+ (-1+ x) (1+ y)) 15:26:31 that is the 2nd half of the condition when x isn't 0 15:27:04 i understand this expression by itself 15:27:26 it's adding x - 1 and y + 1 15:27:45 but how does it keep doing it by itself until x is 0? 15:30:28 gnomon: i don't think so, i've been watching the lectures then doing the book to that point 15:30:47 i got to about 25min into the 2nd lecture http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-001-structure-and-interpretation-of-computer-programs-spring-2005/video-lectures/1b-procedures-and-processes-substitution-model/ 15:30:48 http://tinyurl.com/988nt66 15:31:02 a slide of the procedure can be found at the 20:42 mark 15:32:50 AntelopeSalad: Do you understand (define (x) (x))? 15:32:59 Gotcha. I've never watched the lectures and don't really intend to - they are fantastic learning tools for many people, but unfortunately they just slide right out of my brain. However, the part of the book which explains the substitution model is at http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html#%_sec_1.1.5 15:33:18 Euthy: not with the double () 15:33:37 (define (x) 1)? 15:33:38 A-h-h-h, then that is the source of your confusion. 15:33:54 his definition starts with: (define (+ x y) 15:34:09 Do you understand (define (x) 1)? 15:34:22 that was from the first lecture, i think it was like 15:34:28 a shortcut to doing a lambda 15:34:31 right? 15:34:35 Yes. 15:34:50 maybe my definition of what a lambda is, is incorrect 15:34:51 (define (x) 1) is equal to (define x (lambda (x) 1)) 15:34:54 i thought it was just an anonymous function 15:35:11 No, sorry. 15:35:17 (define x (lambda () 1)) 15:35:54 in his example he doesn't do that though i think 15:36:21 he doesn't wrap the arguments in parens outside of the proc name 15:36:36 or i should say, inside 15:36:50 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 15:37:24 Which part of it is confusing you? 15:37:59 i don't understand what part of the procedure definition allows it to recursively call itself until x = 0 15:38:54 (define (+ x y) (if (= x 0) y (+ (-1 x) (1+ y)))) 15:39:21 let's say x is 4 and y is 3 15:39:44 the 2nd half reduces to this right? (+ 3 4) 15:39:53 and that becomes 7 15:40:14 oh wait, god... i see it now 15:40:29 it's just simple recursion, + is the proc name and he's calling it 15:40:36 :) 15:40:37 i'm not used to seeing + as a proc name 15:40:48 my brain associates that to a standard operator 15:40:52 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 15:41:45 thanks btw (both of you) 15:41:57 sometimes just talking about a problem in the open forces you to think in a different way 15:42:03 AntelopeSalad, that feeling you have right now, of something that felt set in stone suddenly being replaced by an understanding that it doesn't _have_ to be, is the feeling you're going to associate in the long term with Scheme and Lisp in general! 15:42:56 i'm looking forward to that feeling hah, i've learned so much from so little so far 16:01:03 ChibaPet [~ChibaPet@fsf/member/chibapet] has joined #scheme 16:09:33 -!- Sgeo [~Sgeo@ool-ad034d00.dyn.optonline.net] has quit [Read error: Connection reset by peer] 16:13:37 mucker [~mucker@183.83.240.198] has joined #scheme 16:13:53 wingo [~wingo@89.131.176.233] has joined #scheme 16:15:05 -!- wingo [~wingo@89.131.176.233] has quit [Client Quit] 16:21:04 -!- Nisstyre-laptop [~yours@oftn/member/Nisstyre] has quit [Remote host closed the connection] 16:21:13 -!- b4283 [~b4283@114-47-5-148.dynamic.hinet.net] has quit [Remote host closed the connection] 16:47:31 jao [~user@164.Red-83-32-68.dynamicIP.rima-tde.net] has joined #scheme 16:47:38 -!- jao [~user@164.Red-83-32-68.dynamicIP.rima-tde.net] has quit [Changing host] 16:47:38 jao [~user@pdpc/supporter/professional/jao] has joined #scheme 16:49:18 attila_lendvai [~attila_le@5.34.28.218] has joined #scheme 16:49:18 -!- attila_lendvai [~attila_le@5.34.28.218] has quit [Changing host] 16:49:18 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #scheme 16:55:04 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 255 seconds] 16:55:09 -!- masm [~masm@bl17-205-221.dsl.telepac.pt] has quit [Ping timeout: 272 seconds] 16:57:52 eni [~eni@gob75-5-82-230-88-217.fbx.proxad.net] has joined #scheme 17:23:57 tcleval [~funnyguy@177.98.190.101] has joined #scheme 17:24:46 hi, I was wondering were can I find the implementation of collect procedure that is used on sicp 6A? I looked on the book and couldnt find it. 17:30:27 plenty of people have solved all exercises and published on the web 17:38:57 untrusted [~user@stgt-5f71a922.pool.mediaWays.net] has joined #scheme 17:40:28 thx Fare I found googling for sicp solutions 17:43:16 -!- eni [~eni@gob75-5-82-230-88-217.fbx.proxad.net] has quit [Ping timeout: 248 seconds] 17:55:29 youlysses [~user@75-132-17-145.dhcp.stls.mo.charter.com] has joined #scheme 17:56:42 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 18:00:31 -!- leo2007 [~leo@182.48.111.218] has quit [Ping timeout: 252 seconds] 18:01:02 langmartin [~user@host-68-169-154-130.WISOLT2.epbfi.com] has joined #scheme 18:03:04 -!- untrusted [~user@stgt-5f71a922.pool.mediaWays.net] has quit [Ping timeout: 246 seconds] 18:05:16 -!- bfgun is now known as bfig 18:06:23 masm [~masm@bl17-205-221.dsl.telepac.pt] has joined #scheme 18:08:13 -!- mucker [~mucker@183.83.240.198] has quit [Ping timeout: 260 seconds] 18:10:11 mucker [~mucker@183.83.240.198] has joined #scheme 18:13:13 -!- Sorella [~quildreen@oftn/member/Sorella] has quit [Ping timeout: 246 seconds] 18:26:50 Sorella [~quildreen@oftn/member/Sorella] has joined #scheme 18:27:11 tali713 [~user@64.196.22.19] has joined #scheme 18:32:03 -!- langmartin [~user@host-68-169-154-130.WISOLT2.epbfi.com] has quit [Ping timeout: 272 seconds] 18:32:33 -!- tali713 [~user@64.196.22.19] has quit [Remote host closed the connection] 18:33:16 tali713 [~user@64.196.22.19] has joined #scheme 18:39:36 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 18:45:23 -!- wbooze [~wbooze@xdsl-84-44-176-208.netcologne.de] has quit [Quit: none] 18:51:28 homie [~levgue@xdsl-84-44-176-208.netcologne.de] has joined #scheme 18:55:01 -!- Axioplase [~Axioplase@218.201.120.153.tokyo.global.crust-r.net] has quit [Ping timeout: 245 seconds] 18:56:50 -!- tali713 [~user@64.196.22.19] has quit [Ping timeout: 268 seconds] 18:56:56 dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has joined #scheme 18:57:07 -!- fantazo [~fantazo@91-119-59-123.dynamic.xdsl-line.inode.at] has quit [Quit: Verlassend] 18:58:08 homie` [~levgue@xdsl-78-35-148-156.netcologne.de] has joined #scheme 18:58:57 -!- homie` [~levgue@xdsl-78-35-148-156.netcologne.de] has quit [Remote host closed the connection] 18:59:50 -!- homie [~levgue@xdsl-84-44-176-208.netcologne.de] has quit [Ping timeout: 246 seconds] 19:00:21 gcartier [~gcartier@modemcable044.80-58-74.mc.videotron.ca] has joined #scheme 19:00:52 wbooze [~wbooze@xdsl-78-35-148-156.netcologne.de] has joined #scheme 19:01:29 anyone know of scheme (or lisp) code to implement basic C parsing? 19:02:01 Axioplase [~Axioplase@218.201.120.153.tokyo.global.crust-r.net] has joined #scheme 19:03:01 homie [~levgue@xdsl-78-35-148-156.netcologne.de] has joined #scheme 19:03:18 -!- Spion [~spion@unaffiliated/spion] has quit [Remote host closed the connection] 19:03:18 -!- arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has quit [Read error: Connection reset by peer] 19:04:24 arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has joined #scheme 19:07:51 REPLeffect [~REPLeffec@69.54.115.254] has joined #scheme 19:12:04 -!- wbooze [~wbooze@xdsl-78-35-148-156.netcologne.de] has quit [Remote host closed the connection] 19:14:50 wbooze [~wbooze@xdsl-78-35-148-156.netcologne.de] has joined #scheme 19:15:37 -!- tejaswidp [~tejaswidp@117.202.16.32] has quit [Remote host closed the connection] 19:23:08 -!- mucker [~mucker@183.83.240.198] has quit [Ping timeout: 252 seconds] 19:24:18 langmartin [~user@host-68-169-154-130.WISOLT2.epbfi.com] has joined #scheme 19:24:29 -!- langmartin [~user@host-68-169-154-130.WISOLT2.epbfi.com] has quit [Remote host closed the connection] 19:24:59 -!- gcartier [~gcartier@modemcable044.80-58-74.mc.videotron.ca] has quit [Read error: Connection reset by peer] 19:37:13 tejaswidp [~tejaswidp@117.192.141.47] has joined #scheme 19:42:12 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 248 seconds] 19:44:35 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 19:45:14 huangjs [~huangjs@69.84.244.131] has joined #scheme 19:57:56 jewel [~jewel@196-215-139-123.dynamic.isadsl.co.za] has joined #scheme 19:57:58 -!- wbooze [~wbooze@xdsl-78-35-148-156.netcologne.de] has quit [Remote host closed the connection] 19:57:58 -!- homie [~levgue@xdsl-78-35-148-156.netcologne.de] has quit [Remote host closed the connection] 19:58:35 -!- Axioplase [~Axioplase@218.201.120.153.tokyo.global.crust-r.net] has quit [Ping timeout: 252 seconds] 19:58:54 Axioplase [~Axioplase@218.201.120.153.tokyo.global.crust-r.net] has joined #scheme 19:59:19 Riastradh showed how to comment a sexp using paredit with C-M SPC and then M-; but how do I uncomment these comments? 20:02:44 wbooze [~wbooze@xdsl-78-35-148-156.netcologne.de] has joined #scheme 20:03:27 homie [~levgue@xdsl-78-35-148-156.netcologne.de] has joined #scheme 20:05:19 jewel: same way 20:05:30 you have to mark the whole commented out thing, including the semicolons 20:05:51 (isn't really related to paredit, is it ? emacs can do that for pretty much any language) 20:06:38 ok, so you just have to mark the whole region (without the benefit of knowing where a sexp starts and finishes) and then uncomment region 20:08:18 yeah, emacs will do its best to figure out what to do when you hit M-; 20:11:40 -!- wbooze [~wbooze@xdsl-78-35-148-156.netcologne.de] has quit [Remote host closed the connection] 20:11:40 -!- homie [~levgue@xdsl-78-35-148-156.netcologne.de] has quit [Read error: Connection reset by peer] 20:23:56 -!- tejaswidp [~tejaswidp@117.192.141.47] has quit [Remote host closed the connection] 20:25:25 wbooze [~wbooze@xdsl-78-35-148-156.netcologne.de] has joined #scheme 20:30:31 add^_ [~add^_@m90-141-53-95.cust.tele2.se] has joined #scheme 20:47:48 amoe [~amoe@host-78-147-150-12.as13285.net] has joined #scheme 20:51:45 -!- dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has quit [Ping timeout: 252 seconds] 20:52:58 pnpuff` [~pnpuff@gateway/tor-sasl/pnpuff] has joined #scheme 20:54:27 -!- jewel [~jewel@196-215-139-123.dynamic.isadsl.co.za] has quit [Ping timeout: 276 seconds] 20:56:24 -!- pnpuff [~pnpuff@gateway/tor-sasl/pnpuff] has quit [Ping timeout: 276 seconds] 20:56:56 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Quit: Leaving] 20:58:15 -!- wbooze [~wbooze@xdsl-78-35-148-156.netcologne.de] has quit [Remote host closed the connection] 21:00:43 wbooze [~wbooze@xdsl-78-35-148-156.netcologne.de] has joined #scheme 21:01:01 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has quit [Remote host closed the connection] 21:07:38 jonrafkind [~jon@racket/jonrafkind] has joined #scheme 21:14:14 -!- Axioplase [~Axioplase@218.201.120.153.tokyo.global.crust-r.net] has quit [Ping timeout: 252 seconds] 21:17:36 -!- superjudge [~superjudg@c83-250-198-227.bredband.comhem.se] has quit [Quit: Leaving...] 21:21:26 Axioplase [~Axioplase@218.201.120.153.tokyo.global.crust-r.net] has joined #scheme 21:21:52 -!- n00b6502 [~ceti331@host81-157-102-115.range81-157.btcentralplus.com] has quit [Ping timeout: 246 seconds] 21:42:12 -!- answer_42 [~answer_42@gateway/tor-sasl/answer42/x-66983568] has quit [Remote host closed the connection] 21:42:22 -!- wbooze [~wbooze@xdsl-78-35-148-156.netcologne.de] has quit [Remote host closed the connection] 21:45:06 wbooze [~wbooze@xdsl-78-35-148-156.netcologne.de] has joined #scheme 21:49:38 djanatyn [~djanatyn@mail.digitalkingdom.org] has joined #scheme 21:55:54 -!- amoe [~amoe@host-78-147-150-12.as13285.net] has quit [Ping timeout: 264 seconds] 21:57:26 amoe [~amoe@host-78-147-107-173.as13285.net] has joined #scheme 21:58:19 -!- add^_ [~add^_@m90-141-53-95.cust.tele2.se] has quit [Quit: add^_] 22:11:05 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 22:11:47 mejja [~user@c-80bfe555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 22:26:06 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Quit: Computer has gone to sleep.] 22:26:28 -!- palach [~palach@93.175.8.83] has quit [Ping timeout: 248 seconds] 22:29:52 -!- mejja [~user@c-80bfe555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Quit: ChatZilla 0.9.88.2 [Firefox 15.0.1/20120905151427]] 22:32:10 -!- snorble_ [~snorble@c193-14-18-68.cust.tele2.se] has quit [Read error: Connection reset by peer] 22:32:33 snorble_ [~snorble@c193-14-18-68.cust.tele2.se] has joined #scheme 22:34:11 n00b6502 [~ceti331@host81-157-102-115.range81-157.btcentralplus.com] has joined #scheme 22:34:36 -!- arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has quit [Read error: Connection reset by peer] 22:35:40 arbn [~arbn@71-87-150-49.static.hlrg.nc.charter.com] has joined #scheme 22:40:35 -!- bfig [~b_fin_g@r190-135-2-216.dialup.adsl.anteldata.net.uy] has quit [Ping timeout: 244 seconds] 22:50:09 -!- n00b6502 [~ceti331@host81-157-102-115.range81-157.btcentralplus.com] has quit [Ping timeout: 276 seconds] 22:51:09 -!- cdidd [~cdidd@128.72.105.96] has quit [Ping timeout: 246 seconds] 22:51:50 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 23:03:30 -!- hash_table [~quassel@70-138-242-181.lightspeed.hstntx.sbcglobal.net] has quit [Ping timeout: 252 seconds] 23:04:48 -!- imphasing [~Alex@97-81-65-25.dhcp.athn.ga.charter.com] has quit [Ping timeout: 246 seconds] 23:12:07 -!- Fare [~Fare@173-9-65-97-NewEngland.hfc.comcastbusiness.net] has quit [Ping timeout: 246 seconds] 23:25:13 -!- gffa [~unknown@unaffiliated/gffa] has quit [Quit: sleep] 23:25:30 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 252 seconds] 23:36:18 -!- AntelopeSalad [~AntelopeS@ool-43543e72.dyn.optonline.net] has quit [] 23:42:39 AntelopeSalad [~AntelopeS@ool-43543e72.dyn.optonline.net] has joined #scheme