00:00:34 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 246 seconds] 00:00:54 -!- preflex_ is now known as preflex 00:05:37 -!- arameus [~maxwell@cpe-184-153-14-33.nycap.res.rr.com] has quit [Ping timeout: 276 seconds] 00:06:45 -!- confab [~win7@c-71-193-9-153.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 00:07:49 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Ping timeout: 248 seconds] 00:08:23 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 00:08:50 confab [~confab@c-71-193-9-153.hsd1.ca.comcast.net] has joined #scheme 00:09:08 -!- cdidd [~cdidd@128-72-247-7.broadband.corbina.ru] has quit [Remote host closed the connection] 00:09:44 dnolen [~user@p72-0-226-118-static.acedsl.com] has joined #scheme 00:16:15 arameus [~maxwell@cpe-184-153-14-33.nycap.res.rr.com] has joined #scheme 00:43:26 -!- samth [~samth@c-66-31-201-165.hsd1.ma.comcast.net] has quit [Ping timeout: 246 seconds] 00:46:39 -!- pchrist_ [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 00:47:28 jao [~user@pdpc/supporter/professional/jao] has joined #scheme 00:55:58 -!- jao [~user@pdpc/supporter/professional/jao] has quit [Ping timeout: 250 seconds] 01:03:06 -!- bitonic [~Francesco@93-40-81-157.ip37.fastwebnet.it] has quit [Quit: WeeChat 0.3.5] 01:10:35 -!- pygospa [~Pygosceli@kiel-5f7689d9.pool.mediaWays.net] has quit [Disconnected by services] 01:10:45 pygospa [~Pygosceli@kiel-5f7698b4.pool.mediaWays.net] has joined #scheme 01:26:33 schemenewb [4889f0ae@gateway/web/freenode/ip.72.137.240.174] has joined #scheme 01:27:40 Hi, can I write a macro, that recursively (bottom to top) goes through a s-expression and accumulates a value? 01:28:08 Of course. It can be hairy, but it can be done. 01:29:46 pjb: thank you 01:32:26 blacksheep [45a5f889@gateway/web/freenode/ip.69.165.248.137] has joined #scheme 01:39:27 schemenewb: keep in mind that macros are expanded top-down, meaning that when your macro is expanded, all the inner code will not yet be expanded. 01:39:52 so your macro will have to cope with that. 01:40:38 -!- dnolen [~user@p72-0-226-118-static.acedsl.com] has quit [Ping timeout: 240 seconds] 01:41:08 mark_weaver: I think I'll write a preprocessor reading from a file, thank you though. 01:42:24 schemenewb: I'm curious why you need to do this. there may be a better strategy. 01:46:23 for example, if you're using the syntax-case system, and the values you need to accumulate can be easily recognized by macros within, then you could accumulate them into dynamically-bound variables (parameters or fluids) at expansion time. 01:48:03 mark_weaver: I want to detect parallelizable syntax based on mutation. I.e. I want to write a preprocessor, that replaces map with a parallel version of map, if the function given to map, does not mutate the current environment (I want to pattern match for set!, after expanding every syntax to its core implementation) 01:48:51 -!- blacksheep [45a5f889@gateway/web/freenode/ip.69.165.248.137] has quit [Quit: Page closed] 01:49:56 schemenewb: that really needs to be done after macro expansion. 01:50:15 so during interpretation? 01:56:00 -!- sawgij [~sawjig@gateway/tor-sasl/sawjig] has quit [Write error: Broken pipe] 02:00:18 sawgij [~sawjig@gateway/tor-sasl/sawjig] has joined #scheme 02:00:23 schemenewb: what scheme impl are you using? 02:01:02 racket 02:01:31 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 02:02:27 schemenewb: racket is pretty powerful; I'm sure there's a way to add your own compiler pass between macro expansion and the remaining passes of the compiler. However, there's a big hole in your strategy: what is the 'set!' is done by a procedure that gets called, and thus is not visible in the code? 02:02:42 -!- wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has quit [Ping timeout: 252 seconds] 02:02:48 s/what is/what if/ 02:03:16 e.g. (map some-function-defined-in-another-module ...) 02:03:50 that is supposed to be part of my "core expansion". I have to flag closures parallelizable 02:05:55 schemenewb: fundamentally, in scheme, a procedure could be redefined at any time. so you can do your whole-program-analysis phase to determine which closures are parallelizable, but then at some point during runtime someone could (set! some-function-defined-in-another-module (lambda () (set! ...))) 02:06:02 schemenewb: Trying to detect mutation like that sounds like the job of a type & effect system. 02:06:16 I don't think you will be able to accomplish that in an easy way. 02:06:42 (at least, not in a way that is sound) 02:08:06 Incidentally, FX, a typed language based on Scheme, did parallelization based on its effect analysis. 02:09:41 mark_weaver: you are right, thank you, I have to think about this more (restrict it more, basically) 02:09:50 schemenewb: there is, however, one kind of variable that is known immutable: local variables that are never 'set!' within their lexical scope. but at soon as you call any top-level procedure all bets are off. 02:09:51 assmu: thank you, I'll take a look at FX 02:10:57 schemenewb: It's rather hard to find documentation on FX, but there is a report from 1991 that you can still find on the Internet. 02:11:36 schemenewb: would it be okay to simply define a 'parallel-map' and rely on the programmer to decide when it can be safely used? 02:11:37 schemenewb: here you go http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.62.534&rep=rep1&type=ps 02:11:41 http://tinyurl.com/8a7hkhr 02:12:31 assmu: i just found that through google :0 thank you :). 02:14:22 mark_weaver: that is some valuable input, thank you 02:15:00 schemenewb: okay, happy hacking! 02:15:47 mark_weaver: thanks, have a good one 02:18:41 Is there a way to make use of hyperthreading under windows with racket? 02:20:34 schemenewb: I don't know about hyperthreading specifically, but racket/place lets you utilize multiple cores. 02:20:37 rudybot: doc racket/place 02:20:38 asumu: your sandbox is ready 02:20:38 asumu: not found in any library's documentation: racket/place 02:20:48 http://docs.racket-lang.org/guide/performance.html?q=places#(part._effective-places) 02:21:36 wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has joined #scheme 02:21:40 yeah I'm using place already. The way I test, that it actually executes my code in parallel is by looking at the task manager, but I don't see any spikes in the 2nd and 4th thread, which I think are "artifical" through ht 02:22:28 in theory the OS should take care of that... racket shouldn't be able to tell the difference between an HT core and a real one 02:22:34 tuubow [~adityavit@c-69-136-105-164.hsd1.nj.comcast.net] has joined #scheme 02:24:02 schemenewb: I don't know much about HT or places. I would suggest asking on the Racket mailing list where people will know. 02:25:06 turbofail: I was suspecting that, but then I don't see any spikes on these threads. Maybe I'm using a bad benchmark to detect this. 02:25:28 assmu: thank you for your help, I'll ask them 02:25:33 :) 02:28:03 -!- masm [~masm@bl17-207-200.dsl.telepac.pt] has quit [Quit: Leaving.] 02:32:12 jrslepak [~jrslepak@c-71-233-148-123.hsd1.ma.comcast.net] has joined #scheme 02:37:04 -!- sawgij [~sawjig@gateway/tor-sasl/sawjig] has quit [Ping timeout: 276 seconds] 02:38:27 sawgij [~sawjig@gateway/tor-sasl/sawjig] has joined #scheme 02:52:05 ThePawnBreak [Cristi@94.177.108.25] has joined #scheme 02:53:06 -!- ssbr_ [~ssbr@python/site-packages/ssbr] has quit [Read error: Operation timed out] 02:54:22 albert-sicp [~albert-si@adsl-71-156-42-195.dsl.irvnca.sbcglobal.net] has joined #scheme 02:55:10 -!- albert-sicp [~albert-si@adsl-71-156-42-195.dsl.irvnca.sbcglobal.net] has quit [Remote host closed the connection] 02:55:37 -!- phax [~phax@unaffiliated/phax] has quit [Quit: Leaving] 02:56:30 albert-sicp [~albert-si@adsl-71-156-42-195.dsl.irvnca.sbcglobal.net] has joined #scheme 03:00:01 soveran [~soveran@186.19.214.247] has joined #scheme 03:03:21 -!- schemenewb [4889f0ae@gateway/web/freenode/ip.72.137.240.174] has quit [Ping timeout: 245 seconds] 03:05:53 -!- turbofail [~user@c-107-3-149-149.hsd1.ca.comcast.net] has quit [Ping timeout: 245 seconds] 03:07:01 -!- CampinSam [~CampinSam@24-176-98-217.dhcp.jcsn.tn.charter.com] has quit [Quit: leaving] 03:07:14 -!- MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has quit [Ping timeout: 245 seconds] 03:08:59 albert-s_ [~albert-si@adsl-71-156-42-195.dsl.irvnca.sbcglobal.net] has joined #scheme 03:08:59 -!- albert-sicp [~albert-si@adsl-71-156-42-195.dsl.irvnca.sbcglobal.net] has quit [Read error: Connection reset by peer] 03:13:13 -!- albert-s_ [~albert-si@adsl-71-156-42-195.dsl.irvnca.sbcglobal.net] has quit [Read error: Connection reset by peer] 03:17:56 albert-sicp [~albert-si@adsl-71-156-42-195.dsl.irvnca.sbcglobal.net] has joined #scheme 03:37:39 -!- MichaelRaskin [~MichaelRa@3ad50e34.broker.freenet6.net] has left #scheme 03:45:31 -!- asumu [~at@2001:470:b:b7:1e6f:65ff:fe23:c3d4] has quit [Quit: leaving] 03:54:25 -!- ThePawnBreak [Cristi@94.177.108.25] has quit [Ping timeout: 276 seconds] 03:57:43 jake__ [~jake@c-71-198-241-152.hsd1.ca.comcast.net] has joined #scheme 03:57:47 -!- _schulte_ [~eschulte@c-174-56-50-60.hsd1.nm.comcast.net] has quit [Quit: leaving] 03:59:37 attila_lendvai [~attila_le@37.99.84.192] has joined #scheme 03:59:37 -!- attila_lendvai [~attila_le@37.99.84.192] has quit [Changing host] 03:59:37 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #scheme 04:00:02 -!- rudybot [~luser@ec2-50-18-138-42.us-west-1.compute.amazonaws.com] has quit [Remote host closed the connection] 04:06:49 rudybot [~luser@ec2-50-18-138-42.us-west-1.compute.amazonaws.com] has joined #scheme 04:06:58 -!- albert-sicp [~albert-si@adsl-71-156-42-195.dsl.irvnca.sbcglobal.net] has quit [Remote host closed the connection] 04:17:09 MichaelRaskin [~MichaelRa@3ad50e34.broker.freenet6.net] has joined #scheme 04:19:21 -!- arameus [~maxwell@cpe-184-153-14-33.nycap.res.rr.com] has quit [Quit: Leaving] 04:26:02 -!- forcer [~forcer@hmbg-5f77f0d7.pool.mediaWays.net] has quit [Ping timeout: 246 seconds] 04:30:17 jcowan [~John@cpe-66-108-19-185.nyc.res.rr.com] has joined #scheme 04:31:03 jcowan: FYI, I just replied to your email. 04:32:19 Okay, got it. 04:39:03 -!- jcowan [~John@cpe-66-108-19-185.nyc.res.rr.com] has quit [Read error: Connection reset by peer] 04:39:40 jcowan [~John@cpe-66-108-19-185.nyc.res.rr.com] has joined #scheme 04:40:17 tom_i [~thomasing@ingserv.demon.co.uk] has joined #scheme 04:42:18 mark_weaver: I do think the R6RS rule about inexact division by exact zero is the Right Thing. I assume that programmers would assume that inexact contagion applies to /, no? 04:48:26 jcowan: consider the following two bits from the R6RS. 04:48:35 jcowan: R6RS section 11.7.1 states: "An implementation may return an exact result despite inexact arguments if that exact result would be the correct result for all possible substitutions of exact arguments for the inexact ones." 04:49:00 jcowan: and the R6RS provides the following examples: (/ 0 0) => &assertion exception, and (/ 3 0) &assertion exception. 04:49:12 I agree with those. 04:49:22 jcowan: so do I. 04:49:51 jcowan: now put them together. (/ X 0) for _any_ exact X yields an exception. 04:50:30 jcowan: therefore, by the exactness rule, (/ 1.0 0) is permitted to have the same result. 04:50:52 I don't know that an exception counts as a result. 04:50:54 -!- wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has quit [Quit: Lost terminal] 04:51:00 jcowan: true, and I was about to admit that. 04:52:05 jcowan: nonetheless, if in (/ X 0) it doesn't matter what X is, then why does it matter that it's inexact? it makes no sense. 04:53:45 -!- jake__ [~jake@c-71-198-241-152.hsd1.ca.comcast.net] has quit [Quit: leaving] 04:57:45 Because inexactness coercion rulez. 04:58:34 jcowan: think about the rationale behind the inexactness coercion rules. 04:59:23 jcowan: the whole idea is that you don't know what the true value really is. but if the same thing is supposed to happen regardless of the actual value, then why does it matter that it's inexact? 04:59:39 mark_weaver: I look at it this way: 04:59:48 1. There is no exact infinity value. 05:00:01 2. (/ X Y) where X and Y are both exact is supposed to return an exact value. 05:00:29 3. Since (/ X 0) with an exact X cannot be satisfied using an infinity value, an error is signalled instead. 05:02:29 cky: interesting point, but that doesn't change the fact the R6RS specification is just flatly wrong here mathematically. 05:03:39 The _only_ justification for claiming that (/ 1.0 0.0) => +inf.0, is if "0.0" really just means a very small positive number (too small to be represented) and +inf.0 just means a very large positive number (too large to be represented) 05:04:21 You can say that (/ 1 0) => infinity, but only if "infinity" is a complex infinity, as in the riemann sphere. 05:05:45 I would say that +inf.0 means either a true infinity or a too-large number. 05:06:22 jcowan: The problem is that (/ 1.0 -0.0) => -inf.0 05:06:32 and (/ 1.0 0.0) => +inf.0 05:06:41 Those seem right. 05:07:04 Note that (/ 1.0 x) where x is a positive denormalized float also => +inf.0 05:07:15 jcowan: agreed, if 0.0 and -0.0 just mean underflows. 05:07:43 Underflows or zero. 05:07:43 jcowan: but exact 0 is neither positive nor negative. 05:07:45 jcowan: so there's no way to decide whether the answer should be +inf or -inf. 05:08:05 And similarly, the infs mean overflow or affine infinity. 05:08:05 jcowan: a complex infinity would be a consistent answer, but we don't have that. 05:08:53 By ancient convention 0.0 is positive; nobody's going to change that. That creates an unavoidable asymmetry between +inf.0 and -inf.0 05:09:21 so I'll say that +inf.0 is either overflow, projective infinity, or positive affine infinity. 05:09:33 and -inf.0 is either overflow or negative a.i. 05:11:23 Here's an interesting remark from Wikipedia: 05:11:24 jcowan: projective infinity should be not real, and it should not be positive. 05:11:26 The expression 1/0 is not defined either as + or , because although it is true that whenever f(x)  0 for a continuous function f(x) it must be the case that 1/f(x) is eventually contained in every neighborhood of the set {, +}, it is not true that 1/f(x) must tend to one of these points. An example is f(x) = 1/(sin(1/x)). (Its modulus 1/|f(x)|, nevertheless, does approach +.) 05:12:59 *jcowan* reads up on the Riemann sphere. 05:13:52 too tired to make sense of it (0114 local time) 05:15:45 yeah, I need to go to sleep as well. (same time zone :) 05:16:05 goodnight! 05:17:06 Catchyalater. 05:17:26 -!- mark_weaver [~user@209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 05:18:35 didi [~user@unaffiliated/didi/x-1022147] has joined #scheme 05:19:35 Does anyone have a functional implementation of a binary tree which has a parent pointer that I could look at? 05:23:45 choas [~lars@p4FDC4CED.dip.t-dialin.net] has joined #scheme 05:24:31 didi: http://ho.runcode.us/q/how-do-i-code-a-tree-of-objects-in-haskell-with-pointers-to-parent-and-children 05:24:31 http://tinyurl.com/7ajv223 05:24:49 jcowan: Great, thank you. 05:25:15 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 05:32:55 Hum, seems like I would have to use `delay'. 05:33:16 -!- em [~em@unaffiliated/emma] has quit [Read error: Operation timed out] 05:34:17 adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has joined #scheme 05:35:09 toekutr [~user@50-0-51-2.dsl.static.sonic.net] has joined #scheme 05:49:23 -!- cataska [~cataska@210.64.6.233] has quit [Quit: leaving] 05:49:36 cataska [~cataska@210.64.6.233] has joined #scheme 05:53:06 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 05:53:43 -!- yamanu [~yamanu@cpe-212-18-40-64.static.amis.net] has quit [Ping timeout: 246 seconds] 05:55:55 -!- tessier [~treed@kernel-panic/copilotco] has quit [Ping timeout: 264 seconds] 05:56:10 tessier [~treed@216.105.40.125] has joined #scheme 05:57:16 -!- tuubow [~adityavit@c-69-136-105-164.hsd1.nj.comcast.net] has quit [Ping timeout: 276 seconds] 05:57:48 forcer [~forcer@hmbg-5f762c07.pool.mediaWays.net] has joined #scheme 05:58:41 wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has joined #scheme 05:59:56 -!- adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has quit [Quit: adu] 06:00:09 -!- jcowan [~John@cpe-66-108-19-185.nyc.res.rr.com] has quit [Quit: Leaving] 06:01:35 -!- choas [~lars@p4FDC4CED.dip.t-dialin.net] has quit [Quit: Lost terminal] 06:02:43 -!- wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has quit [Client Quit] 06:03:18 wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has joined #scheme 06:03:44 -!- djcb [~user@a88-114-95-13.elisa-laajakaista.fi] has quit [Remote host closed the connection] 06:04:48 -!- wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has quit [Client Quit] 06:07:23 wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has joined #scheme 06:07:34 -!- wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has quit [Client Quit] 06:08:06 wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has joined #scheme 06:09:38 -!- realitygrill [~realitygr@adsl-76-226-122-172.dsl.sfldmi.sbcglobal.net] has quit [Ping timeout: 246 seconds] 06:10:03 em [~em@unaffiliated/emma] has joined #scheme 06:11:47 yamanu [~yamanu@cpe-212-18-40-64.static.amis.net] has joined #scheme 06:17:05 tuubow [~adityavit@c-24-0-148-151.hsd1.nj.comcast.net] has joined #scheme 06:18:21 -!- DGASAU [~user@91.218.144.129] has quit [Remote host closed the connection] 06:18:36 DGASAU [~user@91.218.144.129] has joined #scheme 06:21:20 -!- sporous [~sporous@antispammeta/bot/irssi/sporous] has quit [Disconnected by services] 06:21:31 sporous [~sporous@antispammeta/bot/irssi/sporous] has joined #scheme 06:38:21 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 06:46:07 -!- tom_i [~thomasing@ingserv.demon.co.uk] has quit [Ping timeout: 244 seconds] 06:47:58 -!- Guest94268 [name@89.180.168.115] has quit [Remote host closed the connection] 06:48:50 -!- toekutr [~user@50-0-51-2.dsl.static.sonic.net] has quit [Remote host closed the connection] 06:50:44 gravicappa [~gravicapp@ppp91-77-173-24.pppoe.mtu-net.ru] has joined #scheme 06:58:24 hkBst [~marijn@gentoo/developer/hkbst] has joined #scheme 07:32:18 frugalfirbolg [~Joseph@cpe-75-180-54-117.columbus.res.rr.com] has joined #scheme 07:38:10 -!- wingo [~wingo@90.164.198.39] has quit [Ping timeout: 272 seconds] 07:50:16 tom_i [~thomasing@cmc.beaming.biz] has joined #scheme 08:04:11 ahinki [~chatzilla@212.99.10.150] has joined #scheme 08:06:40 -!- yamanu [~yamanu@cpe-212-18-40-64.static.amis.net] has quit [Ping timeout: 272 seconds] 08:18:10 keenbug [~daniel@p4FE39C0C.dip.t-dialin.net] has joined #scheme 08:19:47 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Remote host closed the connection] 08:20:05 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 08:25:36 lcc [~user@unaffiliated/lcc] has joined #scheme 08:37:25 -!- lcc [~user@unaffiliated/lcc] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 08:38:19 lcc [~user@unaffiliated/lcc] has joined #scheme 08:39:07 -!- sawgij [~sawjig@gateway/tor-sasl/sawjig] has quit [Ping timeout: 276 seconds] 08:44:06 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #scheme 08:48:27 namoamitabuddha [~namoamita@unaffiliated/namoamitabuddha] has joined #scheme 08:48:58 Does somebody know signal-flow diagram 08:55:53 -!- bfig [~b_fin_g@r186-48-198-91.dialup.adsl.anteldata.net.uy] has quit [Read error: Connection reset by peer] 09:06:53 yamanu [~yamanu@cpe-212-18-40-64.static.amis.net] has joined #scheme 09:08:32 palach [~palach@93.175.8.83] has joined #scheme 09:12:07 bfig [~b_fin_g@r186-48-213-103.dialup.adsl.anteldata.net.uy] has joined #scheme 09:12:41 -!- namoamitabuddha [~namoamita@unaffiliated/namoamitabuddha] has left #scheme 09:13:29 -!- gravicappa [~gravicapp@ppp91-77-173-24.pppoe.mtu-net.ru] has quit [Ping timeout: 244 seconds] 09:35:38 gravicappa [~gravicapp@ppp91-77-183-12.pppoe.mtu-net.ru] has joined #scheme 09:37:34 cdidd [~cdidd@128-72-218-169.broadband.corbina.ru] has joined #scheme 09:37:43 -!- lcc [~user@unaffiliated/lcc] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 09:38:11 replore [~replore@203.152.213.161.static.zoot.jp] has joined #scheme 09:42:22 -!- palach [~palach@93.175.8.83] has left #scheme 09:42:45 araujo [~araujo@190.38.61.1] has joined #scheme 09:42:56 -!- araujo [~araujo@190.38.61.1] has quit [Changing host] 09:42:56 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 09:44:36 -!- replore [~replore@203.152.213.161.static.zoot.jp] has quit [Remote host closed the connection] 09:49:37 -!- xwl [~user@123.108.223.115] has quit [Ping timeout: 246 seconds] 09:56:45 masm [~masm@bl17-207-200.dsl.telepac.pt] has joined #scheme 09:58:06 bitonic [~Francesco@93-40-95-74.ip38.fastwebnet.it] has joined #scheme 09:58:11 MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has joined #scheme 09:59:16 Is there any common name for this function: (lambda (pred? f x) (if pred? (f x) x)) 10:01:56 I would call it POSSIBLY-TRANSFORM, its only real purpose is to avoid an awkward LET for the x expression 10:02:39 tom_i_ [~thomasing@cmc.beaming.biz] has joined #scheme 10:05:11 Like (possibly-transform sunny? add-sunglasses (create-human-being genome)) vs. (let ((x (create-human-being genome))) (if sunny? (add-sunglasses x) x)) 10:05:57 In my eyes the first is marginally prettier, but then I'm probably insane 10:06:04 -!- tom_i [~thomasing@cmc.beaming.biz] has quit [Ping timeout: 260 seconds] 10:08:14 tom_i [~thomasing@cmc.beaming.biz] has joined #scheme 10:11:08 -!- tom_i_ [~thomasing@cmc.beaming.biz] has quit [Ping timeout: 240 seconds] 10:18:48 amoe: why not build that predicate into your f? 10:32:04 hkBst: in this case PRED? is a global option / parameter and I would like the transform function F to stay independent of that, for easier testing / in case I want to move it around 10:40:01 -!- tuubow [~adityavit@c-24-0-148-151.hsd1.nj.comcast.net] has quit [Ping timeout: 276 seconds] 11:00:00 kpal [~kpal@janus-nat-128-240-225-120.ncl.ac.uk] has joined #scheme 11:03:17 -!- kniu [~kniu@pool-173-75-156-3.pitbpa.east.verizon.net] has quit [Ping timeout: 246 seconds] 11:34:30 ThePawnBreak [Cristi@94.177.108.25] has joined #scheme 11:55:57 jao [~user@pdpc/supporter/professional/jao] has joined #scheme 11:58:58 -!- rageous [~Adium@71-215-199-132.mpls.qwest.net] has quit [Quit: Leaving.] 12:00:20 -!- jao [~user@pdpc/supporter/professional/jao] has quit [Ping timeout: 246 seconds] 12:07:06 soveran [~soveran@186.19.214.247] has joined #scheme 12:10:26 adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has joined #scheme 12:14:54 answer_42 [~user@ip82-139-85-114.lijbrandt.net] has joined #scheme 12:28:45 -!- confab [~confab@c-71-193-9-153.hsd1.ca.comcast.net] has quit [Quit: Lost terminal] 12:34:15 DGASAU` [~user@91.218.144.129] has joined #scheme 12:34:49 samth [~samth@c-66-31-201-165.hsd1.ma.comcast.net] has joined #scheme 12:38:00 -!- DGASAU [~user@91.218.144.129] has quit [Remote host closed the connection] 12:47:39 -!- MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has quit [Ping timeout: 245 seconds] 12:53:43 *ski* wonders what operations didi would like to perform on these trees 13:05:32 phax [~phax@cpc14-haye17-2-0-cust110.haye.cable.virginmedia.com] has joined #scheme 13:05:32 -!- phax [~phax@cpc14-haye17-2-0-cust110.haye.cable.virginmedia.com] has quit [Changing host] 13:05:32 phax [~phax@unaffiliated/phax] has joined #scheme 13:06:12 -!- adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has quit [Quit: adu] 13:08:50 leo2007 [~leo@222.130.136.32] has joined #scheme 13:09:18 gcartier [~gcartier@modemcable026.84-70-69.static.videotron.ca] has joined #scheme 13:11:29 -!- answer_42 [~user@ip82-139-85-114.lijbrandt.net] has quit [Remote host closed the connection] 13:15:03 -!- noam [~noam@213.57.83.2] has quit [Read error: Connection reset by peer] 13:15:16 asumu [~at@2001:470:b:b7:1e6f:65ff:fe23:c3d4] has joined #scheme 13:15:42 noam [~noam@213.57.83.2] has joined #scheme 13:19:18 X-Scale [name@2001:470:1f14:135b::2] has joined #scheme 13:22:55 xwl [~user@123.108.223.115] has joined #scheme 13:28:11 -!- samth [~samth@c-66-31-201-165.hsd1.ma.comcast.net] has quit [Ping timeout: 246 seconds] 13:29:55 lcc [~user@unaffiliated/lcc] has joined #scheme 13:30:23 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Quit: Computer has gone to sleep.] 13:40:04 Patches [~Patches@user-12lc886.cable.mindspring.com] has joined #scheme 13:43:18 adu [~ajr@64.134.101.211] has joined #scheme 13:46:22 -!- adu [~ajr@64.134.101.211] has quit [Client Quit] 13:49:24 adu [~ajr@64.134.101.211] has joined #scheme 13:51:18 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 13:52:22 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 13:58:38 add^_ [~add^_^@m212-152-11-21.cust.tele2.se] has joined #scheme 14:01:13 -!- samth_away is now known as samth 14:03:13 -!- kpal [~kpal@janus-nat-128-240-225-120.ncl.ac.uk] has quit [Ping timeout: 244 seconds] 14:07:28 -!- frugalfirbolg [~Joseph@cpe-75-180-54-117.columbus.res.rr.com] has quit [Ping timeout: 265 seconds] 14:10:22 -!- bitonic [~Francesco@93-40-95-74.ip38.fastwebnet.it] has quit [Ping timeout: 246 seconds] 14:13:31 mark_weaver [~user@209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 14:15:49 -!- adu [~ajr@64.134.101.211] has quit [Ping timeout: 276 seconds] 14:20:54 -!- leo2007 [~leo@222.130.136.32] has quit [Quit: reboot] 14:23:10 leo2007 [~leo@222.130.136.32] has joined #scheme 14:26:33 -!- moll [~user@150.181.35.213.dyn.estpak.ee] has quit [Quit: "If you put a million monkeys at a million keyboards, one of them will eventually write a Java program. The rest of them will write Perl programs."] 14:27:15 -!- lcc [~user@unaffiliated/lcc] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 14:27:16 bitonic [~Francesco@93-40-95-74.ip38.fastwebnet.it] has joined #scheme 14:31:35 -!- ahinki [~chatzilla@212.99.10.150] has quit [Quit: ChatZilla 0.9.88.1 [Firefox 12.0/20120321033733]] 14:37:48 -!- jrslepak [~jrslepak@c-71-233-148-123.hsd1.ma.comcast.net] has quit [Quit: What happened to Systems A through E?] 14:41:39 ski: Well, I was trying to make one just to see if it was possible. What actually triggered the desire is that I've implemented a priority queue using vectors and I started to wonder with one could do it without mutation. 14:42:14 sawgij [~sawjig@gateway/tor-sasl/sawjig] has joined #scheme 14:42:54 well, you can implement it using trees not that hard, iirc 14:43:13 *ski* wondered more what didi wanted parent references for 14:45:14 ski: Maybe there are algorithms that implement priority queues using another strategy, but the one I know of have to look at parents of nodes. 14:45:27 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 14:45:40 -!- X-Scale [name@2001:470:1f14:135b::2] has quit [Ping timeout: 272 seconds] 14:45:50 ski: It uses a heap. 14:49:01 X-Scale` [name@2001:470:1f14:135b::2] has joined #scheme 14:51:37 -!- BigEndian [~hurp@li230-104.members.linode.com] has quit [Ping timeout: 252 seconds] 14:51:43 BigEndian [~hurp@li230-104.members.linode.com] has joined #scheme 14:52:02 didi: are you aware of lazy pairing heaps, or hinze's priority search queues? 14:52:05 *ski* goes to fetch his copy of "Purely Functional Data Structures" 14:52:15 mark_weaver: No, I'm not. 14:52:24 ski: Uh, is there such a book? 14:52:39 didi: yes, I have it too. in fact, it's where I learned about lazy pairing heaps. 14:52:46 Niiiice. 14:52:54 it's by Chris Okasaki. _very_ cool book! 14:53:05 -!- langmartin [~user@host-68-169-155-216.WISOLT2.epbfi.com] has quit [Remote host closed the connection] 14:53:43 I'm definitely going to take a look at it. 14:54:10 langmartin [~user@host-68-169-155-216.WISOLT2.epbfi.com] has joined #scheme 14:55:10 -!- X-Scale` [name@2001:470:1f14:135b::2] has quit [Ping timeout: 272 seconds] 14:56:17 didi : as i thought, there is no parent stuff going on in the leftist heaps discussed, at least 14:57:57 that sounds like rudybot 14:58:05 rudybot: leftist! 14:58:06 qu1j0t3: Most people are not leftist because they're evil. Only because they've been lied to, and they've been too lazy to find that out. 14:58:27 rudybot: heaps of info 14:58:28 qu1j0t3: Heaps. 14:58:36 I'd be surprised to find parent pointers in any persistent purely-function data structure, because it prevents reusing subtrees. 15:00:09 -!- Patches [~Patches@user-12lc886.cable.mindspring.com] has quit [Quit: Leaving.] 15:00:27 X-Scale` [name@2001:470:1f14:135b::2] has joined #scheme 15:01:57 -!- X-Scale` is now known as X-Scale 15:04:40 kk` [~kk@unaffiliated/kk/x-5380134] has joined #scheme 15:18:03 ssbr_ [~ssbr@python/site-packages/ssbr] has joined #scheme 15:20:20 adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has joined #scheme 15:22:49 -!- adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has quit [Read error: Connection reset by peer] 15:23:28 adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has joined #scheme 15:24:33 But isn't evil in lazyness? 15:26:42 -!- asumu [~at@2001:470:b:b7:1e6f:65ff:fe23:c3d4] has quit [Remote host closed the connection] 15:27:57 ski: If you use your heap to implement heapsort, for instance, you really don't need a parent, or at least, using the algorithm that I know of. But for a priority queue, yes. 15:30:34 Okasaki's book is available online. Awesome. 15:30:44 well, not quite 15:30:49 pjb: most likely yes, evil can result from being passive. 15:30:50 his thesis is available online 15:30:58 oic 15:31:01 the book covers some more stuff than the thesis, iirc 15:31:04 pjb: 'all that is required,' etc. 15:31:16 asumu [~at@2001:470:b:b7:1e6f:65ff:fe23:c3d4] has joined #scheme 15:31:17 pjb: 'for evil to triumph is for good men to do nothing' etc 15:36:57 -!- wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has quit [Ping timeout: 260 seconds] 15:44:19 albacker [~eni@gob75-5-82-230-88-217.fbx.proxad.net] has joined #scheme 15:44:19 -!- albacker [~eni@gob75-5-82-230-88-217.fbx.proxad.net] has quit [Changing host] 15:44:19 albacker [~eni@unaffiliated/enyx] has joined #scheme 15:50:12 -!- DGASAU` [~user@91.218.144.129] has quit [Read error: Connection reset by peer] 15:53:57 -!- leppie [~lolcow@196-210-248-118.dynamic.isadsl.co.za] has quit [Ping timeout: 248 seconds] 15:58:20 -!- xwl [~user@123.108.223.115] has quit [Remote host closed the connection] 15:59:02 leppie [~lolcow@196-210-199-86.dynamic.isadsl.co.za] has joined #scheme 16:09:44 lcc [~user@unaffiliated/lcc] has joined #scheme 16:10:33 tomodo [~tomodo@gateway/tor-sasl/tomodo] has joined #scheme 16:10:55 -!- leppie [~lolcow@196-210-199-86.dynamic.isadsl.co.za] has quit [Ping timeout: 264 seconds] 16:15:34 leppie [~lolcow@196-210-248-118.dynamic.isadsl.co.za] has joined #scheme 16:19:53 -!- MichaelRaskin [~MichaelRa@3ad50e34.broker.freenet6.net] has left #scheme 16:22:06 DGASAU [~user@91.218.144.129] has joined #scheme 16:22:35 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Quit: Konversation terminated!] 16:23:13 -!- tom_i [~thomasing@cmc.beaming.biz] has quit [Ping timeout: 276 seconds] 16:27:08 CampinSam [~CampinSam@24-176-98-217.dhcp.jcsn.tn.charter.com] has joined #scheme 16:33:03 -!- REPLeffect [~REPLeffec@69.54.115.254] has quit [Ping timeout: 244 seconds] 16:33:13 Okasaki's thesis is very interesting. Thanks for pointing that out. 16:33:23 REPLeffect [~REPLeffec@69.54.115.254] has joined #scheme 16:40:13 -!- leo2007 [~leo@222.130.136.32] has quit [Ping timeout: 265 seconds] 16:49:26 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #scheme 16:49:38 -!- dous [~dous@unaffiliated/dous] has quit [Remote host closed the connection] 16:55:38 mgsk [~mark@li357-97.members.linode.com] has joined #scheme 17:01:35 toekutr [~user@50-0-51-2.dsl.static.sonic.net] has joined #scheme 17:02:17 ijp [~user@host86-167-250-91.range86-167.btcentralplus.com] has joined #scheme 17:04:36 didi: it's not exactly what you want, but you can often fake parent pointers with a zipper 17:05:05 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Remote host closed the connection] 17:06:16 -!- leppie [~lolcow@196-210-248-118.dynamic.isadsl.co.za] has quit [Ping timeout: 272 seconds] 17:07:55 didi [~user@unaffiliated/didi/x-1022147] has joined #scheme 17:08:31 ijp: I took a look at zippers. I've never heard of them before. I admit that I still don't entirely get them. 17:11:08 leppie [~lolcow@196-210-148-30.dynamic.isadsl.co.za] has joined #scheme 17:12:43 mmc1 [~michal@178-85-63-71.dynamic.upc.nl] has joined #scheme 17:17:09 _schulte_ [~eschulte@adaptive.cs.unm.edu] has joined #scheme 17:17:36 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 17:18:00 -!- REPLeffect [~REPLeffec@69.54.115.254] has quit [Ping timeout: 244 seconds] 17:19:36 djcb [~user@a88-114-95-13.elisa-laajakaista.fi] has joined #scheme 17:20:09 tuubow [~adityavit@c-24-0-148-151.hsd1.nj.comcast.net] has joined #scheme 17:31:25 jao [~user@160.Red-81-39-169.dynamicIP.rima-tde.net] has joined #scheme 17:31:33 tcleval [~funnyguy@186.213.56.210] has joined #scheme 17:31:36 -!- jao [~user@160.Red-81-39-169.dynamicIP.rima-tde.net] has quit [Changing host] 17:31:36 jao [~user@pdpc/supporter/professional/jao] has joined #scheme 17:31:41 REPLeffect [~REPLeffec@69.54.115.254] has joined #scheme 17:31:50 didi: you can think of zippers (at least the original formulation) as like having a tree, and a stack. As you go down the tree you move the old head onto the stack, and when you go back up you move the head from the stack onto the tree. 17:31:58 hi schemers. is there a way to allow autocompletion on emacs scheme inferior mode? 17:32:09 it sometimes works in "geiser" 17:32:16 then again, it sometimes hangs 17:32:16 tom_i [~thomasing@ingserv.demon.co.uk] has joined #scheme 17:32:49 I've never had it hang on autocompletion, but I've had it "hang" on repl output tons of times 17:32:54 ijp: I see... Thanks. 17:35:19 didi: of course, it's not just the head element it needs to keep track of, but the other children as well 17:35:49 but that's the best analogy I can think of without drawing a diagram 17:36:05 ijp: Hehe, that's cool. It helped a lot, actually. 17:36:30 by the way I am using quack, coz geiser doesnt have gambit-c support yet 17:36:43 ah 17:37:06 well, my hunch is that any useful autocompletion requires emacs to cooperate closely with the underlying scheme, which is ... difficult. 17:37:15 Hence geiser only supporting two schemes (at the moment) 17:37:24 perhaps you should add gambit-c support to geiser! 17:37:26 *offby1* ducks 17:38:53 Well, jao just joined the channel. Would be the best person to ask about Geiser and Gambit-C support, surely. :-P 17:39:16 -!- tuubow [~adityavit@c-24-0-148-151.hsd1.nj.comcast.net] has quit [Ping timeout: 276 seconds] 17:39:21 aw, g'wan 17:39:29 -!- leppie [~lolcow@196-210-148-30.dynamic.isadsl.co.za] has quit [Ping timeout: 250 seconds] 17:40:16 is jao Geiser developer? 17:40:51 tcleval: http://savannah.nongnu.org/projects/geiser/ <-- you tell me 17:41:22 i would love to support gambit-c, but was under the impression that its developers are more interested in (on-going?) slime support 17:41:51 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 17:42:31 -!- sawgij [~sawjig@gateway/tor-sasl/sawjig] has quit [Ping timeout: 276 seconds] 17:42:57 jao: that I wouldnt know. But it would be really nice to have something on geiser lines to gambit-c 17:43:38 jao: this days I am using quack mode, so I dont know how good is slime support for gambit-c 17:45:25 leppie [~lolcow@196-210-148-30.dynamic.isadsl.co.za] has joined #scheme 17:46:47 Gambit slime support is very partial and hasnt been active for quite a while 17:46:55 -!- lcc [~user@unaffiliated/lcc] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 17:47:23 tupi [~david@139.82.89.24] has joined #scheme 17:48:42 offby1, if you could send me a reproducible way of hanging geiser on completion, i'd be a happy man :) it doesn't hang for me 17:49:02 jao: believe me, I've tried to come up with a reliable repro 17:49:45 My suspicion, as with many emacs annoyances, is that it's something to do with my (ginormous) ~/.emacs, and binary-searching that is _really hard_ 17:51:31 tuubow [~adityavit@c-69-136-105-164.hsd1.nj.comcast.net] has joined #scheme 17:51:34 turbofail [~user@c-107-3-149-149.hsd1.ca.comcast.net] has joined #scheme 17:51:35 -!- leppie [~lolcow@196-210-148-30.dynamic.isadsl.co.za] has quit [Ping timeout: 244 seconds] 17:54:22 -!- hypnocat [~hypnocat@unaffiliated/hypnocat] has quit [Quit: ZNC - http://znc.sourceforge.net] 17:56:56 offby1, fair enough 18:00:24 lolcow [~lolcow@196-210-234-182.dynamic.isadsl.co.za] has joined #scheme 18:04:55 -!- lolcow [~lolcow@196-210-234-182.dynamic.isadsl.co.za] has quit [Ping timeout: 264 seconds] 18:06:09 -!- ssbr_ [~ssbr@python/site-packages/ssbr] has quit [Read error: Operation timed out] 18:07:08 -!- githogori [~githogori@c-50-131-15-16.hsd1.ca.comcast.net] has quit [Ping timeout: 246 seconds] 18:10:20 leppie [~lolcow@196-210-148-30.dynamic.isadsl.co.za] has joined #scheme 18:15:41 Patches [~Patches@user-12lc886.cable.mindspring.com] has joined #scheme 18:15:59 namidark[w] [~namidark@CS2252.cs.fsu.edu] has joined #scheme 18:16:12 How can I run a scheme file from the command line without going into the REPL? 18:16:49 namidark[w]: what scheme implementation? 18:16:54 depends on the implementation, but usually 'impl foo.scm' 18:17:13 racket [filename] for racket/plt 18:17:17 for instance 18:18:11 Hm I dont seem to have either of those with the MIT scheme I installed 18:19:15 Redirection was what I needed... thanks though :) 18:19:19 -!- namidark[w] [~namidark@CS2252.cs.fsu.edu] has left #scheme 18:19:55 -!- leppie [~lolcow@196-210-148-30.dynamic.isadsl.co.za] has quit [Ping timeout: 260 seconds] 18:20:19 *mario-goulart* wonders why MIT scheme seem to attract so many newbies 18:20:27 SICP I'd guess 18:20:41 Oh, good catch. 18:20:42 maybe because it gets the 'scheme' executable name 18:24:45 yep, I started with mit-scheme coz of SICP, but a few weeks latter I was jumping from implementation to implementation 18:24:50 leppie [~lolcow@196-210-234-182.dynamic.isadsl.co.za] has joined #scheme 18:25:23 eventually you find that nice little scheme in the country you can call home 18:26:46 The first Scheme I used was Guile, because it was GNU's extension language. :-) 18:28:10 (This was almost 10 years ago.) There were some upsides, like a really good POSIX interface, but also some downsides, because back then Guile was fully interpreted and it instilled a "Scheme is an interpreted language" mindset. 18:28:41 It took many years for me to overcome that. 18:29:10 sawgij [~sawjig@gateway/tor-sasl/sawjig] has joined #scheme 18:29:46 i don't think i ever used MIT scheme 18:29:55 other than to play with edwin a little bit 18:31:13 i'm trying to remember what my first scheme was... it may have been guile 18:31:14 turbofail: I tried to use edwin, but somehow it didnt work for me 18:31:29 yeah same here 18:31:49 my first scheme was PLT 18:31:51 -!- leppie [~lolcow@196-210-234-182.dynamic.isadsl.co.za] has quit [Ping timeout: 265 seconds] 18:31:59 because my professor freshman year 18:32:00 er when you say didn't work does that mean you didn't like the way it operated, or it just didn't operate at all? 18:32:03 for accel. intro 18:32:13 taught in DrScheme 18:32:34 Cool. Racket is definitely a very strong implementation, so it's a good choice. 18:32:57 it continues to impress me 18:33:02 wingo [~wingo@90.164.198.39] has joined #scheme 18:33:05 And obviously, it doesn't reinforce an "everything is interpreted" mindset, because, well, Racket isn't interpreted. :-) 18:33:24 (Guile 2.0 isn't interpreted either. But that was many years after I started learning Scheme.) 18:33:54 i definitely tried mzscheme pretty early on... i think due to a combination of the fact that it was the main scheme implementation used in the debian language shootout, and because arc used it 18:34:31 i was curious about arc, and then subsequently much less curious 18:35:13 Arc was kind of all show and no go, in my limited impression at least. :-) 18:36:04 rudybot: arc: because it's the syntax for 'if' that's holding lisp back 18:36:05 ijp: let's make a big story arc about a person who gets explicitly reset every episode. 18:36:07 Also, if I remember correctly, PG made Eli implement a really crazy hack that allowed Racket's cons cells to be mutable. :-O 18:36:34 ijp: :-D 18:37:01 leppie [~lolcow@196-210-148-30.dynamic.isadsl.co.za] has joined #scheme 18:37:12 ssbr_ [~ssbr@python/site-packages/ssbr] has joined #scheme 18:37:16 I was there -- he had him in a headlock and eli was all like "ow ow that hurts" and pg was all like "do it do it" 18:38:09 .oO(he was there, and he didn't even think to youtube it) 18:39:44 kniu [~kniu@pool-173-75-156-3.pitbpa.east.verizon.net] has joined #scheme 18:40:52 I was busy hosing them down with seltzer 18:41:43 *ijp* let's offby1 off with a warning 18:42:53 (free apostrophe with every warning) 18:43:13 ;') 18:46:13 *offby1* picks up the apostrophe's and add's them to his collection 18:46:21 once I fill up the jar I take them to the bank. 18:46:51 the exchange rate for semi-colons is pretty good these days 18:47:19 seems no-one wants them, except C programmers 18:47:26 ijp: ;-) 18:48:01 dzhus [~sphinx@176.14.94.92] has joined #scheme 18:49:01 I think they melt them down and make underlines out of them 18:50:03 -!- leppie [~lolcow@196-210-148-30.dynamic.isadsl.co.za] has quit [Read error: No route to host] 18:50:19 leppie [~lolcow@196-210-148-30.dynamic.isadsl.co.za] has joined #scheme 18:55:27 -!- phax [~phax@unaffiliated/phax] has quit [Quit: Leaving] 18:56:16 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 18:57:55 -!- ThePawnBreak [Cristi@94.177.108.25] has quit [Ping timeout: 276 seconds] 19:16:30 oneirophren [oneirophre@91.196.91.40] has joined #scheme 19:18:15 realitygrill [~realitygr@c-68-41-30-50.hsd1.mi.comcast.net] has joined #scheme 19:19:51 wollw [~davidsher@75-101-85-170.dsl.dynamic.sonic.net] has joined #scheme 19:21:48 tclevalm2 [~funnyguy@177.19.125.81] has joined #scheme 19:22:43 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Remote host closed the connection] 19:22:59 -!- tcleval [~funnyguy@186.213.56.210] has quit [Read error: Connection reset by peer] 19:23:00 -!- tclevalm2 is now known as tcleval 19:26:49 soveran [~soveran@186.19.214.247] has joined #scheme 19:37:05 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has left #scheme 19:40:21 -!- realitygrill [~realitygr@c-68-41-30-50.hsd1.mi.comcast.net] has quit [Quit: realitygrill] 19:45:08 realitygrill [~realitygr@c-68-41-30-50.hsd1.mi.comcast.net] has joined #scheme 19:45:39 -!- Patches [~Patches@user-12lc886.cable.mindspring.com] has quit [Quit: Leaving.] 19:46:04 arcfide [~arcfide@c-98-223-204-153.hsd1.in.comcast.net] has joined #scheme 19:47:45 soveran_ [~soveran@186.19.214.247] has joined #scheme 19:50:02 chupish [182c5af4@gateway/web/freenode/ip.24.44.90.244] has joined #scheme 19:50:56 -!- soveran [~soveran@186.19.214.247] has quit [Ping timeout: 244 seconds] 19:53:29 -!- soveran_ is now known as soveran 20:04:05 realitygrill_ [~realitygr@c-68-41-30-50.hsd1.mi.comcast.net] has joined #scheme 20:07:55 -!- realitygrill [~realitygr@c-68-41-30-50.hsd1.mi.comcast.net] has quit [Ping timeout: 264 seconds] 20:07:55 -!- realitygrill_ is now known as realitygrill 20:15:16 -!- sawgij [~sawjig@gateway/tor-sasl/sawjig] has quit [Ping timeout: 276 seconds] 20:16:41 sawgij [~sawjig@gateway/tor-sasl/sawjig] has joined #scheme 20:21:22 -!- tom_i [~thomasing@ingserv.demon.co.uk] has quit [Ping timeout: 246 seconds] 20:25:22 amgarchIn9 [~amgarchin@p4FD611E6.dip0.t-ipconnect.de] has joined #scheme 20:27:09 ping 20:29:16 hi, is this a fold? http://pastebin.com/9YbJkzLj 20:34:56 -!- CampinSam [~CampinSam@24-176-98-217.dhcp.jcsn.tn.charter.com] has quit [Quit: leaving] 20:37:13 githogori [~githogori@c-50-131-15-16.hsd1.ca.comcast.net] has joined #scheme 20:38:21 I think an unfold or maybe a scan fits better 20:39:13 antithesis [~antithesi@s51476e07.adsl.wanadoo.nl] has joined #scheme 20:40:21 ... because it looks too complicated for what it actually does. 20:41:27 better yet (map - '(1 2 3 5 9 100) '(-3 1 2 3 5 9 100)) 20:41:45 so (define (deltas start series) (map - series (cons start series))) 20:41:59 rudybot: eval (map - '(1 2 3 5 9 100) '(-3 1 2 3 5 9 100)) 20:41:59 ijp: your sandbox is ready 20:41:59 ijp: error: map: all lists must have same size; arguments were: # '(1 2 3 5 9 100) '(-3 1 2 3 5 9 100) 20:42:06 rudybot: eval (require srfi/1) 20:42:06 ijp: Done. 20:42:08 rudybot: eval (map - '(1 2 3 5 9 100) '(-3 1 2 3 5 9 100)) 20:42:08 ijp: ; Value: (4 1 1 2 4 91) 20:42:35 rudybot: and don't you forget it 20:42:36 ijp: Dynamic binding was caused by McCarthy (or Minksy? I forget, now) misunderstanding Church's paper. 20:43:54 amgarchIn9: is that an acceptable solution? 20:44:26 I think it accurately captures what you are trying to do 20:46:09 yes, much clearer. But I get an uneasy feeling when zipping lists of different lengths. 20:46:47 I think you can get an ointment for that 20:47:43 rudybot: simply rub it in between your parentheses before you go to bed at night 20:47:44 ijp: just rub it in, why dontcha ? 20:48:46 -!- qu1j0t3 is now known as qu1-dot-com 20:48:53 that reminds me of a last beer left in the fridge ... 20:51:18 -!- realitygrill [~realitygr@c-68-41-30-50.hsd1.mi.comcast.net] has quit [Quit: realitygrill] 20:54:19 -!- antithesis [~antithesi@s51476e07.adsl.wanadoo.nl] has quit [Quit: yes leaving] 20:57:33 bfgun [~b_fin_g@r186-48-212-245.dialup.adsl.anteldata.net.uy] has joined #scheme 20:57:46 realitygrill [~realitygr@c-68-41-30-50.hsd1.mi.comcast.net] has joined #scheme 21:00:59 -!- bfig [~b_fin_g@r186-48-213-103.dialup.adsl.anteldata.net.uy] has quit [Ping timeout: 245 seconds] 21:01:36 -!- adu [~ajr@pool-72-83-26-98.washdc.fios.verizon.net] has quit [Quit: adu] 21:03:29 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 21:04:21 soveran [~soveran@186.19.214.247] has joined #scheme 21:05:19 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 21:11:26 -!- oneirophren [oneirophre@91.196.91.40] has left #scheme 21:13:58 -!- langmartin [~user@host-68-169-155-216.WISOLT2.epbfi.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 21:15:25 bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has joined #scheme 21:17:42 -!- keenbug [~daniel@p4FE39C0C.dip.t-dialin.net] has quit [Ping timeout: 272 seconds] 21:21:07 MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has joined #scheme 21:23:21 -!- tupi [~david@139.82.89.24] has quit [Quit: Leaving] 21:29:34 -!- tomodo [~tomodo@gateway/tor-sasl/tomodo] has quit [Quit: leaving] 21:33:20 tomodo [~tomodo@gateway/tor-sasl/tomodo] has joined #scheme 21:34:21 -!- gravicappa [~gravicapp@ppp91-77-183-12.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 21:34:48 confab [~confab@public-nat2.arc.losrios.edu] has joined #scheme 21:39:09 soveran [~soveran@host186.190-136-33.telecom.net.ar] has joined #scheme 21:41:01 -!- soveran [~soveran@host186.190-136-33.telecom.net.ar] has quit [Remote host closed the connection] 21:41:57 -!- pygospa [~Pygosceli@kiel-5f7698b4.pool.mediaWays.net] has quit [Disconnected by services] 21:42:10 pygospa [~Pygosceli@kiel-4d0672e7.pool.mediaWays.net] has joined #scheme 21:48:39 -!- gcartier [~gcartier@modemcable026.84-70-69.static.videotron.ca] has quit [Remote host closed the connection] 21:49:46 -!- _schulte_ [~eschulte@adaptive.cs.unm.edu] has quit [Ping timeout: 244 seconds] 21:49:52 Patches [~Patches@user-12lc886.cable.mindspring.com] has joined #scheme 21:53:10 -!- ssbr_ [~ssbr@python/site-packages/ssbr] has quit [Ping timeout: 272 seconds] 21:55:20 -!- mmc1 [~michal@178-85-63-71.dynamic.upc.nl] has quit [Ping timeout: 246 seconds] 22:01:58 jrslepak [~jrslepak@nomad.ccs.neu.edu] has joined #scheme 22:18:45 mmc1 [~michal@178-85-63-71.dynamic.upc.nl] has joined #scheme 22:19:21 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #scheme 22:21:47 CampinSam [~CampinSam@24-176-98-217.dhcp.jcsn.tn.charter.com] has joined #scheme 22:29:49 -!- tcleval [~funnyguy@177.19.125.81] has quit [Remote host closed the connection] 22:30:45 -!- samth is now known as samth_away 22:31:17 -!- wingo [~wingo@90.164.198.39] has quit [Ping timeout: 248 seconds] 22:35:33 -!- realitygrill [~realitygr@c-68-41-30-50.hsd1.mi.comcast.net] has quit [Quit: realitygrill] 22:38:00 -!- amgarchIn9 [~amgarchin@p4FD611E6.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 22:45:41 phax [~phax@cpc14-haye17-2-0-cust110.haye.cable.virginmedia.com] has joined #scheme 22:45:41 -!- phax [~phax@cpc14-haye17-2-0-cust110.haye.cable.virginmedia.com] has quit [Changing host] 22:45:41 phax [~phax@unaffiliated/phax] has joined #scheme 22:49:16 soveran [~soveran@186.136.168.108] has joined #scheme 22:53:25 realitygrill [~realitygr@c-68-41-30-50.hsd1.mi.comcast.net] has joined #scheme 22:54:58 -!- add^_ [~add^_^@m212-152-11-21.cust.tele2.se] has quit [Quit: add^_] 22:57:59 -!- albacker [~eni@unaffiliated/enyx] has quit [Ping timeout: 246 seconds] 23:02:37 -!- dzhus [~sphinx@176.14.94.92] has quit [Read error: Connection reset by peer] 23:07:37 -!- turbofail [~user@c-107-3-149-149.hsd1.ca.comcast.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:17:06 -!- bfgun is now known as bfig 23:19:36 -!- chupish [182c5af4@gateway/web/freenode/ip.24.44.90.244] has quit [Ping timeout: 245 seconds] 23:25:56 -!- soveran [~soveran@186.136.168.108] has quit [Remote host closed the connection] 23:32:24 dous [~dous@unaffiliated/dous] has joined #scheme 23:35:14 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [] 23:35:28 -!- sawgij [~sawjig@gateway/tor-sasl/sawjig] has quit [Ping timeout: 276 seconds] 23:36:16 mgodshall [~quassel@pool-108-36-207-226.phlapa.fios.verizon.net] has joined #scheme 23:38:34 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #scheme 23:40:15 sawgij [~sawjig@gateway/tor-sasl/sawjig] has joined #scheme 23:42:46 mmajchrzak [~mmajchrza@host-81-190-228-83.wroclaw.mm.pl] has joined #scheme 23:45:29 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Quit: Computer has gone to sleep.] 23:47:37 -!- realitygrill [~realitygr@c-68-41-30-50.hsd1.mi.comcast.net] has quit [Quit: realitygrill] 23:50:52 jason [~user@c-67-169-92-197.hsd1.ca.comcast.net] has joined #scheme 23:51:18 -!- jason is now known as Guest82607 23:51:31 -!- Guest82607 is now known as turbofail 23:59:35 -!- mmajchrzak [~mmajchrza@host-81-190-228-83.wroclaw.mm.pl] has quit [Ping timeout: 246 seconds]