2014-11-18T00:01:49Z kongtomorrow quit (Ping timeout: 272 seconds) 2014-11-18T00:08:08Z circ-user-etfiX quit (Ping timeout: 250 seconds) 2014-11-18T00:15:38Z xyh: hi friends, I only know two ways to implement "call/cc" : 2014-11-18T00:15:38Z xyh: 1. "allocate cons in stack" plus "a swaping-GC" [as chicken] 2014-11-18T00:15:38Z xyh: 2. "return-stack as list" plus "a marking-GC" [maybe as some old implementation] 2014-11-18T00:15:38Z xyh: any other ways ? 2014-11-18T00:16:02Z Vutral quit (Ping timeout: 244 seconds) 2014-11-18T00:16:17Z xyh: * and also plus "CPS transformation" into 1. 2014-11-18T00:16:58Z mrowe is now known as mrowe_away 2014-11-18T00:23:41Z Gyps quit (Quit: Gyps) 2014-11-18T00:25:16Z BitPuffin joined #scheme 2014-11-18T00:30:30Z xyh: without a GC, the "90-mins"'s call/cc is just like goto ! 2014-11-18T00:33:56Z adu joined #scheme 2014-11-18T00:39:24Z cojy: you can use whatever memory scheme you want as long as the things you need are heap allocated 2014-11-18T00:40:57Z cojy: if you do cps call/cc is really easy to since you always have a closure at the current point to pass into the program 2014-11-18T00:45:53Z przl joined #scheme 2014-11-18T00:50:55Z ehaliewicz joined #scheme 2014-11-18T00:50:58Z przl quit (Ping timeout: 255 seconds) 2014-11-18T01:00:29Z iKlsR joined #scheme 2014-11-18T01:02:01Z iKlsR quit (Client Quit) 2014-11-18T01:03:17Z iKlsR joined #scheme 2014-11-18T01:04:24Z iKlsR quit (Client Quit) 2014-11-18T01:04:39Z iKlsR joined #scheme 2014-11-18T01:04:57Z dualbus joined #scheme 2014-11-18T01:10:48Z xyh quit (Remote host closed the connection) 2014-11-18T01:23:10Z Riastradh joined #scheme 2014-11-18T01:29:03Z Gyps joined #scheme 2014-11-18T01:33:50Z pjb quit (Ping timeout: 256 seconds) 2014-11-18T01:38:06Z altphi joined #scheme 2014-11-18T01:40:58Z vinleod joined #scheme 2014-11-18T01:41:31Z xyh joined #scheme 2014-11-18T01:42:31Z BitPuffin quit (Ping timeout: 272 seconds) 2014-11-18T01:45:57Z xyh quit (Ping timeout: 255 seconds) 2014-11-18T01:46:37Z przl joined #scheme 2014-11-18T01:48:12Z Shadox joined #scheme 2014-11-18T01:48:57Z xyh joined #scheme 2014-11-18T01:51:32Z przl quit (Ping timeout: 245 seconds) 2014-11-18T01:52:02Z pjb joined #scheme 2014-11-18T01:56:11Z circ-user-etfiX joined #scheme 2014-11-18T01:56:42Z ehaliewicz quit (Remote host closed the connection) 2014-11-18T02:02:35Z jenia quit (Remote host closed the connection) 2014-11-18T02:04:47Z kongtomorrow joined #scheme 2014-11-18T02:14:27Z amgarchIn9 quit (Ping timeout: 258 seconds) 2014-11-18T02:15:46Z tobik quit (Ping timeout: 256 seconds) 2014-11-18T02:16:25Z tobik joined #scheme 2014-11-18T02:20:02Z germ13 joined #scheme 2014-11-18T02:25:11Z germ13 quit (Ping timeout: 258 seconds) 2014-11-18T02:25:39Z germ13 joined #scheme 2014-11-18T02:28:48Z Vutral joined #scheme 2014-11-18T02:31:34Z frkout_ joined #scheme 2014-11-18T02:32:47Z hiyosi quit (Ping timeout: 245 seconds) 2014-11-18T02:33:58Z ijp quit (Quit: This ijp has ended peacefully) 2014-11-18T02:34:57Z frkout quit (Ping timeout: 240 seconds) 2014-11-18T02:37:04Z grettke joined #scheme 2014-11-18T02:38:30Z xyh quit (Ping timeout: 250 seconds) 2014-11-18T02:43:25Z grettke quit (Remote host closed the connection) 2014-11-18T02:43:50Z grettke joined #scheme 2014-11-18T02:45:31Z grettke quit (Client Quit) 2014-11-18T02:46:00Z grettke joined #scheme 2014-11-18T02:47:18Z przl joined #scheme 2014-11-18T02:52:36Z przl quit (Ping timeout: 256 seconds) 2014-11-18T02:58:17Z mmc quit (Quit: Leaving.) 2014-11-18T03:04:07Z davexunit quit (Quit: Later) 2014-11-18T03:04:40Z kongtomorrow quit 2014-11-18T03:05:17Z grettke quit (Ping timeout: 240 seconds) 2014-11-18T03:13:28Z girrig quit (Ping timeout: 244 seconds) 2014-11-18T03:14:30Z girrig joined #scheme 2014-11-18T03:22:36Z oleo__ joined #scheme 2014-11-18T03:22:48Z altphi quit 2014-11-18T03:23:16Z oleo is now known as Guest38444 2014-11-18T03:23:53Z Guest38444 quit (Ping timeout: 264 seconds) 2014-11-18T03:25:17Z circ-user-etfiX quit (Ping timeout: 245 seconds) 2014-11-18T03:28:10Z vinleod_ joined #scheme 2014-11-18T03:29:17Z vinleod quit (Ping timeout: 240 seconds) 2014-11-18T03:30:32Z vinleod_ is now known as vinleod 2014-11-18T03:36:12Z germ13 quit (Ping timeout: 244 seconds) 2014-11-18T03:37:07Z germ13 joined #scheme 2014-11-18T03:42:25Z germ13 quit (Ping timeout: 255 seconds) 2014-11-18T03:42:58Z germ13 joined #scheme 2014-11-18T03:48:09Z przl joined #scheme 2014-11-18T03:54:48Z przl quit (Ping timeout: 244 seconds) 2014-11-18T03:55:27Z kongtomorrow joined #scheme 2014-11-18T04:01:22Z frkout_ quit (Remote host closed the connection) 2014-11-18T04:01:49Z frkout joined #scheme 2014-11-18T04:02:49Z henrytill quit (Quit: leaving) 2014-11-18T04:03:06Z mdibound_ quit (Quit: Be back later ...) 2014-11-18T04:03:42Z mdibound_ joined #scheme 2014-11-18T04:06:17Z karswell quit (Read error: Connection reset by peer) 2014-11-18T04:08:09Z mdibound_ quit (Ping timeout: 255 seconds) 2014-11-18T04:14:05Z MichaelRaskin quit (Quit: MichaelRaskin) 2014-11-18T04:17:48Z hiyosi joined #scheme 2014-11-18T04:20:35Z mdibound_ joined #scheme 2014-11-18T04:22:45Z hiyosi quit (Ping timeout: 264 seconds) 2014-11-18T04:22:47Z circ-user-etfiX joined #scheme 2014-11-18T04:27:14Z circ-user-etfiX quit (Ping timeout: 256 seconds) 2014-11-18T04:32:54Z tobik quit (Ping timeout: 256 seconds) 2014-11-18T04:34:16Z kongtomorrow quit 2014-11-18T04:34:35Z tobik joined #scheme 2014-11-18T04:38:10Z Shadox quit (Quit: Leaving) 2014-11-18T04:38:20Z kongtomorrow joined #scheme 2014-11-18T04:41:36Z mdibound_ quit (Quit: Lingo: www.lingoirc.com) 2014-11-18T04:45:20Z MichaelRaskin joined #scheme 2014-11-18T04:46:51Z jeapostrophe quit (Ping timeout: 255 seconds) 2014-11-18T04:48:50Z circ-user-etfiX joined #scheme 2014-11-18T04:50:40Z przl joined #scheme 2014-11-18T04:54:30Z iKlsR quit (Ping timeout: 255 seconds) 2014-11-18T04:55:08Z vanila quit (Quit: Leaving) 2014-11-18T04:55:34Z przl quit (Ping timeout: 256 seconds) 2014-11-18T04:56:33Z girrig quit (Ping timeout: 245 seconds) 2014-11-18T04:59:16Z girrig joined #scheme 2014-11-18T05:03:51Z girrig quit (Ping timeout: 265 seconds) 2014-11-18T05:06:47Z girrig joined #scheme 2014-11-18T05:11:32Z stepnem quit (Ping timeout: 245 seconds) 2014-11-18T05:13:52Z jeapostrophe joined #scheme 2014-11-18T05:13:52Z jeapostrophe quit (Changing host) 2014-11-18T05:13:52Z jeapostrophe joined #scheme 2014-11-18T05:18:36Z hiyosi joined #scheme 2014-11-18T05:19:16Z jeapostrophe quit (Ping timeout: 250 seconds) 2014-11-18T05:21:15Z psy_ quit (Read error: No route to host) 2014-11-18T05:22:48Z psy_ joined #scheme 2014-11-18T05:23:22Z iKlsR joined #scheme 2014-11-18T05:23:40Z hiyosi quit (Ping timeout: 255 seconds) 2014-11-18T05:28:19Z circ-user-etfiX quit (Ping timeout: 244 seconds) 2014-11-18T05:32:56Z Riastradh: Does anyone still use foof-loop? 2014-11-18T05:37:29Z offby1 shifts uncomfortably 2014-11-18T05:37:37Z offby1: "Does anyone remember laughter?" 2014-11-18T05:38:37Z tadni: offby1: Nope. 2014-11-18T05:40:30Z Vutral quit (Ping timeout: 244 seconds) 2014-11-18T05:43:22Z Riastradh: `Laughter'? Sounds painful. What is it? 2014-11-18T05:44:46Z offby1: Scottish, I think 2014-11-18T05:44:50Z offby1: what with the "gh" 2014-11-18T05:45:08Z Riastradh: Ahhh, I think I've heard of that distillery. 2014-11-18T05:48:04Z iKlsR quit (Quit: Respawning..) 2014-11-18T05:51:27Z przl joined #scheme 2014-11-18T05:51:56Z alezost joined #scheme 2014-11-18T05:55:13Z daviid quit (Ping timeout: 272 seconds) 2014-11-18T05:56:17Z przl quit (Ping timeout: 240 seconds) 2014-11-18T06:00:37Z adu: offby1: classic 2014-11-18T06:01:56Z adu quit (Quit: adu) 2014-11-18T06:10:10Z karswell joined #scheme 2014-11-18T06:11:52Z Vutral joined #scheme 2014-11-18T06:17:35Z psy_ quit (Remote host closed the connection) 2014-11-18T06:47:00Z oleo__ quit (Quit: Verlassend) 2014-11-18T06:52:09Z przl joined #scheme 2014-11-18T06:53:01Z jeapostrophe joined #scheme 2014-11-18T06:54:31Z kongtomorrow quit 2014-11-18T06:57:16Z przl quit (Ping timeout: 255 seconds) 2014-11-18T06:57:42Z jeapostrophe quit (Ping timeout: 244 seconds) 2014-11-18T07:03:33Z przl joined #scheme 2014-11-18T07:05:16Z hiroakip joined #scheme 2014-11-18T07:07:50Z hiyosi joined #scheme 2014-11-18T07:08:21Z przl quit (Ping timeout: 264 seconds) 2014-11-18T07:12:33Z hiyosi quit (Ping timeout: 264 seconds) 2014-11-18T07:17:09Z derek_c quit (Ping timeout: 255 seconds) 2014-11-18T07:21:21Z jlongster quit (Ping timeout: 272 seconds) 2014-11-18T07:22:13Z kongtomorrow joined #scheme 2014-11-18T07:24:05Z kongtomorrow quit (Read error: Connection reset by peer) 2014-11-18T07:24:11Z kongtomo_ joined #scheme 2014-11-18T07:27:17Z vinleod quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2014-11-18T07:49:31Z psy_ joined #scheme 2014-11-18T07:52:06Z civodul joined #scheme 2014-11-18T08:05:50Z oldskirt_ quit (Read error: Connection reset by peer) 2014-11-18T08:09:11Z robot-beethoven quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-18T08:18:09Z rtra quit (Ping timeout: 265 seconds) 2014-11-18T08:23:18Z rtra joined #scheme 2014-11-18T08:26:52Z jcloud quit (Ping timeout: 244 seconds) 2014-11-18T08:28:23Z jcloud joined #scheme 2014-11-18T08:30:13Z przl joined #scheme 2014-11-18T08:33:16Z alexey joined #scheme 2014-11-18T08:34:52Z przl quit (Ping timeout: 256 seconds) 2014-11-18T08:43:42Z jeapostrophe joined #scheme 2014-11-18T08:46:18Z alexey quit (Remote host closed the connection) 2014-11-18T08:48:07Z jeapostrophe quit (Ping timeout: 265 seconds) 2014-11-18T08:56:32Z hiyosi joined #scheme 2014-11-18T09:02:03Z hiyosi quit (Ping timeout: 272 seconds) 2014-11-18T09:08:23Z taylanub: what's the alternative to foof-loop again? 2014-11-18T09:08:44Z taylanub: I know Guile folks (and probably more) use `match' which is from foof too IIRC? 2014-11-18T09:09:03Z taylanub: yes indeed 2014-11-18T09:09:47Z taylanub: I should make an R7RS library of both of those... 2014-11-18T09:10:39Z psy_ quit (Remote host closed the connection) 2014-11-18T09:13:06Z BitPuffin joined #scheme 2014-11-18T09:13:11Z jumblerg joined #scheme 2014-11-18T09:13:15Z germ13 quit (Ping timeout: 255 seconds) 2014-11-18T09:19:37Z alexey joined #scheme 2014-11-18T09:35:22Z ozzloy quit (Ping timeout: 240 seconds) 2014-11-18T09:36:45Z psy_ joined #scheme 2014-11-18T09:39:52Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-18T09:42:26Z jumblerg joined #scheme 2014-11-18T09:43:39Z ozzloy joined #scheme 2014-11-18T09:45:38Z redeemed joined #scheme 2014-11-18T09:55:55Z Gyps quit (Quit: Gyps) 2014-11-18T10:21:42Z bjz joined #scheme 2014-11-18T10:22:53Z Gyps joined #scheme 2014-11-18T10:29:13Z BitPuffin quit (Ping timeout: 255 seconds) 2014-11-18T10:36:12Z przl joined #scheme 2014-11-18T10:41:12Z przl_ joined #scheme 2014-11-18T10:42:18Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-18T10:44:01Z przl quit (Ping timeout: 272 seconds) 2014-11-18T10:45:23Z hiyosi joined #scheme 2014-11-18T10:46:05Z vinleod joined #scheme 2014-11-18T10:49:13Z stepnem joined #scheme 2014-11-18T10:49:54Z hiyosi quit (Ping timeout: 250 seconds) 2014-11-18T10:54:02Z fantazo quit (Ping timeout: 245 seconds) 2014-11-18T10:54:51Z hiroakip quit (Ping timeout: 244 seconds) 2014-11-18T10:56:12Z hiroakip joined #scheme 2014-11-18T10:57:30Z mmc joined #scheme 2014-11-18T10:58:12Z przl_ quit (Ping timeout: 245 seconds) 2014-11-18T11:03:03Z gravicappa joined #scheme 2014-11-18T11:06:43Z przl joined #scheme 2014-11-18T11:14:38Z Blkt_ is now known as Blkt 2014-11-18T11:16:30Z pnkfelix joined #scheme 2014-11-18T11:21:39Z askatasuna joined #scheme 2014-11-18T11:22:22Z alexey1 joined #scheme 2014-11-18T11:23:37Z alexey quit (Ping timeout: 240 seconds) 2014-11-18T11:25:58Z stepnem quit (Remote host closed the connection) 2014-11-18T11:29:17Z stepnem joined #scheme 2014-11-18T12:07:38Z Gyps quit (Quit: Gyps) 2014-11-18T12:09:40Z bjz quit (Ping timeout: 265 seconds) 2014-11-18T12:12:17Z bjz joined #scheme 2014-11-18T12:14:22Z przl quit (Ping timeout: 258 seconds) 2014-11-18T12:16:17Z tobik quit (Ping timeout: 240 seconds) 2014-11-18T12:17:27Z tobik joined #scheme 2014-11-18T12:24:26Z przl joined #scheme 2014-11-18T12:30:25Z germ13 joined #scheme 2014-11-18T12:34:09Z hiyosi joined #scheme 2014-11-18T12:36:11Z fantazo joined #scheme 2014-11-18T12:38:52Z psy_ quit (Remote host closed the connection) 2014-11-18T12:39:17Z hiyosi quit (Ping timeout: 272 seconds) 2014-11-18T12:40:28Z davexunit joined #scheme 2014-11-18T12:52:02Z jumblerg joined #scheme 2014-11-18T12:53:22Z civodul quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-18T12:59:56Z MichaelRaskin quit (Ping timeout: 265 seconds) 2014-11-18T13:05:15Z przl quit (Ping timeout: 272 seconds) 2014-11-18T13:07:32Z usrj joined #scheme 2014-11-18T13:16:18Z psy_ joined #scheme 2014-11-18T13:20:09Z jeapostrophe joined #scheme 2014-11-18T13:20:09Z jeapostrophe quit (Changing host) 2014-11-18T13:20:09Z jeapostrophe joined #scheme 2014-11-18T13:28:58Z ijp joined #scheme 2014-11-18T13:38:04Z hiyosi joined #scheme 2014-11-18T13:39:54Z vinleod quit (Quit: Computer has gone to sleep.) 2014-11-18T13:42:28Z taylanub quit (Disconnected by services) 2014-11-18T13:43:13Z taylanub joined #scheme 2014-11-18T13:52:08Z fantazo quit (Ping timeout: 265 seconds) 2014-11-18T14:02:04Z daviid joined #scheme 2014-11-18T14:04:51Z fantazo joined #scheme 2014-11-18T14:11:56Z Lingo joined #scheme 2014-11-18T14:15:21Z kongtomo_ quit 2014-11-18T14:15:26Z ijp quit (Ping timeout: 256 seconds) 2014-11-18T14:15:48Z jaaqo joined #scheme 2014-11-18T14:15:54Z davexunit quit (Quit: Later) 2014-11-18T14:33:09Z sethalves: taylanub -- I think foof has alreay done that. look in his snow2 repo 2014-11-18T14:33:25Z taylanub: ah neat 2014-11-18T14:33:32Z sethalves: http://snow-fort.org/pkg 2014-11-18T14:33:34Z sethalves: nm maybe only match 2014-11-18T14:37:03Z gravicappa quit (Remote host closed the connection) 2014-11-18T14:42:57Z sethalves: taylanub -- not in his repo, but see in chibi-scheme source: ./lib/chibi/match.sld 2014-11-18T14:43:22Z sethalves: and ./lib/chibi/loop.sld 2014-11-18T14:46:45Z duggiefresh joined #scheme 2014-11-18T14:50:16Z davexunit joined #scheme 2014-11-18T14:55:36Z taylanub: aha, thanks 2014-11-18T14:58:45Z xyh joined #scheme 2014-11-18T15:06:49Z usrj quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )) 2014-11-18T15:10:34Z oleo joined #scheme 2014-11-18T15:10:37Z Lingo quit (Quit: Be back later ...) 2014-11-18T15:11:11Z Lingo joined #scheme 2014-11-18T15:11:59Z ecraven: Riastradh: is there any structure matching macro (for matching and extracting parts of nested lists of symbols and "data") in MIT/GNU Scheme? 2014-11-18T15:14:17Z b4283 joined #scheme 2014-11-18T15:16:21Z Lingo quit (Ping timeout: 272 seconds) 2014-11-18T15:16:23Z iwillig joined #scheme 2014-11-18T15:20:07Z developernotes joined #scheme 2014-11-18T15:31:15Z MichaelRaskin joined #scheme 2014-11-18T15:36:07Z Lingo joined #scheme 2014-11-18T15:36:35Z Riastradh: ecraven: Nope. I usually use (with the vector patterns commented out because they're broken in MIT Scheme), except synthcode.com was down last I looked. 2014-11-18T15:39:52Z Riastradh: taylanub: I don't know any alternatives to foof-loop! Obviously it's the best one. I guess you could use foof's loop, which is a different thing. Maybe one of these days I should change foof-loop's name so it's less confusing. 2014-11-18T15:40:25Z gnomon votes for "floop" 2014-11-18T15:42:40Z ecraven: 404 :( 2014-11-18T15:43:24Z ecraven: Riastradh: some version of this? https://github.com/arcfide/foof/blob/master/match.scm#L7 2014-11-18T15:44:36Z ecraven: Riastradh: also, thanks :) 2014-11-18T15:45:51Z Riastradh: ecraven: Probably! 2014-11-18T15:45:58Z oleo quit (Ping timeout: 258 seconds) 2014-11-18T15:46:25Z Riastradh: It's also included in Chibi, I imagine. 2014-11-18T15:52:14Z oleo joined #scheme 2014-11-18T15:57:05Z Lingo quit (Quit: Be back later ...) 2014-11-18T15:57:32Z Lingo joined #scheme 2014-11-18T15:59:16Z theseb joined #scheme 2014-11-18T16:00:30Z Lingo quit (Client Quit) 2014-11-18T16:00:56Z Lingo joined #scheme 2014-11-18T16:01:23Z Riastradh quit (Ping timeout: 250 seconds) 2014-11-18T16:04:52Z stepnem quit (Ping timeout: 245 seconds) 2014-11-18T16:05:53Z Lingo quit (Ping timeout: 264 seconds) 2014-11-18T16:11:47Z stepnem joined #scheme 2014-11-18T16:15:08Z alexey1 quit (Remote host closed the connection) 2014-11-18T16:23:27Z jeapostrophe quit (Ping timeout: 255 seconds) 2014-11-18T16:25:05Z altphi joined #scheme 2014-11-18T16:25:35Z gravicappa joined #scheme 2014-11-18T16:31:06Z xyh: about copy-and-compress GC, every time you copy a "cons" from heap-1 to heap-2, you have to update all the reference to this "cons", how can this be done ??? 2014-11-18T16:31:13Z xyh: [ when we have a lot of things like :: '(#0=(1 #0#)) ??? ] 2014-11-18T16:34:49Z redeemed quit (Quit: q) 2014-11-18T16:40:49Z hiroakip quit (Ping timeout: 265 seconds) 2014-11-18T16:42:23Z taylanub: xyh: pointers already have to be found during the scanning; so they can also simply be overwritten to point to the new locations of the objects. 2014-11-18T16:46:44Z pjb quit (Ping timeout: 256 seconds) 2014-11-18T16:48:20Z jlongster joined #scheme 2014-11-18T16:49:32Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-18T16:52:43Z xyh: taylanub: (define x '(#0=(1 #0#))) if the GC does not record every thing it copys [from heap-1 to heap-2], it will running to a loop. [just like in some implementations the function "display" can not displays '(#0=(1 #0#))] 2014-11-18T16:53:23Z cojy: you don't have a very good gc if it cant deal with that :p 2014-11-18T16:53:36Z jenia joined #scheme 2014-11-18T16:54:14Z cojy: xyh: your function to traverse the cells of the cons should both memoize and return the pointer to the new object 2014-11-18T16:54:45Z jenia: hello. I defined a function (define my-plus (lambda (x y) (+ x y))). When I call is (my-plus 3 4), I get `[...] unbound variable: plus [...]`. What am I doing wrong? I dont get it. 2014-11-18T16:55:10Z pjb joined #scheme 2014-11-18T16:55:15Z jenia: i mean, unbond variable my-plus* 2014-11-18T16:55:40Z jenia: ahh no. forget it ;) 2014-11-18T17:00:43Z xyh: cojy: isn't that makes a copy-and-compress GC very expensive. [I mean the memoizing stuffs ...] 2014-11-18T17:01:18Z jeapostrophe joined #scheme 2014-11-18T17:01:30Z jeapostrophe quit (Changing host) 2014-11-18T17:01:30Z jeapostrophe joined #scheme 2014-11-18T17:02:09Z xyh: I know a marking-GC can solve this easily, but some said "copy-and-compress GC is faster than stack!". 2014-11-18T17:02:33Z cojy: i dont think its that expensive to just store the moved pointer 2014-11-18T17:03:00Z cojy: it is a bit more expensive to collect but it being compacted does make your memory use faster 2014-11-18T17:03:12Z cojy: allocation and access both 2014-11-18T17:03:19Z jumblerg joined #scheme 2014-11-18T17:03:56Z developernotes quit (Quit: Textual IRC Client: www.textualapp.com) 2014-11-18T17:04:01Z cojy: i also find the implementation much more simple and elegant so i prefer it for that reason as well 2014-11-18T17:06:06Z xyh: cojy: you do not know which "cons" will be a "#0#", so every "cons" been copyed should be stored. and on every new "cons" to be copyed, you need to lookup all stored "cons" to see if it is a "#0#". 2014-11-18T17:06:38Z xyh: am I wrong ? 2014-11-18T17:07:08Z cojy: the first time you copy #0#, you mark the old copy as "moved" and store the new pointer there 2014-11-18T17:07:21Z cojy: the second time you encounter #0# you see that it's moved and where the pointer is 2014-11-18T17:07:44Z cojy: so you can just set that pointer with no copying required 2014-11-18T17:10:49Z xyh: oh! I see. updating is done by storing new "#0="'s address into old "#0="'s car, [mark them also], and when "#0#" is meeted, it fetch new "#0=" from the old "#0="'s car 2014-11-18T17:10:58Z duggiefresh quit (Remote host closed the connection) 2014-11-18T17:11:15Z cojy: so if you think of every value on the heap as a pair of a "moved" tag and a "value" you can have the number one as (cons #f 1) then when you move it to the new heap, you mutate the one still on the old heap to (cons #t new-pointer) 2014-11-18T17:11:31Z duggiefresh joined #scheme 2014-11-18T17:11:40Z Lingo joined #scheme 2014-11-18T17:12:30Z Lingo__ joined #scheme 2014-11-18T17:12:31Z Lingo quit (Read error: Connection reset by peer) 2014-11-18T17:13:27Z cojy: any time you encounter an object that's mutated = #f, you copy it and do what i just said, thenr eturn the new pointer also; when you encounter an object that's mutated = #t, then you just return that new-pointer that you stored in place of it's old-heap value 2014-11-18T17:14:03Z xyh: I see. thx cojy 2014-11-18T17:14:07Z cojy: any time 2014-11-18T17:16:00Z duggiefresh quit (Ping timeout: 250 seconds) 2014-11-18T17:16:52Z Lingo__ quit (Ping timeout: 250 seconds) 2014-11-18T17:17:42Z DGASAU: xyh: threaded code is restricted CPS. 2014-11-18T17:18:21Z LeoNerd: iCPS 2014-11-18T17:18:41Z developernotes joined #scheme 2014-11-18T17:23:48Z theseb quit (Quit: Leaving) 2014-11-18T17:24:06Z theseb joined #scheme 2014-11-18T17:25:50Z DGASAU quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-18T17:29:45Z mmc quit (Quit: Leaving.) 2014-11-18T17:35:55Z altphi quit 2014-11-18T17:36:02Z fantazo quit (Quit: Verlassend) 2014-11-18T17:36:42Z xyh: LeoNerd: iCPS ? 2014-11-18T17:36:58Z LeoNerd: implicit CPS 2014-11-18T17:37:27Z Riastradh joined #scheme 2014-11-18T17:38:30Z xyh: it stores cc in a global pointer, instead of passing it, as an arg, through every lambda 2014-11-18T17:39:26Z LeoNerd: R31 2014-11-18T17:40:12Z xyh: LeoNerd: R31 ? 2014-11-18T17:40:46Z LeoNerd: Heh.. a joke for the ARM programmers 2014-11-18T17:40:54Z LeoNerd: After a CALL instruction, the previous IP is stored in R31 2014-11-18T17:41:16Z LeoNerd: I think. Hrm, or maybe R31 -is- the IP and it gets copied into R30 2014-11-18T17:54:32Z duggiefresh joined #scheme 2014-11-18T17:58:06Z derek_c joined #scheme 2014-11-18T18:02:40Z amgarchIn9 joined #scheme 2014-11-18T18:03:22Z Lingo____ joined #scheme 2014-11-18T18:07:23Z pnkfelix quit (Quit: rcirc on GNU Emacs 24.3.92.1) 2014-11-18T18:11:40Z xyh quit (Remote host closed the connection) 2014-11-18T18:14:45Z civodul joined #scheme 2014-11-18T18:16:42Z Lingo____ quit (Quit: Be back later ...) 2014-11-18T18:17:17Z Lingo____ joined #scheme 2014-11-18T18:19:55Z Lingo____ quit (Remote host closed the connection) 2014-11-18T18:20:29Z Lingo____ joined #scheme 2014-11-18T18:24:57Z Lingo____ quit (Ping timeout: 255 seconds) 2014-11-18T18:28:49Z oldskirt joined #scheme 2014-11-18T18:34:24Z hiyosi quit (Ping timeout: 255 seconds) 2014-11-18T18:34:58Z sheilong joined #scheme 2014-11-18T18:35:50Z kongtomorrow joined #scheme 2014-11-18T18:36:26Z b4283 quit (Quit: Konversation terminated!) 2014-11-18T18:46:32Z oldskirt quit (Ping timeout: 245 seconds) 2014-11-18T18:48:44Z derek_c quit (Ping timeout: 250 seconds) 2014-11-18T18:48:50Z teurastaja joined #scheme 2014-11-18T18:52:29Z askatasuna quit (Read error: Connection reset by peer) 2014-11-18T18:53:04Z teurastaja: Am an embedded systems student searching for novel ai algorithms in scheme to engineer. Pointers appreciated 2014-11-18T18:53:45Z teurastaja: Student in robotics 2014-11-18T18:54:43Z teurastaja: They dont teach us s-exprs :( 2014-11-18T18:56:36Z teurastaja: Perhaps some genetic-like algorithm implemented in scheme? 2014-11-18T19:00:23Z teurastaja: Seeking insight for teaching hardware to learn. No specific application yet 2014-11-18T19:02:17Z teurastaja: I use scheme as pseudo-code before i write in assembly 2014-11-18T19:03:40Z cojy: im no expert but here's some things that might be interesting to you http://projects.csail.mit.edu/church/wiki/Church http://probabilistic-programming.org/wiki/Home https://probmods.org/ 2014-11-18T19:09:49Z teurastaja: Thanks, but im looking for implementations of genetic algorithms in scheme 2014-11-18T19:12:12Z teurastaja quit (Read error: Connection reset by peer) 2014-11-18T19:13:20Z teurastaja joined #scheme 2014-11-18T19:13:40Z developernotes quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2014-11-18T19:13:47Z teurastaja: Sorry got disconnected did i get further replies? 2014-11-18T19:15:06Z teurastaja: Recap: seeking genetic algorithm implementations in scheme 2014-11-18T19:15:43Z teurastaja: May include evolutionary algorithms and the like 2014-11-18T19:18:53Z hiyosi joined #scheme 2014-11-18T19:21:17Z Lingo____ joined #scheme 2014-11-18T19:21:21Z joneshf-laptop quit (Remote host closed the connection) 2014-11-18T19:22:49Z kazimir42 joined #scheme 2014-11-18T19:25:42Z Lingo____ quit (Ping timeout: 245 seconds) 2014-11-18T19:26:41Z teurastaja: (memq 'scheme-community ai-programming) 2014-11-18T19:27:55Z teurastaja: => #f ?? 2014-11-18T19:31:10Z Lingo____ joined #scheme 2014-11-18T19:31:43Z oldskirt joined #scheme 2014-11-18T19:33:53Z sheilong: teurastaja: on mitpress you will found lot of novels 2014-11-18T19:36:34Z amgarchIn9 quit (Ping timeout: 264 seconds) 2014-11-18T19:38:17Z oldskirt quit (Ping timeout: 264 seconds) 2014-11-18T19:42:26Z teurastaja quit (Remote host closed the connection) 2014-11-18T19:42:31Z pera joined #scheme 2014-11-18T19:45:30Z theseb: now that lisp machines are history....is the entire notion of making cpus optimized for functional langs dead ?...I don't see why cpus must naturally be only optimized for C which they essentially are now 2014-11-18T19:47:45Z developernotes joined #scheme 2014-11-18T19:48:37Z pjb quit (Ping timeout: 245 seconds) 2014-11-18T19:52:15Z amgarchIn9 joined #scheme 2014-11-18T19:52:43Z taylanub: FP has been getting a reboot so who knows 2014-11-18T20:09:14Z mmc joined #scheme 2014-11-18T20:10:44Z Gyps joined #scheme 2014-11-18T20:10:47Z fantazo joined #scheme 2014-11-18T20:12:07Z amgarchIn9 quit (Ping timeout: 272 seconds) 2014-11-18T20:15:58Z amgarchIn9 joined #scheme 2014-11-18T20:22:28Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-18T20:22:47Z jumblerg joined #scheme 2014-11-18T20:25:53Z jaaqo quit (Remote host closed the connection) 2014-11-18T20:34:28Z oldskirt joined #scheme 2014-11-18T20:39:21Z oldskirt quit (Ping timeout: 272 seconds) 2014-11-18T20:40:26Z Gyps quit (Quit: Gyps) 2014-11-18T20:43:53Z pjb joined #scheme 2014-11-18T20:46:07Z arrdem is now known as not_arrdem 2014-11-18T20:46:22Z not_arrdem is now known as arrdem 2014-11-18T20:46:28Z kongtomorrow quit (Read error: Connection reset by peer) 2014-11-18T20:46:37Z kongtomo_ joined #scheme 2014-11-18T20:47:53Z sheilong quit (Quit: Konversation terminated!) 2014-11-18T20:56:53Z zacts quit (Ping timeout: 240 seconds) 2014-11-18T20:57:41Z zacts joined #scheme 2014-11-18T20:57:41Z zacts quit (Changing host) 2014-11-18T20:57:41Z zacts joined #scheme 2014-11-18T20:58:41Z Gyps joined #scheme 2014-11-18T21:01:40Z pnkfelix joined #scheme 2014-11-18T21:02:55Z hiroakip joined #scheme 2014-11-18T21:03:11Z vanila joined #scheme 2014-11-18T21:06:54Z jenia quit (Remote host closed the connection) 2014-11-18T21:07:13Z iwillig quit (Ping timeout: 272 seconds) 2014-11-18T21:07:46Z developernotes quit (Ping timeout: 255 seconds) 2014-11-18T21:12:20Z mrowe_away is now known as mrowe 2014-11-18T21:21:01Z oldskirt joined #scheme 2014-11-18T21:22:56Z kazimir42 quit (Remote host closed the connection) 2014-11-18T21:23:10Z theseb quit (Quit: Leaving) 2014-11-18T21:24:25Z iwillig joined #scheme 2014-11-18T21:25:17Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-18T21:25:41Z kazimir42 joined #scheme 2014-11-18T21:27:59Z jeapostr1phe joined #scheme 2014-11-18T21:28:43Z alezost quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-18T21:31:12Z jeapostrophe quit (Ping timeout: 256 seconds) 2014-11-18T21:33:38Z BitPuffin joined #scheme 2014-11-18T21:35:08Z daviid quit (Ping timeout: 250 seconds) 2014-11-18T21:40:19Z daviid joined #scheme 2014-11-18T21:40:51Z duggiefresh quit (Read error: Connection reset by peer) 2014-11-18T21:40:54Z duggiefr_ joined #scheme 2014-11-18T21:41:54Z duggiefr_ quit (Remote host closed the connection) 2014-11-18T21:49:21Z Riastradh quit (Ping timeout: 250 seconds) 2014-11-18T21:51:14Z Riastradh joined #scheme 2014-11-18T21:51:35Z jumblerg joined #scheme 2014-11-18T21:55:44Z henrytill joined #scheme 2014-11-18T21:57:17Z Gyps quit (Quit: Gyps) 2014-11-18T22:05:24Z oldskirt_ joined #scheme 2014-11-18T22:08:35Z oldskirt quit (Ping timeout: 244 seconds) 2014-11-18T22:11:25Z hiyosi quit (Ping timeout: 265 seconds) 2014-11-18T22:12:30Z macdice joined #scheme 2014-11-18T22:16:49Z civodul quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-18T22:20:25Z Lingo____ quit (Quit: Be back later ...) 2014-11-18T22:20:58Z Lingo____ joined #scheme 2014-11-18T22:23:08Z Lingo____ quit (Remote host closed the connection) 2014-11-18T22:23:15Z ijp joined #scheme 2014-11-18T22:23:42Z Lingo____ joined #scheme 2014-11-18T22:24:32Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-18T22:25:09Z Lingo____ quit (Client Quit) 2014-11-18T22:25:44Z Lingo____ joined #scheme 2014-11-18T22:26:10Z fantazo quit (Ping timeout: 256 seconds) 2014-11-18T22:29:24Z kongtomo_ quit 2014-11-18T22:30:34Z Lingo____ quit (Ping timeout: 264 seconds) 2014-11-18T22:34:55Z iwillig left #scheme 2014-11-18T22:35:57Z kongtomorrow joined #scheme 2014-11-18T22:41:15Z jumblerg joined #scheme 2014-11-18T22:41:34Z jumblerg quit (Client Quit) 2014-11-18T22:43:19Z enitiz joined #scheme 2014-11-18T22:52:34Z Gyps joined #scheme 2014-11-18T22:58:35Z kongtomorrow quit (Read error: Connection reset by peer) 2014-11-18T22:59:12Z jeapostr1phe quit (Ping timeout: 250 seconds) 2014-11-18T22:59:43Z kongtomorrow joined #scheme 2014-11-18T23:07:29Z hiyosi joined #scheme 2014-11-18T23:12:29Z hiyosi quit (Ping timeout: 264 seconds) 2014-11-18T23:13:50Z gravicappa quit (Remote host closed the connection) 2014-11-18T23:15:52Z hiroakip quit (Ping timeout: 240 seconds) 2014-11-18T23:24:36Z jeapostrophe joined #scheme 2014-11-18T23:26:13Z Lingo______ joined #scheme 2014-11-18T23:26:37Z zacts left #scheme 2014-11-18T23:28:17Z stepnem quit (Ping timeout: 240 seconds) 2014-11-18T23:28:45Z rtra quit (Ping timeout: 265 seconds) 2014-11-18T23:30:44Z Lingo______ quit (Ping timeout: 244 seconds) 2014-11-18T23:32:27Z vinleod joined #scheme 2014-11-18T23:34:21Z rtra joined #scheme 2014-11-18T23:51:28Z rtra quit (Ping timeout: 265 seconds) 2014-11-18T23:55:53Z rtra joined #scheme 2014-11-18T23:56:55Z Lingo______ joined #scheme