2015-01-31T00:01:07Z _leb quit (Quit: Computer has gone to sleep.) 2015-01-31T00:02:37Z adu quit (Client Quit) 2015-01-31T00:03:22Z adu joined #scheme 2015-01-31T00:05:12Z jeapostrophe joined #scheme 2015-01-31T00:05:12Z jeapostrophe quit (Changing host) 2015-01-31T00:05:12Z jeapostrophe joined #scheme 2015-01-31T00:09:02Z AkashicLegend joined #scheme 2015-01-31T00:14:29Z adu quit (Quit: adu) 2015-01-31T00:16:00Z turtleman_ joined #scheme 2015-01-31T00:23:18Z AkashicLegend quit (Quit: B R B) 2015-01-31T00:26:39Z kongtomorrow quit 2015-01-31T00:27:57Z rtra quit (Ping timeout: 265 seconds) 2015-01-31T00:29:29Z theseb left #scheme 2015-01-31T00:31:49Z rtra joined #scheme 2015-01-31T00:35:22Z Natch_w joined #scheme 2015-01-31T00:38:06Z Natch quit (Ping timeout: 265 seconds) 2015-01-31T00:52:01Z Bahman quit (Quit: Ave atque vale) 2015-01-31T00:55:24Z davexunit quit (Quit: Later) 2015-01-31T00:55:46Z kongtomorrow joined #scheme 2015-01-31T00:56:49Z kongtomorrow quit (Read error: Connection reset by peer) 2015-01-31T00:57:23Z kongtomorrow joined #scheme 2015-01-31T00:57:39Z jeapostrophe quit (Ping timeout: 264 seconds) 2015-01-31T00:59:51Z jgrant quit (Ping timeout: 265 seconds) 2015-01-31T01:04:20Z adu joined #scheme 2015-01-31T01:05:15Z jeremycw joined #scheme 2015-01-31T01:21:04Z echo-area joined #scheme 2015-01-31T01:22:38Z Bahman joined #scheme 2015-01-31T01:23:24Z kongtomorrow quit 2015-01-31T01:42:15Z kongtomorrow joined #scheme 2015-01-31T01:45:17Z AkashicLegend joined #scheme 2015-01-31T01:46:14Z BossKonaSegwaY joined #scheme 2015-01-31T01:48:42Z xyh quit (Remote host closed the connection) 2015-01-31T01:49:31Z daviid joined #scheme 2015-01-31T01:51:19Z kongtomorrow quit 2015-01-31T01:58:25Z acarrico quit (Ping timeout: 256 seconds) 2015-01-31T01:59:25Z kongtomorrow joined #scheme 2015-01-31T01:59:30Z amgarchIn9 quit (Ping timeout: 244 seconds) 2015-01-31T02:06:52Z acarrico joined #scheme 2015-01-31T02:08:49Z tobik quit (Ping timeout: 255 seconds) 2015-01-31T02:09:25Z tobik joined #scheme 2015-01-31T02:12:02Z xyh joined #scheme 2015-01-31T02:14:17Z cosmez quit (Ping timeout: 256 seconds) 2015-01-31T02:16:01Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-31T02:16:33Z turtleman_ quit (Ping timeout: 244 seconds) 2015-01-31T02:16:44Z Bahman quit (Quit: Ave atque vale) 2015-01-31T02:18:26Z Bahman joined #scheme 2015-01-31T02:22:18Z dsp quit (Remote host closed the connection) 2015-01-31T02:27:43Z echo-area quit (Read error: Connection reset by peer) 2015-01-31T02:28:34Z echo-area joined #scheme 2015-01-31T02:33:09Z ehaliewicz quit (Ping timeout: 245 seconds) 2015-01-31T02:35:56Z turtleman_ joined #scheme 2015-01-31T02:36:48Z Riastradh joined #scheme 2015-01-31T02:40:59Z _leb joined #scheme 2015-01-31T02:45:49Z jgrant joined #scheme 2015-01-31T02:53:58Z joneshf-laptop joined #scheme 2015-01-31T03:04:59Z Riastradh quit (Ping timeout: 250 seconds) 2015-01-31T03:13:37Z xyh quit (Read error: Connection reset by peer) 2015-01-31T03:16:37Z turtleman_ quit (Ping timeout: 256 seconds) 2015-01-31T03:32:29Z acarrico quit (Ping timeout: 256 seconds) 2015-01-31T03:32:38Z hiyosi joined #scheme 2015-01-31T03:34:24Z ravi_ joined #scheme 2015-01-31T03:35:08Z hellome joined #scheme 2015-01-31T03:45:47Z badkins quit 2015-01-31T03:52:53Z AkashicLegend quit (Quit: AkashicLegend) 2015-01-31T03:57:22Z daviid quit (Ping timeout: 240 seconds) 2015-01-31T04:00:56Z _leb quit (Read error: Connection reset by peer) 2015-01-31T04:03:20Z ehaliewicz joined #scheme 2015-01-31T04:09:18Z AkashicLegend joined #scheme 2015-01-31T04:10:32Z AkashicLegend quit (Client Quit) 2015-01-31T04:12:44Z joast quit (Quit: Leaving.) 2015-01-31T04:19:38Z jgrant quit (Remote host closed the connection) 2015-01-31T04:19:59Z jgrant joined #scheme 2015-01-31T04:31:42Z AkashicLegend joined #scheme 2015-01-31T04:33:40Z enitiz quit (Ping timeout: 264 seconds) 2015-01-31T04:39:26Z fsckd quit (Ping timeout: 272 seconds) 2015-01-31T04:40:19Z zwer quit (Ping timeout: 250 seconds) 2015-01-31T04:40:26Z zwer_n joined #scheme 2015-01-31T04:41:30Z b4283 joined #scheme 2015-01-31T04:57:52Z AkashicLegend quit (Ping timeout: 240 seconds) 2015-01-31T04:57:53Z ravi_ quit (Ping timeout: 246 seconds) 2015-01-31T05:02:10Z bb010g joined #scheme 2015-01-31T05:05:53Z AkashicLegend joined #scheme 2015-01-31T05:24:05Z AkashicLegend quit (Quit: AkashicLegend) 2015-01-31T05:49:01Z excelsior joined #scheme 2015-01-31T05:54:47Z narendraj9 joined #scheme 2015-01-31T05:58:48Z xyh joined #scheme 2015-01-31T06:00:33Z narendraj9 quit (Quit: WeeChat 1.1.1) 2015-01-31T06:02:06Z jeremycw quit (Ping timeout: 276 seconds) 2015-01-31T06:03:44Z zwer_n is now known as zwer 2015-01-31T06:05:26Z Natch_w quit (Excess Flood) 2015-01-31T06:07:16Z Natch joined #scheme 2015-01-31T06:17:15Z nisstyre quit (Changing host) 2015-01-31T06:17:15Z nisstyre joined #scheme 2015-01-31T06:27:10Z jeremycw joined #scheme 2015-01-31T06:27:11Z vukcrni quit (Excess Flood) 2015-01-31T06:29:00Z vukcrni joined #scheme 2015-01-31T06:29:56Z ravi_ joined #scheme 2015-01-31T06:29:58Z gravicappa joined #scheme 2015-01-31T06:31:21Z jeremycw quit (Ping timeout: 246 seconds) 2015-01-31T06:47:27Z jeremycw joined #scheme 2015-01-31T06:49:31Z dsp joined #scheme 2015-01-31T07:08:27Z amoe quit (Ping timeout: 264 seconds) 2015-01-31T07:10:02Z amoe joined #scheme 2015-01-31T07:11:53Z gravicappa quit (Ping timeout: 240 seconds) 2015-01-31T07:12:30Z zadock quit (Quit: Leaving) 2015-01-31T07:13:47Z kongtomorrow quit 2015-01-31T07:16:35Z echo-area quit (Remote host closed the connection) 2015-01-31T07:17:23Z echo-area joined #scheme 2015-01-31T07:19:47Z joast joined #scheme 2015-01-31T07:24:03Z amoe quit (Ping timeout: 264 seconds) 2015-01-31T07:25:23Z jeremycw quit (Ping timeout: 256 seconds) 2015-01-31T07:25:29Z amoe joined #scheme 2015-01-31T07:31:03Z amoe quit (Ping timeout: 256 seconds) 2015-01-31T07:32:35Z amoe joined #scheme 2015-01-31T07:41:12Z amoe quit (Ping timeout: 272 seconds) 2015-01-31T07:48:23Z amoe joined #scheme 2015-01-31T07:55:58Z kongtomorrow joined #scheme 2015-01-31T08:00:03Z amoe quit (Ping timeout: 264 seconds) 2015-01-31T08:00:55Z Isp-sec joined #scheme 2015-01-31T08:00:57Z amoe joined #scheme 2015-01-31T08:05:14Z amoe quit (Ping timeout: 245 seconds) 2015-01-31T08:06:58Z amoe joined #scheme 2015-01-31T08:17:03Z amoe quit (Ping timeout: 246 seconds) 2015-01-31T08:18:04Z bb010g quit (Quit: Connection closed for inactivity) 2015-01-31T08:22:07Z jeremycw joined #scheme 2015-01-31T08:22:22Z gravicappa joined #scheme 2015-01-31T08:24:31Z ravi_ quit (Ping timeout: 265 seconds) 2015-01-31T08:26:17Z bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2015-01-31T08:26:48Z jeremycw quit (Ping timeout: 272 seconds) 2015-01-31T08:27:23Z amoe joined #scheme 2015-01-31T08:28:25Z kongtomorrow quit 2015-01-31T08:28:52Z BitPuffin quit (Ping timeout: 265 seconds) 2015-01-31T08:31:48Z vdamewood joined #scheme 2015-01-31T08:43:26Z bjz joined #scheme 2015-01-31T08:59:06Z TrueShiftBlue quit (Ping timeout: 272 seconds) 2015-01-31T08:59:24Z TrueShiftBlue joined #scheme 2015-01-31T09:13:51Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-31T09:17:19Z leppie quit (Ping timeout: 245 seconds) 2015-01-31T09:21:12Z zadock joined #scheme 2015-01-31T09:22:02Z leppie joined #scheme 2015-01-31T09:32:13Z ravi_ joined #scheme 2015-01-31T09:35:36Z uber_hulk joined #scheme 2015-01-31T09:44:10Z adu quit (Quit: adu) 2015-01-31T09:46:59Z ffs joined #scheme 2015-01-31T09:47:39Z sonstwo quit (Ping timeout: 265 seconds) 2015-01-31T10:10:52Z jeremycw joined #scheme 2015-01-31T10:14:21Z hiyosi joined #scheme 2015-01-31T10:15:14Z jeremycw quit (Ping timeout: 245 seconds) 2015-01-31T10:33:43Z copec quit (Ping timeout: 255 seconds) 2015-01-31T10:38:41Z excelsior quit (Quit: Lost terminal) 2015-01-31T10:40:58Z copec joined #scheme 2015-01-31T10:47:31Z hiroakip joined #scheme 2015-01-31T10:55:45Z oleo is now known as Guest84095 2015-01-31T10:57:20Z oleo__ joined #scheme 2015-01-31T10:58:55Z Guest84095 quit (Ping timeout: 255 seconds) 2015-01-31T11:21:54Z jeremycw joined #scheme 2015-01-31T11:22:37Z Kryo quit (Ping timeout: 264 seconds) 2015-01-31T11:24:31Z Kryo joined #scheme 2015-01-31T11:26:03Z jeremycw quit (Ping timeout: 246 seconds) 2015-01-31T11:26:27Z ravi_ quit (Ping timeout: 276 seconds) 2015-01-31T11:31:37Z daviid joined #scheme 2015-01-31T11:31:37Z zadock quit (Quit: Leaving) 2015-01-31T11:33:01Z rtra quit (Ping timeout: 265 seconds) 2015-01-31T11:33:24Z vanila joined #scheme 2015-01-31T11:36:32Z Vutral quit (Ping timeout: 245 seconds) 2015-01-31T11:39:38Z rtra joined #scheme 2015-01-31T11:43:09Z ehaliewicz quit (Ping timeout: 245 seconds) 2015-01-31T11:45:16Z Vutral joined #scheme 2015-01-31T12:04:28Z enitiz joined #scheme 2015-01-31T12:12:50Z zadock joined #scheme 2015-01-31T12:17:30Z ilammy joined #scheme 2015-01-31T12:18:33Z araujo quit (Ping timeout: 246 seconds) 2015-01-31T12:28:55Z jeapostrophe joined #scheme 2015-01-31T12:28:57Z jeapostrophe quit (Changing host) 2015-01-31T12:28:57Z jeapostrophe joined #scheme 2015-01-31T12:31:54Z araujo joined #scheme 2015-01-31T12:37:39Z ravi_ joined #scheme 2015-01-31T12:41:57Z jeapostrophe quit (Ping timeout: 245 seconds) 2015-01-31T12:44:50Z enitiz quit (Remote host closed the connection) 2015-01-31T12:45:58Z enitiz joined #scheme 2015-01-31T12:46:25Z jeapostrophe joined #scheme 2015-01-31T12:46:25Z jeapostrophe quit (Changing host) 2015-01-31T12:46:25Z jeapostrophe joined #scheme 2015-01-31T12:46:38Z enitiz quit (Read error: Connection reset by peer) 2015-01-31T12:47:55Z Isp-sec quit (Ping timeout: 244 seconds) 2015-01-31T12:48:30Z enitiz joined #scheme 2015-01-31T12:48:33Z mumptai joined #scheme 2015-01-31T12:57:44Z acarrico joined #scheme 2015-01-31T13:00:22Z robot-beethoven quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-01-31T13:01:42Z badkins joined #scheme 2015-01-31T13:09:42Z xyh quit (Remote host closed the connection) 2015-01-31T13:12:45Z ravi_ quit (Ping timeout: 256 seconds) 2015-01-31T13:13:39Z BitPuffin joined #scheme 2015-01-31T13:14:27Z jeapostrophe quit (Ping timeout: 264 seconds) 2015-01-31T13:28:00Z ravi_ joined #scheme 2015-01-31T13:32:38Z alezost joined #scheme 2015-01-31T13:37:50Z ecthiender joined #scheme 2015-01-31T13:42:33Z ravi_ quit (Ping timeout: 246 seconds) 2015-01-31T13:46:13Z taylanub quit (Disconnected by services) 2015-01-31T13:46:39Z taylanub joined #scheme 2015-01-31T13:50:33Z oleo__ quit (Quit: Verlassend) 2015-01-31T13:54:10Z AkashicLegend joined #scheme 2015-01-31T13:55:49Z _5kg quit (Ping timeout: 256 seconds) 2015-01-31T13:56:06Z oleo joined #scheme 2015-01-31T13:56:59Z _5kg joined #scheme 2015-01-31T14:08:22Z hiroakip quit (Ping timeout: 240 seconds) 2015-01-31T14:08:33Z xyh joined #scheme 2015-01-31T14:12:27Z Isp-sec joined #scheme 2015-01-31T14:13:29Z rtra quit (Ping timeout: 265 seconds) 2015-01-31T14:13:54Z uber_hulk quit (Quit: Connection closed for inactivity) 2015-01-31T14:16:31Z fsckd joined #scheme 2015-01-31T14:17:41Z uber_hulk joined #scheme 2015-01-31T14:20:17Z rtra joined #scheme 2015-01-31T14:26:27Z yosafbridge quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-01-31T14:30:59Z nnmap joined #scheme 2015-01-31T14:37:18Z acarrico quit (Ping timeout: 272 seconds) 2015-01-31T14:37:39Z rtra quit (Ping timeout: 265 seconds) 2015-01-31T14:39:46Z amgarchIn9 joined #scheme 2015-01-31T14:41:13Z nnmap: Hi, I have a question concerning streams and the sieve of Eratothenes (sp) from SICP ( http://pastebin.com/mmzGh9R5 ) It totally not clear to me how the sieve algorithm works; does it sieve all multiples of previously generated numbers (multiples of 2, 3, 4, 5, 6, 7...); or does it sieve only multiples of primes (2, 3, 5, 7...)? I don't see how the latter can work. Is there some good explanation on the internets? (I didn't find any) 2015-01-31T14:41:39Z yosafbridge joined #scheme 2015-01-31T14:42:15Z vanila: yes it sieves out multiples of 2, 3, 4, 5, 2015-01-31T14:42:17Z vanila: not primes 2015-01-31T14:42:29Z vanila: but it is actually possible to do that, although that's not a good way to speed up the code 2015-01-31T14:43:13Z nnmap: thank you! now I understand. 2015-01-31T14:46:03Z nnmap: so it is NOT the Sieve of Eratothenes? 2015-01-31T14:46:28Z vanila: im not sure if i want to get too techincaly about what exactly Sieve of Eratothenes is 2015-01-31T14:46:36Z vanila: its something very close at least :P 2015-01-31T14:46:44Z nnmap: ok... 2015-01-31T14:50:42Z cocosp joined #scheme 2015-01-31T14:58:49Z rtra joined #scheme 2015-01-31T15:03:28Z nnmap quit (Quit: Page closed) 2015-01-31T15:06:46Z cocosp quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2015-01-31T15:08:15Z cocosp joined #scheme 2015-01-31T15:12:08Z yosafbridge quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-01-31T15:16:16Z yosafbridge joined #scheme 2015-01-31T15:20:02Z cocosp quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2015-01-31T15:24:09Z cocosp joined #scheme 2015-01-31T15:28:34Z amgarchIn9 quit (Ping timeout: 245 seconds) 2015-01-31T15:39:40Z hiroakip joined #scheme 2015-01-31T15:45:08Z vdamewood quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2015-01-31T15:45:24Z cocosp quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2015-01-31T15:46:11Z xyh quit (Remote host closed the connection) 2015-01-31T15:46:41Z yosafbridge quit (Ping timeout: 252 seconds) 2015-01-31T15:46:44Z jeremycw joined #scheme 2015-01-31T15:50:46Z Bahman quit (Ping timeout: 272 seconds) 2015-01-31T15:52:05Z Bahman joined #scheme 2015-01-31T15:54:53Z jeapostrophe joined #scheme 2015-01-31T15:54:53Z jeapostrophe quit (Changing host) 2015-01-31T15:54:53Z jeapostrophe joined #scheme 2015-01-31T16:00:04Z excelsior joined #scheme 2015-01-31T16:05:27Z jeapostrophe quit (Ping timeout: 264 seconds) 2015-01-31T16:13:26Z wasamasa is now known as {{{ 2015-01-31T16:13:33Z {{{ is now known as }}} 2015-01-31T16:14:35Z }}} is now known as wasamasa 2015-01-31T16:16:01Z AkashicLegend quit (Quit: AkashicLegend) 2015-01-31T16:19:53Z TrueShiftBlue quit (Ping timeout: 240 seconds) 2015-01-31T16:20:42Z TrueShiftBlue joined #scheme 2015-01-31T16:23:54Z uber_hulk quit (Quit: Connection closed for inactivity) 2015-01-31T16:29:47Z ijp: vanila: er, no, that one should "sieve" only primes 2015-01-31T16:30:55Z ijp: multiples of* 2015-01-31T16:32:35Z ijp: look at the divisibility test, it is always checking divisibility against the stream-car, which is being cons-stream'ed onto the output 2015-01-31T16:36:10Z cocosp joined #scheme 2015-01-31T16:44:29Z b4283 quit (Quit: Konversation terminated!) 2015-01-31T16:47:02Z adu joined #scheme 2015-01-31T16:49:58Z fantazo joined #scheme 2015-01-31T16:51:50Z cocosp quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2015-01-31T16:52:03Z gf3 quit (Ping timeout: 256 seconds) 2015-01-31T16:53:27Z AkashicLegend joined #scheme 2015-01-31T16:54:08Z cocosp joined #scheme 2015-01-31T16:55:09Z mario-go` joined #scheme 2015-01-31T16:55:24Z mario-goulart quit (Ping timeout: 246 seconds) 2015-01-31T16:56:19Z gf3 joined #scheme 2015-01-31T17:00:59Z yosafbridge joined #scheme 2015-01-31T17:02:48Z mario-go` is now known as mario-goulart 2015-01-31T17:06:45Z cocosp quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2015-01-31T17:07:42Z hellofunk quit (Ping timeout: 276 seconds) 2015-01-31T17:08:33Z cocosp joined #scheme 2015-01-31T17:17:58Z AkashicLegend quit (Quit: AkashicLegend) 2015-01-31T17:18:39Z theseb joined #scheme 2015-01-31T17:27:48Z zadock quit (Quit: Leaving) 2015-01-31T17:32:19Z AkashicLegend joined #scheme 2015-01-31T17:34:51Z wingo joined #scheme 2015-01-31T17:40:51Z araujo quit (Ping timeout: 276 seconds) 2015-01-31T17:44:05Z araujo joined #scheme 2015-01-31T17:49:02Z cocosp quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2015-01-31T17:51:42Z hellofunk joined #scheme 2015-01-31T17:54:54Z amgarchIn9 joined #scheme 2015-01-31T17:56:51Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-31T18:01:36Z cocosp joined #scheme 2015-01-31T18:05:00Z fantazo quit (Ping timeout: 265 seconds) 2015-01-31T18:06:13Z cocosp quit (Client Quit) 2015-01-31T18:06:52Z cocosp joined #scheme 2015-01-31T18:07:22Z amgarchIn9 quit (Ping timeout: 245 seconds) 2015-01-31T18:08:43Z cocosp quit (Client Quit) 2015-01-31T18:19:01Z amgarchIn9 joined #scheme 2015-01-31T18:19:43Z mumptai quit (Remote host closed the connection) 2015-01-31T18:23:09Z Bahman quit (Quit: Ave atque vale) 2015-01-31T18:24:02Z amgarchIn9 quit (Ping timeout: 272 seconds) 2015-01-31T18:26:58Z oldskirt quit (Quit: gone) 2015-01-31T18:33:30Z jeapostrophe joined #scheme 2015-01-31T18:38:32Z psy_ quit (Read error: Connection reset by peer) 2015-01-31T18:38:50Z enitiz quit (Ping timeout: 265 seconds) 2015-01-31T18:39:07Z psy_ joined #scheme 2015-01-31T18:44:52Z jeapostrophe quit (Ping timeout: 245 seconds) 2015-01-31T18:47:11Z amgarchIn9 joined #scheme 2015-01-31T18:48:49Z oleo quit (Quit: Verlassend) 2015-01-31T18:50:53Z jeremycw quit (Ping timeout: 240 seconds) 2015-01-31T18:51:20Z jeremycw joined #scheme 2015-01-31T18:51:43Z oleo joined #scheme 2015-01-31T18:55:24Z jeapostrophe joined #scheme 2015-01-31T18:55:24Z jeapostrophe quit (Changing host) 2015-01-31T18:55:24Z jeapostrophe joined #scheme 2015-01-31T18:55:54Z Fare joined #scheme 2015-01-31T18:56:09Z jeremycw quit (Ping timeout: 256 seconds) 2015-01-31T18:57:22Z wingo quit (Ping timeout: 245 seconds) 2015-01-31T19:01:03Z uber_hulk joined #scheme 2015-01-31T19:01:59Z Bahman joined #scheme 2015-01-31T19:03:56Z amgarchIn9 quit (Ping timeout: 272 seconds) 2015-01-31T19:04:48Z oleo quit (Quit: Verlassend) 2015-01-31T19:05:55Z MichaelRaskin joined #scheme 2015-01-31T19:06:49Z oleo joined #scheme 2015-01-31T19:16:25Z vraid joined #scheme 2015-01-31T19:16:33Z oleo quit (Quit: Verlassend) 2015-01-31T19:18:52Z jeremycw joined #scheme 2015-01-31T19:22:22Z Fare quit (Ping timeout: 245 seconds) 2015-01-31T19:23:12Z jumblerg joined #scheme 2015-01-31T19:24:21Z oleo joined #scheme 2015-01-31T19:25:56Z oleo quit (Read error: Connection reset by peer) 2015-01-31T19:27:02Z ijp quit (Quit: brb doubling the cube) 2015-01-31T19:27:11Z oleo joined #scheme 2015-01-31T19:28:30Z oleo quit (Read error: Connection reset by peer) 2015-01-31T19:29:11Z oleo joined #scheme 2015-01-31T19:29:56Z oleo quit (Client Quit) 2015-01-31T19:32:18Z oleo joined #scheme 2015-01-31T19:33:39Z Vutral quit (Ping timeout: 264 seconds) 2015-01-31T19:35:39Z Fare joined #scheme 2015-01-31T19:37:54Z Vutral_ joined #scheme 2015-01-31T19:42:15Z Pixel_Outlaw joined #scheme 2015-01-31T19:44:25Z Pixel_Outlaw: Hello all. When you define subfunctions inside functions do those subfunctions get redefined every time the parent function runs? I'm thinking about efficiency. 2015-01-31T19:44:45Z AkashicLegend quit (Quit: AkashicLegend) 2015-01-31T19:44:57Z vanila: do you know about how closures capture free variables? 2015-01-31T19:46:52Z jeapostrophe quit (Ping timeout: 264 seconds) 2015-01-31T19:49:52Z Pixel_Outlaw: Is that the same as unintended capture? 2015-01-31T19:50:22Z vanila: well I mean like 2015-01-31T19:50:36Z vanila: (define (foo y) ... (lambda (x) (+ x y)) ...) 2015-01-31T19:50:41Z vanila: that inner lambda captures y 2015-01-31T19:50:47Z jeremycw quit (Quit: Lost terminal) 2015-01-31T19:51:04Z Pixel_Outlaw: Oh, yes. 2015-01-31T19:51:15Z Pixel_Outlaw: It is in the outside frame. 2015-01-31T19:51:20Z vanila: and since you can return that function from foo, a scheme compler would have to represent the lambda as a pair 2015-01-31T19:51:43Z vanila: which holds the function pointer and all a vector with the free varibales 2015-01-31T19:52:02Z vanila: so usually you would expect the closure to be made each time you call foo 2015-01-31T19:52:04Z vanila: but! 2015-01-31T19:52:17Z vanila: if that lambda is never returned.. only used inside foo 2015-01-31T19:52:28Z vanila: the compiler might be able to tranform the code into 2015-01-31T19:52:30Z vanila: (define (foo y) ... (lambda (x y) (+ x y)) ...) 2015-01-31T19:52:33Z vanila: and pass in 'y' 2015-01-31T19:52:38Z vanila: so that there isn't any need for a closure 2015-01-31T19:52:52Z vanila: so in a lot of the uses of an inner function - you can expect it to be really fast 2015-01-31T19:53:21Z Pixel_Outlaw: Excellent. Thanks. 2015-01-31T19:53:47Z Pixel_Outlaw: I just had a few second guesses on a version of a function I wrote compared to somebody elses. 2015-01-31T19:54:00Z Pixel_Outlaw: Your explanation makes sense though. 2015-01-31T19:54:04Z vanila: im glad! 2015-01-31T19:54:13Z vanila: of course all of this depende on which compiler you use 2015-01-31T19:54:25Z vanila: but we can still have some rough ideas about how things will usually be done 2015-01-31T19:55:08Z Pixel_Outlaw: It is one thing to know a language's syntax but it is quite another to have the understanding on how it is implemented so good design choices can be made when making functions. 2015-01-31T19:55:49Z vanila: yeah :) 2015-01-31T19:55:55Z Pixel_Outlaw: Here were the two versions of a function I was questioning. Mine is longer since I try to be tail recursive. http://www.lispforum.com/viewtopic.php?f=22&t=4419 2015-01-31T19:56:18Z Pixel_Outlaw: But his doesn't need a reverse on the final sequence so it is debatable I guess. 2015-01-31T19:56:47Z vanila: hmm! 2015-01-31T19:56:51Z vanila: yeah 2015-01-31T19:57:04Z vanila: i feel like maybe the benefit of being tail recursive is overshadowed since you have to reverse 2015-01-31T19:57:34Z vanila: A thing you could do is go down n-1 steps of the list, then just set-cdr! to '() 2015-01-31T19:57:37Z vanila: chop the tail off 2015-01-31T19:57:52Z vanila: that will only be ok if you don't use the original list again though 2015-01-31T19:58:40Z Pixel_Outlaw: I find my self getting the final result in reverse order most of the time. -_- 2015-01-31T19:59:02Z Pixel_Outlaw: caring and cdring down the list while doing something and collectin 2015-01-31T19:59:06Z vanila: well i gues that's what hapens when you use stacks in a tail recursive way like that 2015-01-31T19:59:19Z vanila: push 1 and push 2 and push 3on that stack, then the result is (3 2 1) 2015-01-31T19:59:32Z vanila: thats how I think of accummulators 2015-01-31T20:00:24Z amgarchIn9 joined #scheme 2015-01-31T20:00:39Z Pixel_Outlaw: I wish I knew how to efficiency test different versions of functions. I usually just time them in other languages. 2015-01-31T20:03:17Z AkashicLegend joined #scheme 2015-01-31T20:12:07Z MichaelRaskin quit (Ping timeout: 265 seconds) 2015-01-31T20:14:58Z acarrico joined #scheme 2015-01-31T20:20:06Z vraid quit (Ping timeout: 276 seconds) 2015-01-31T20:21:03Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-31T20:23:45Z jumblerg joined #scheme 2015-01-31T20:28:44Z ehaliewicz joined #scheme 2015-01-31T20:30:46Z zadock joined #scheme 2015-01-31T20:33:03Z excelsior quit (Quit: Lost terminal) 2015-01-31T20:35:32Z githogori joined #scheme 2015-01-31T20:36:34Z ravi_ joined #scheme 2015-01-31T20:36:56Z davexunit joined #scheme 2015-01-31T20:37:40Z jgrant quit (Ping timeout: 272 seconds) 2015-01-31T20:38:30Z oleo quit (Quit: Verlassend) 2015-01-31T20:39:19Z vraid joined #scheme 2015-01-31T20:39:23Z oleo joined #scheme 2015-01-31T20:39:23Z oleo quit (Changing host) 2015-01-31T20:39:23Z oleo joined #scheme 2015-01-31T20:39:24Z hiroakip quit (Ping timeout: 245 seconds) 2015-01-31T20:41:42Z ravi_ quit (Ping timeout: 244 seconds) 2015-01-31T20:44:07Z jgrant joined #scheme 2015-01-31T20:44:39Z wilfredh joined #scheme 2015-01-31T20:48:40Z oleo quit (Quit: Verlassend) 2015-01-31T20:49:11Z oleo joined #scheme 2015-01-31T20:49:11Z oleo quit (Changing host) 2015-01-31T20:49:11Z oleo joined #scheme 2015-01-31T20:49:37Z oleo quit (Read error: Connection reset by peer) 2015-01-31T20:52:54Z sigjuice quit (Remote host closed the connection) 2015-01-31T20:54:38Z oleo joined #scheme 2015-01-31T20:55:29Z wbooze joined #scheme 2015-01-31T20:56:59Z ByronJohnson quit 2015-01-31T20:57:22Z ByronJohnson joined #scheme 2015-01-31T20:58:08Z adu quit (Quit: adu) 2015-01-31T20:58:46Z ByronJohnson quit (Client Quit) 2015-01-31T21:00:53Z enitiz joined #scheme 2015-01-31T21:01:23Z githogori quit (Read error: Connection reset by peer) 2015-01-31T21:06:16Z ByronJohnson joined #scheme 2015-01-31T21:09:09Z ByronJohnson quit (Client Quit) 2015-01-31T21:09:56Z ByronJohnson joined #scheme 2015-01-31T21:13:54Z uber_hulk quit (Quit: Connection closed for inactivity) 2015-01-31T21:16:25Z alezost quit (Quit: I use GNU Guix ) 2015-01-31T21:29:38Z Pixel_Outlaw quit (Quit: Leaving) 2015-01-31T21:37:10Z hiyosi joined #scheme 2015-01-31T21:37:18Z ecthiender quit (Quit: gotta go) 2015-01-31T21:40:10Z zachstone joined #scheme 2015-01-31T21:44:36Z gabot quit (Ping timeout: 276 seconds) 2015-01-31T21:45:14Z stamourv quit (Remote host closed the connection) 2015-01-31T21:45:34Z jrslepak quit (Ping timeout: 255 seconds) 2015-01-31T21:50:59Z zachstone quit (Quit: leaving) 2015-01-31T21:53:05Z jeapostrophe joined #scheme 2015-01-31T21:53:05Z jeapostrophe quit (Changing host) 2015-01-31T21:53:05Z jeapostrophe joined #scheme 2015-01-31T21:53:28Z jrslepak joined #scheme 2015-01-31T22:00:10Z gabot joined #scheme 2015-01-31T22:01:47Z jgrant quit (Ping timeout: 244 seconds) 2015-01-31T22:03:39Z gravicappa quit (Remote host closed the connection) 2015-01-31T22:04:24Z jgrant joined #scheme 2015-01-31T22:05:59Z ehaliewicz quit (Ping timeout: 256 seconds) 2015-01-31T22:10:24Z jrslepak quit (Ping timeout: 246 seconds) 2015-01-31T22:10:46Z jeapostrophe quit (Ping timeout: 255 seconds) 2015-01-31T22:12:25Z jrslepak joined #scheme 2015-01-31T22:14:47Z ehaliewicz joined #scheme 2015-01-31T22:31:02Z zadock quit (Quit: Leaving) 2015-01-31T22:34:52Z echo-area quit (Ping timeout: 245 seconds) 2015-01-31T22:40:23Z ehaliewicz quit (Remote host closed the connection) 2015-01-31T22:46:53Z jeapostrophe joined #scheme 2015-01-31T22:47:48Z robot-beethoven joined #scheme 2015-01-31T22:50:16Z nugnuts joined #scheme 2015-01-31T22:50:17Z dzhus joined #scheme 2015-01-31T22:52:20Z vdamewood joined #scheme 2015-01-31T23:02:23Z wilfredh quit (Quit: Connection closed for inactivity) 2015-01-31T23:03:42Z jeapostrophe quit (Ping timeout: 265 seconds) 2015-01-31T23:06:49Z hiroakip joined #scheme 2015-01-31T23:11:19Z oleo is now known as Guest74747 2015-01-31T23:12:50Z oleo__ joined #scheme 2015-01-31T23:12:53Z Isp-sec quit (Ping timeout: 265 seconds) 2015-01-31T23:13:15Z wbooze quit (Ping timeout: 264 seconds) 2015-01-31T23:14:33Z Guest74747 quit (Ping timeout: 256 seconds) 2015-01-31T23:16:12Z oleo__ quit (Read error: Connection reset by peer) 2015-01-31T23:16:43Z ilammy quit (Ping timeout: 246 seconds) 2015-01-31T23:17:23Z dzhus quit (Ping timeout: 240 seconds) 2015-01-31T23:22:12Z banana_farmer joined #scheme 2015-01-31T23:24:08Z banana_farmer: Hi everyone. I am working on the 99problems. my answer to problem 7 is not working as expected: http://pastebin.com/F9Du4KRW 2015-01-31T23:24:40Z banana_farmer: Calling (flatten '(1 2 3 4)) gives the result (l l l l ) 2015-01-31T23:24:45Z vanila: '(l) is justa list with the symbol l inside it, you can use (list l) to create a list containing the value of l 2015-01-31T23:25:08Z vanila: I think you migth be better using pair? instead of list? too 2015-01-31T23:25:54Z banana_farmer: vanila: Okay there is a gap in my knowledge 2015-01-31T23:26:04Z oleo__ joined #scheme 2015-01-31T23:26:09Z banana_farmer: vanila: why does '(l) gives the list with the SYMBOL not the value? 2015-01-31T23:26:35Z vanila: '
quotes that entire term, it's syntactic sugar for (quote ) 2015-01-31T23:27:08Z vanila: it means that will just be given as data rather than executed 2015-01-31T23:27:40Z banana_farmer: Oh that makes sense now WRT lisp's lanaguage model! 2015-01-31T23:28:55Z fantazo joined #scheme 2015-01-31T23:33:44Z jeapostrophe joined #scheme 2015-01-31T23:33:56Z jeapostrophe quit (Changing host) 2015-01-31T23:33:56Z jeapostrophe joined #scheme 2015-01-31T23:39:03Z jeapostrophe quit (Ping timeout: 264 seconds) 2015-01-31T23:41:28Z fantazo quit (Ping timeout: 264 seconds) 2015-01-31T23:42:03Z henrytill quit (Ping timeout: 264 seconds) 2015-01-31T23:42:23Z henrytill joined #scheme 2015-01-31T23:43:15Z benaiah quit (Ping timeout: 264 seconds) 2015-01-31T23:43:51Z dualbus quit (Ping timeout: 264 seconds) 2015-01-31T23:43:51Z weinholt quit (Ping timeout: 264 seconds) 2015-01-31T23:44:27Z Soft quit (Ping timeout: 264 seconds) 2015-01-31T23:44:28Z weinholt joined #scheme 2015-01-31T23:45:38Z hiroakip quit (Ping timeout: 244 seconds) 2015-01-31T23:46:03Z robot-be` joined #scheme 2015-01-31T23:46:37Z FracV quit (Ping timeout: 255 seconds) 2015-01-31T23:48:03Z robot-beethoven quit (Ping timeout: 264 seconds) 2015-01-31T23:48:03Z REPLeffect_ quit (Ping timeout: 264 seconds) 2015-01-31T23:48:28Z REPLeffect_ joined #scheme 2015-01-31T23:48:38Z benaiah joined #scheme 2015-01-31T23:51:34Z hiroakip joined #scheme 2015-01-31T23:52:51Z agumonkey quit (Ping timeout: 264 seconds) 2015-01-31T23:53:12Z vdamewood quit (Read error: Connection reset by peer) 2015-01-31T23:53:15Z vinleod joined #scheme 2015-01-31T23:53:19Z badkins quit (Remote host closed the connection) 2015-01-31T23:54:02Z fantazo joined #scheme 2015-01-31T23:54:09Z FracV joined #scheme 2015-01-31T23:55:02Z agumonkey joined #scheme 2015-01-31T23:55:05Z vinleod is now known as vdamewood 2015-01-31T23:56:16Z badkins joined #scheme