2014-12-02T00:00:17Z oldskirt joined #scheme 2014-12-02T00:02:43Z oldskirt_ joined #scheme 2014-12-02T00:02:43Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T00:03:37Z chaotic_good joined #scheme 2014-12-02T00:04:17Z vinleod quit (Quit: Computer has gone to sleep.) 2014-12-02T00:04:36Z chaotic_good: hii deee hooo 2014-12-02T00:05:04Z oldskirt quit (Ping timeout: 255 seconds) 2014-12-02T00:06:54Z turbofail: hello gavino 2014-12-02T00:07:25Z oldskirt_ quit (Ping timeout: 252 seconds) 2014-12-02T00:08:02Z chaotic_good: say what? 2014-12-02T00:10:47Z jeapostrophe joined #scheme 2014-12-02T00:10:48Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T00:11:19Z vinleod joined #scheme 2014-12-02T00:12:21Z chaotic_good joined #scheme 2014-12-02T00:12:39Z soegaard quit (Quit: soegaard) 2014-12-02T00:12:44Z chaotic_good: web apps 2014-12-02T00:12:49Z chaotic_good: in scheme 2014-12-02T00:12:58Z chaotic_good: lets discusssss 2014-12-02T00:15:52Z chaotic_good: www.aidaweb.si redone in scheme? 2014-12-02T00:16:05Z chaotic_good: prevayler backend data store 2014-12-02T00:16:15Z chaotic_good: like happstack.com 2014-12-02T00:27:10Z Puffin joined #scheme 2014-12-02T00:34:17Z TheCommieDuck joined #scheme 2014-12-02T00:36:12Z cluck quit (Remote host closed the connection) 2014-12-02T00:36:27Z cluck joined #scheme 2014-12-02T00:42:34Z kongtomorrow quit 2014-12-02T00:50:51Z ggherdov quit (Ping timeout: 272 seconds) 2014-12-02T00:50:52Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T00:51:01Z c74d is now known as Guest29672 2014-12-02T00:51:02Z Guest29672 quit (Killed (morgan.freenode.net (Nickname regained by services))) 2014-12-02T00:52:13Z jusss joined #scheme 2014-12-02T00:53:13Z chaotic_good joined #scheme 2014-12-02T00:53:36Z c74d joined #scheme 2014-12-02T00:54:31Z ggherdov joined #scheme 2014-12-02T00:54:37Z c74d quit (Read error: Connection reset by peer) 2014-12-02T00:57:24Z c74d joined #scheme 2014-12-02T01:01:42Z TheCommieDuck: Hey; if I have a (mutable) cyclic s-exp..is there some way to split it to say 'car is X, cdr is Y; X has car X1 and cdr X2; Y is atomic; X1 has car X, cdr X' or whatever? The only ways I can think would be to traverse the expression depth-first, but it's going to be cyclic. 2014-12-02T01:03:15Z oldskirt joined #scheme 2014-12-02T01:03:21Z c74d is now known as Guest2381 2014-12-02T01:04:34Z Guest2381 quit (Ping timeout: 258 seconds) 2014-12-02T01:04:34Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T01:05:19Z vraid: TheCommieDuck: s-expressions are non-cyclic, but anyway, could you explain in more detail what you're trying to do? 2014-12-02T01:05:52Z c74d joined #scheme 2014-12-02T01:06:00Z TheCommieDuck: vraid: Oh, my bad..is there some term for mutable expressions (i.e. set-car!/set-mcar!) then? 2014-12-02T01:06:21Z TheCommieDuck: er...cyclic expressions via set-car/set-mcar 2014-12-02T01:06:46Z chaotic_good joined #scheme 2014-12-02T01:07:51Z vraid: well.. cyclic list 2014-12-02T01:07:51Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T01:07:57Z oldskirt quit (Ping timeout: 240 seconds) 2014-12-02T01:08:57Z vraid: TheCommieDuck: ah, i see. you want to traverse or display it? 2014-12-02T01:09:50Z chaotic_good joined #scheme 2014-12-02T01:10:00Z vraid: the most straightforward way is to track which nodes you have visited already 2014-12-02T01:10:47Z TheCommieDuck: basically put the task is to be given some expression and produce a program that evaluates to that expression; however much googling around seems to produce little..I figured that if I can decompose it to that sort of association, it wouldn't be difficult to produce a list of set-car/set-cdrs. which is the given example. 2014-12-02T01:11:04Z TheCommieDuck: http://puu.sh/ddrL4/81f830db0f.png 2014-12-02T01:12:14Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T01:13:23Z chameco quit (Ping timeout: 258 seconds) 2014-12-02T01:13:50Z chaotic_good joined #scheme 2014-12-02T01:15:20Z chameco joined #scheme 2014-12-02T01:17:51Z _tangra_ joined #scheme 2014-12-02T01:17:51Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T01:18:58Z chaotic_good joined #scheme 2014-12-02T01:22:57Z TheCommieDuck: I'll go for graph-search on it, thanks :P 2014-12-02T01:22:57Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T01:24:42Z chaotic_good joined #scheme 2014-12-02T01:25:30Z c74d quit (Remote host closed the connection) 2014-12-02T01:28:54Z c74d joined #scheme 2014-12-02T01:29:30Z Niac joined #scheme 2014-12-02T01:29:55Z c74d is now known as Guest53709 2014-12-02T01:30:47Z Guest53709 quit (Read error: Connection reset by peer) 2014-12-02T01:31:07Z Puffin quit (Ping timeout: 245 seconds) 2014-12-02T01:32:22Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T01:32:24Z c74d joined #scheme 2014-12-02T01:33:52Z bjz quit (Ping timeout: 240 seconds) 2014-12-02T01:34:41Z chaotic_good joined #scheme 2014-12-02T01:36:36Z c74d quit (Read error: Connection reset by peer) 2014-12-02T01:39:10Z c74d joined #scheme 2014-12-02T01:39:10Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T01:41:34Z chaotic_good joined #scheme 2014-12-02T01:46:29Z jusss quit (Ping timeout: 244 seconds) 2014-12-02T01:48:15Z c74d quit (Read error: Connection reset by peer) 2014-12-02T01:50:33Z c74d joined #scheme 2014-12-02T01:50:33Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T01:51:06Z kongtomorrow joined #scheme 2014-12-02T01:52:48Z chaotic_good joined #scheme 2014-12-02T01:58:10Z c74d quit (Killed (wilhelm.freenode.net (Nickname regained by services))) 2014-12-02T01:58:22Z stepnem quit (Ping timeout: 240 seconds) 2014-12-02T02:00:24Z c74d joined #scheme 2014-12-02T02:00:24Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T02:01:15Z chaotic_good joined #scheme 2014-12-02T02:02:30Z kongtomorrow quit 2014-12-02T02:02:30Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T02:03:20Z Gyps quit (Quit: Gyps) 2014-12-02T02:04:00Z chaotic_good joined #scheme 2014-12-02T02:04:01Z oldskirt joined #scheme 2014-12-02T02:08:47Z oldskirt quit (Ping timeout: 252 seconds) 2014-12-02T02:23:39Z asumu: ska-fan: thanks 2014-12-02T02:24:13Z Mr_Dimes joined #scheme 2014-12-02T02:24:23Z Mr_Dimes left #scheme 2014-12-02T02:27:07Z tobik quit (Ping timeout: 252 seconds) 2014-12-02T02:28:13Z _tangra_ quit 2014-12-02T02:28:14Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T02:29:08Z tobik joined #scheme 2014-12-02T02:29:23Z chaotic_good joined #scheme 2014-12-02T02:37:20Z scoofy quit (Ping timeout: 258 seconds) 2014-12-02T02:38:54Z Gyps joined #scheme 2014-12-02T02:51:09Z scoofy joined #scheme 2014-12-02T02:51:22Z excelsior joined #scheme 2014-12-02T02:56:35Z Riastradh quit (Ping timeout: 250 seconds) 2014-12-02T03:04:51Z oldskirt joined #scheme 2014-12-02T03:04:51Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T03:06:49Z chaotic_good joined #scheme 2014-12-02T03:08:30Z jusss joined #scheme 2014-12-02T03:09:03Z Gyps quit (Remote host closed the connection) 2014-12-02T03:09:37Z oldskirt quit (Ping timeout: 240 seconds) 2014-12-02T03:10:17Z Rodya_ joined #scheme 2014-12-02T03:10:55Z xyh joined #scheme 2014-12-02T03:24:29Z vinleod quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2014-12-02T03:30:11Z TheCommieDuck quit (Read error: Connection reset by peer) 2014-12-02T03:30:11Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T03:31:31Z chaotic_good joined #scheme 2014-12-02T03:33:29Z jeapostrophe quit (Ping timeout: 264 seconds) 2014-12-02T03:35:43Z teiresias joined #scheme 2014-12-02T03:42:44Z daviid joined #scheme 2014-12-02T03:42:44Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T03:43:53Z chaotic_good joined #scheme 2014-12-02T03:46:47Z Pixel_Outlaw quit (Quit: Leaving) 2014-12-02T03:46:47Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T03:48:05Z chaotic_good joined #scheme 2014-12-02T03:50:21Z hellome joined #scheme 2014-12-02T03:53:13Z davexunit quit (Quit: Later) 2014-12-02T03:57:16Z Rodya_ quit (Ping timeout: 255 seconds) 2014-12-02T03:57:16Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T03:58:02Z chaotic_good joined #scheme 2014-12-02T04:00:49Z Puffin joined #scheme 2014-12-02T04:00:49Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T04:01:50Z karswell quit (Read error: Connection reset by peer) 2014-12-02T04:02:02Z karswell joined #scheme 2014-12-02T04:02:57Z chaotic_good joined #scheme 2014-12-02T04:05:30Z Puffin quit (Ping timeout: 258 seconds) 2014-12-02T04:05:30Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T04:05:32Z oldskirt joined #scheme 2014-12-02T04:07:07Z chaotic_good joined #scheme 2014-12-02T04:10:05Z Pixel_Outlaw joined #scheme 2014-12-02T04:10:19Z oldskirt quit (Ping timeout: 255 seconds) 2014-12-02T04:22:14Z cluck quit (Remote host closed the connection) 2014-12-02T04:25:51Z vinleod joined #scheme 2014-12-02T04:32:43Z kongtomorrow joined #scheme 2014-12-02T04:32:43Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T04:34:37Z Niac quit (Ping timeout: 255 seconds) 2014-12-02T04:34:50Z chaotic_good joined #scheme 2014-12-02T04:35:28Z kongtomorrow quit (Client Quit) 2014-12-02T04:35:51Z Niac joined #scheme 2014-12-02T04:36:34Z adu joined #scheme 2014-12-02T04:36:34Z b4283 joined #scheme 2014-12-02T04:37:13Z kongtomorrow joined #scheme 2014-12-02T04:44:09Z psy_ quit (Remote host closed the connection) 2014-12-02T04:44:09Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T04:44:49Z psy_ joined #scheme 2014-12-02T04:46:22Z chaotic_good joined #scheme 2014-12-02T04:47:35Z natarajs joined #scheme 2014-12-02T04:47:36Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T04:47:37Z natarajs_ joined #scheme 2014-12-02T04:47:39Z kongtomorrow quit 2014-12-02T04:47:58Z natarajs quit (Client Quit) 2014-12-02T04:48:10Z natarajs_ is now known as natarajs 2014-12-02T04:48:33Z chaotic_good joined #scheme 2014-12-02T04:50:12Z MichaelRaskin quit (Quit: MichaelRaskin) 2014-12-02T05:04:22Z araujo quit (Ping timeout: 240 seconds) 2014-12-02T05:06:28Z oldskirt joined #scheme 2014-12-02T05:06:28Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T05:08:38Z chaotic_good joined #scheme 2014-12-02T05:11:17Z oldskirt quit (Ping timeout: 264 seconds) 2014-12-02T05:11:18Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T05:13:40Z chaotic_good joined #scheme 2014-12-02T05:16:43Z Pixel_Outlaw quit (Quit: Leaving) 2014-12-02T05:24:36Z araujo joined #scheme 2014-12-02T05:32:36Z vinleod quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2014-12-02T05:50:43Z MichaelRaskin joined #scheme 2014-12-02T05:59:06Z oleo is now known as Guest55659 2014-12-02T05:59:06Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T06:00:40Z oleo__ joined #scheme 2014-12-02T06:01:44Z chaotic_good joined #scheme 2014-12-02T06:02:10Z Guest55659 quit (Ping timeout: 256 seconds) 2014-12-02T06:04:44Z atomx_ joined #scheme 2014-12-02T06:04:44Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T06:06:01Z atomx quit (Ping timeout: 252 seconds) 2014-12-02T06:07:08Z oldskirt joined #scheme 2014-12-02T06:07:22Z chaotic_good joined #scheme 2014-12-02T06:11:37Z oldskirt quit (Ping timeout: 240 seconds) 2014-12-02T06:11:37Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T06:12:03Z daviid quit (Ping timeout: 244 seconds) 2014-12-02T06:12:34Z chaotic_good joined #scheme 2014-12-02T06:12:43Z alezost joined #scheme 2014-12-02T06:20:49Z BossKonaSegwaY quit (Ping timeout: 255 seconds) 2014-12-02T06:21:07Z oleo__ quit (Quit: Verlassend) 2014-12-02T06:22:02Z BossKonaSegwaY joined #scheme 2014-12-02T06:36:26Z atomx_ quit (Remote host closed the connection) 2014-12-02T06:40:22Z b4284 joined #scheme 2014-12-02T06:40:22Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T06:41:57Z b4283 quit (Ping timeout: 245 seconds) 2014-12-02T06:42:14Z kongtomorrow joined #scheme 2014-12-02T06:42:26Z chaotic_good joined #scheme 2014-12-02T06:54:03Z hiroaki joined #scheme 2014-12-02T06:54:03Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T06:54:47Z araujo quit (Ping timeout: 264 seconds) 2014-12-02T06:55:34Z chaotic_good joined #scheme 2014-12-02T07:05:02Z soegaard joined #scheme 2014-12-02T07:06:45Z jusss quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-12-02T07:08:10Z oldskirt joined #scheme 2014-12-02T07:13:12Z oldskirt quit (Ping timeout: 250 seconds) 2014-12-02T07:15:55Z xyh quit (Ping timeout: 272 seconds) 2014-12-02T07:15:55Z chaotic_good quit (Read error: Connection reset by peer) 2014-12-02T07:16:48Z chaotic_good joined #scheme 2014-12-02T07:16:54Z chaotic_good quit (Remote host closed the connection) 2014-12-02T07:21:34Z hiroaki quit (Ping timeout: 255 seconds) 2014-12-02T07:32:11Z frkout_ joined #scheme 2014-12-02T07:35:58Z frkout quit (Ping timeout: 255 seconds) 2014-12-02T07:38:30Z Puffin joined #scheme 2014-12-02T07:43:05Z Puffin quit (Ping timeout: 264 seconds) 2014-12-02T07:51:52Z alexey1 joined #scheme 2014-12-02T07:57:51Z adu quit (Quit: adu) 2014-12-02T08:02:48Z frkout_ quit (Read error: Connection reset by peer) 2014-12-02T08:03:04Z frkout joined #scheme 2014-12-02T08:08:52Z oldskirt joined #scheme 2014-12-02T08:09:35Z natarajs quit (Ping timeout: 252 seconds) 2014-12-02T08:11:01Z cibs quit (Remote host closed the connection) 2014-12-02T08:11:18Z cibs joined #scheme 2014-12-02T08:12:38Z mark_wea` joined #scheme 2014-12-02T08:13:29Z oldskirt_ joined #scheme 2014-12-02T08:13:37Z oldskirt quit (Ping timeout: 245 seconds) 2014-12-02T08:14:02Z mark_weaver quit (Ping timeout: 245 seconds) 2014-12-02T08:20:14Z civodul joined #scheme 2014-12-02T08:21:58Z taylanub: vraid: s-expressions sometimes (including in R7RS) support datum labels for recursion, like #1=(foo bar . #1#) => (foo bar foo bar foo bar ...) 2014-12-02T08:22:16Z natarajs joined #scheme 2014-12-02T08:22:56Z fridim_ joined #scheme 2014-12-02T08:30:46Z natarajs quit (Quit: Leaving) 2014-12-02T08:30:48Z araujo joined #scheme 2014-12-02T08:38:24Z soegaard quit (Quit: soegaard) 2014-12-02T08:44:51Z itsfiveoclock joined #scheme 2014-12-02T08:45:13Z itsfiveoclock left #scheme 2014-12-02T08:50:10Z soegaard joined #scheme 2014-12-02T08:51:08Z pnpuff joined #scheme 2014-12-02T09:04:30Z wingo joined #scheme 2014-12-02T09:08:42Z mrowe_away is now known as mrowe 2014-12-02T09:11:13Z alexey1 quit (Remote host closed the connection) 2014-12-02T09:12:24Z rszeno joined #scheme 2014-12-02T09:12:49Z xyh joined #scheme 2014-12-02T09:15:19Z rszeno quit (Client Quit) 2014-12-02T09:17:55Z b4284 quit (Ping timeout: 258 seconds) 2014-12-02T09:20:00Z redeemed joined #scheme 2014-12-02T09:22:23Z wingo quit (Ping timeout: 264 seconds) 2014-12-02T09:23:54Z salv0 quit (Ping timeout: 256 seconds) 2014-12-02T09:29:26Z excelsior quit (Quit: leaving) 2014-12-02T09:32:32Z Niac quit (Remote host closed the connection) 2014-12-02T09:35:12Z gravicappa joined #scheme 2014-12-02T09:36:53Z wingo joined #scheme 2014-12-02T09:39:39Z pnpuff quit (Quit: pnpuff) 2014-12-02T09:40:41Z salv0 joined #scheme 2014-12-02T09:41:12Z hypermagic joined #scheme 2014-12-02T09:41:50Z vraid quit (Ping timeout: 250 seconds) 2014-12-02T09:44:21Z mrowe is now known as mrowe_away 2014-12-02T09:48:35Z chameco quit (Ping timeout: 258 seconds) 2014-12-02T09:50:15Z chameco joined #scheme 2014-12-02T09:56:17Z Puffin joined #scheme 2014-12-02T09:58:23Z robot-beethoven quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-12-02T10:01:36Z emlow quit (Quit: WeeChat 0.3.8) 2014-12-02T10:04:29Z stepnem joined #scheme 2014-12-02T10:06:06Z dpk quit (Ping timeout: 250 seconds) 2014-12-02T10:08:16Z MichaelRaskin quit (Ping timeout: 250 seconds) 2014-12-02T10:10:51Z MichaelRaskin joined #scheme 2014-12-02T10:14:41Z soegaard quit (Quit: soegaard) 2014-12-02T10:17:49Z Puffin quit (Read error: Connection reset by peer) 2014-12-02T10:18:03Z BitPuffin joined #scheme 2014-12-02T10:19:52Z alexey1 joined #scheme 2014-12-02T10:23:32Z vraid joined #scheme 2014-12-02T10:27:15Z bjz joined #scheme 2014-12-02T10:39:07Z BitPuffin quit (Ping timeout: 255 seconds) 2014-12-02T10:41:00Z przl joined #scheme 2014-12-02T10:48:52Z ventonegro joined #scheme 2014-12-02T10:50:32Z ventonegro quit (Remote host closed the connection) 2014-12-02T10:51:10Z ventonegro joined #scheme 2014-12-02T10:56:13Z civodul quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-12-02T11:12:49Z soegaard joined #scheme 2014-12-02T11:31:46Z rszeno joined #scheme 2014-12-02T11:42:33Z xyh quit (Ping timeout: 272 seconds) 2014-12-02T11:43:17Z przl quit (Ping timeout: 240 seconds) 2014-12-02T11:43:29Z jeapostrophe joined #scheme 2014-12-02T11:43:29Z jeapostrophe quit (Changing host) 2014-12-02T11:43:29Z jeapostrophe joined #scheme 2014-12-02T11:52:37Z pjdelport quit (Quit: Connection closed for inactivity) 2014-12-02T11:57:16Z alexey1 quit (Quit: Leaving...) 2014-12-02T12:05:14Z stamourv` joined #scheme 2014-12-02T12:05:29Z stamourv quit (Remote host closed the connection) 2014-12-02T12:09:12Z frkout quit (Read error: Connection reset by peer) 2014-12-02T12:09:27Z frkout joined #scheme 2014-12-02T12:15:03Z Vutral quit (Ping timeout: 244 seconds) 2014-12-02T12:16:02Z przl joined #scheme 2014-12-02T12:20:54Z Vutral joined #scheme 2014-12-02T12:20:57Z rszeno quit (Quit: Leaving.) 2014-12-02T12:21:10Z civodul joined #scheme 2014-12-02T12:39:52Z frkout quit (Read error: Connection reset by peer) 2014-12-02T12:39:56Z frkout_ joined #scheme 2014-12-02T12:44:13Z b4283 joined #scheme 2014-12-02T12:57:55Z soegaard quit (Quit: soegaard) 2014-12-02T12:59:49Z GGMethos quit (Ping timeout: 272 seconds) 2014-12-02T13:01:38Z soegaard joined #scheme 2014-12-02T13:02:24Z GGMethos joined #scheme 2014-12-02T13:07:05Z jeapostrophe quit (Ping timeout: 264 seconds) 2014-12-02T13:10:20Z frkout_ quit (Read error: Connection reset by peer) 2014-12-02T13:10:32Z frkout joined #scheme 2014-12-02T13:13:09Z jeapostrophe joined #scheme 2014-12-02T13:13:09Z jeapostrophe quit (Changing host) 2014-12-02T13:13:09Z jeapostrophe joined #scheme 2014-12-02T13:22:04Z pjdelport joined #scheme 2014-12-02T13:25:37Z soegaard quit (Quit: soegaard) 2014-12-02T13:37:51Z MichaelRaskin quit (Quit: MichaelRaskin) 2014-12-02T13:42:49Z taylanub quit (Disconnected by services) 2014-12-02T13:43:25Z taylanub joined #scheme 2014-12-02T13:45:27Z ffs quit (Quit: 1.: Verstecken! 2.: Wenn sie dich finden: LÜGEN!) 2014-12-02T13:47:22Z davexunit joined #scheme 2014-12-02T13:59:18Z ffs joined #scheme 2014-12-02T14:01:53Z guampa quit (Remote host closed the connection) 2014-12-02T14:02:44Z guampa joined #scheme 2014-12-02T14:05:57Z jeapostrophe quit (Ping timeout: 240 seconds) 2014-12-02T14:12:11Z adu joined #scheme 2014-12-02T14:30:25Z soegaard joined #scheme 2014-12-02T14:31:37Z oleo joined #scheme 2014-12-02T14:35:46Z Bahman joined #scheme 2014-12-02T14:35:59Z jeapostrophe joined #scheme 2014-12-02T14:37:17Z civodul quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-12-02T14:42:13Z daviid joined #scheme 2014-12-02T14:48:16Z keyguard_ joined #scheme 2014-12-02T14:51:34Z keyguard quit (Ping timeout: 255 seconds) 2014-12-02T14:51:47Z adu quit (Quit: adu) 2014-12-02T15:13:44Z Guest70 joined #scheme 2014-12-02T15:14:16Z Guest70 quit (Client Quit) 2014-12-02T15:14:44Z hiyosi joined #scheme 2014-12-02T15:14:58Z Rodya_ joined #scheme 2014-12-02T15:25:25Z stamourv` is now known as stamourv 2014-12-02T15:25:34Z stamourv quit (Changing host) 2014-12-02T15:25:34Z stamourv joined #scheme 2014-12-02T15:28:21Z Flaoer joined #scheme 2014-12-02T15:29:12Z civodul joined #scheme 2014-12-02T15:40:42Z pnkfelix joined #scheme 2014-12-02T15:45:05Z pnkfelix quit (Ping timeout: 258 seconds) 2014-12-02T15:47:51Z psy_ quit (Read error: Connection reset by peer) 2014-12-02T15:48:55Z Flaoer quit (Ping timeout: 258 seconds) 2014-12-02T15:50:33Z ventonegro quit (Remote host closed the connection) 2014-12-02T15:51:04Z ventonegro joined #scheme 2014-12-02T15:51:32Z psy_ joined #scheme 2014-12-02T16:11:55Z rtra quit (Ping timeout: 258 seconds) 2014-12-02T16:14:19Z rtra joined #scheme 2014-12-02T16:17:06Z redeemed quit (Quit: q) 2014-12-02T16:20:36Z cky: taylanub: It's not "recursion" as such, but shared data. 2014-12-02T16:21:10Z cky: Although a common use for shared data is for circular lists, you can use shared data for finite data structures too. 2014-12-02T16:21:46Z cky: rudybot: (define foo (call-with-input-string "(#0=(foo bar) #0# #0#)" read)) 2014-12-02T16:21:47Z rudybot: cky: your sandbox is ready 2014-12-02T16:21:47Z rudybot: cky: Done. 2014-12-02T16:21:58Z cky: rudybot: (eq? (car foo) (cadr foo)) 2014-12-02T16:21:58Z rudybot: cky: ; Value: #t 2014-12-02T16:22:15Z cky: rudybot: foo 2014-12-02T16:22:15Z rudybot: cky: ; Value: '((foo bar) (foo bar) (foo bar)) 2014-12-02T16:25:55Z theseb joined #scheme 2014-12-02T16:27:28Z taylanub: cky: well, the '(foo . (bar . <>))' structure recurs, hence recursion :) 2014-12-02T16:28:59Z Flaoer joined #scheme 2014-12-02T16:31:28Z kongtomorrow quit 2014-12-02T16:31:49Z kongtomorrow joined #scheme 2014-12-02T16:35:29Z Riastradh joined #scheme 2014-12-02T16:36:11Z kongtomorrow quit (Ping timeout: 244 seconds) 2014-12-02T16:37:14Z fgudin quit (Quit: leaving) 2014-12-02T16:37:27Z ventonegro quit (Remote host closed the connection) 2014-12-02T16:38:05Z ventonegro joined #scheme 2014-12-02T16:38:32Z jeapostrophe quit (Ping timeout: 256 seconds) 2014-12-02T16:46:11Z civodul quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-12-02T16:49:05Z przl quit (Ping timeout: 264 seconds) 2014-12-02T17:01:35Z theseb: is the ONLY difference between dynamic and lexical scoping that for lexical the lambda functions drag around the environment at the time of creation? 2014-12-02T17:03:18Z jeapostrophe joined #scheme 2014-12-02T17:05:03Z vraid: theseb: no.. in dynamic scoping, functions will use the environment from where they are called 2014-12-02T17:06:14Z drdanmaku: isn't that implied by not capturing the environment at the creation site of the function? 2014-12-02T17:06:26Z drdanmaku: there's no other environment to use 2014-12-02T17:06:44Z vraid: hmm.. perhaps 2014-12-02T17:07:52Z theseb: vraid: yea..my point is both defs have to do with differences in environments only 2014-12-02T17:08:16Z theseb: vraid: one uses current env...other uses env at time of creation....i can't see anything else 2014-12-02T17:08:56Z kazimir42 joined #scheme 2014-12-02T17:10:59Z taylanub: theseb: yeah, one use the "static (lexical) environment" the other the "dynamic environment" 2014-12-02T17:11:12Z soegaard left #scheme 2014-12-02T17:12:38Z frkout quit (Read error: Connection reset by peer) 2014-12-02T17:12:48Z frkout joined #scheme 2014-12-02T17:19:25Z cky: theseb: It's more than that. With dynamic scoping, each time you use `let` or function calls or the like, it has to save the original value of the variable, and restore it upon exit. 2014-12-02T17:19:57Z cky: So each variable essentially has a "stack of values". 2014-12-02T17:20:14Z cky: and the top of the stack is the current value. 2014-12-02T17:20:28Z LeoNerd: Isn't that fluid-let ? 2014-12-02T17:20:47Z taylanub: fluid-let implements dynamic binding, yes 2014-12-02T17:21:15Z cky: theseb: Have you ever played with Perl? Do you understand the difference between `my` and `local`? 2014-12-02T17:21:36Z cky: theseb: `my` creates a lexically-scoped variable, and `local` sets up dynamic scoping for the variable. 2014-12-02T17:22:34Z cky: This is why if you want to override, say, `$\` temporarily, you'd use `local` to do it, and not `my` (which would create a new variable called `$\` and not cause the desired overriding effect). 2014-12-02T17:22:34Z theseb: cky: i'm a big python man 2014-12-02T17:22:44Z cky: theseb: Too bad, I don't think Python has dynamic scoping. :-P 2014-12-02T17:23:39Z LeoNerd: It doesn't, no 2014-12-02T17:24:07Z LeoNerd: Causes me much annoyance every time I have to write foo_save = foo; try: foo = new_value; do a thing(); finally: foo = foo_save 2014-12-02T17:24:18Z LeoNerd: Especially things like loglevels during small calls I'm trying to debug 2014-12-02T17:24:21Z cky: theseb: With lexical scoping, you're creating new variables. With dynamic scoping, you're reusing existing (global) variables, with a value stack that gets popped when you exit the "scope". 2014-12-02T17:24:42Z theseb: cky: thanks. 2014-12-02T17:24:53Z cky: :-) 2014-12-02T17:25:14Z LeoNerd: { local $logger->loglevel = LOG_DEBUG; do_a_thing() } # old log-level is restored here 2014-12-02T17:25:26Z cky: LeoNerd: :-D 2014-12-02T17:25:30Z vraid quit (Ping timeout: 250 seconds) 2014-12-02T17:25:59Z cky: LeoNerd: I actually like Perl a lot, even though lots of people like to hate on it. 2014-12-02T17:26:23Z cky: Ditto with C++, especially C++11 onwards. 2014-12-02T17:27:32Z cky: As would be expected, both Perl and C++ are in my top tags on Stack Overflow: http://careers.stackoverflow.com/cky :-) 2014-12-02T17:29:38Z Intensity quit (Remote host closed the connection) 2014-12-02T17:31:38Z civodul joined #scheme 2014-12-02T17:46:06Z ventonegro quit (Remote host closed the connection) 2014-12-02T18:01:08Z nitrix quit (Quit: EOF) 2014-12-02T18:01:43Z vraid joined #scheme 2014-12-02T18:07:41Z wingo quit (Ping timeout: 264 seconds) 2014-12-02T18:08:47Z oldskirt_ is now known as oldskirt 2014-12-02T18:08:58Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-12-02T18:09:40Z systemovich joined #scheme 2014-12-02T18:12:42Z oleo is now known as Guest96728 2014-12-02T18:14:49Z Pixel_Outlaw joined #scheme 2014-12-02T18:16:00Z Guest96728 quit (Ping timeout: 256 seconds) 2014-12-02T18:17:09Z oleo__ joined #scheme 2014-12-02T18:17:20Z oldskirt_ joined #scheme 2014-12-02T18:17:20Z oldskirt_ quit (Changing host) 2014-12-02T18:17:20Z oldskirt_ joined #scheme 2014-12-02T18:17:56Z oleo__ is now known as oleo 2014-12-02T18:19:17Z systemovich_ joined #scheme 2014-12-02T18:19:55Z systemovich quit (Ping timeout: 255 seconds) 2014-12-02T18:20:53Z oldskirt quit (Ping timeout: 264 seconds) 2014-12-02T18:21:18Z b4283 quit (Quit: Konversation terminated!) 2014-12-02T18:24:45Z MichaelRaskin joined #scheme 2014-12-02T18:28:30Z wingo joined #scheme 2014-12-02T18:32:19Z snyp joined #scheme 2014-12-02T18:34:13Z snyp: So I am following through a series of scheme articles, "Adventures of a Pythonista in Schemeland", and the author has created his own macros, and I am trying to load the code into the Guile repl, but it says that the 'andmap' is an unbound variable.. so what is andmap? 2014-12-02T18:34:58Z snyp: http://paste.debian.net/134631/ line 48 2014-12-02T18:35:52Z snyp: He mentions this is R6RS compliant... so I guess it should work in guile 2014-12-02T18:37:57Z theseb: snyp: i'm a big python guy that is dabbling in lisp too 2014-12-02T18:38:01Z theseb: i'll take a look 2014-12-02T18:38:38Z cky: snyp: You can use `every` from (srfi srfi-1). 2014-12-02T18:38:45Z cky: snyp: It work the same way as `andmap`. 2014-12-02T18:39:03Z theseb: snyp: wow...too advanced for me 2014-12-02T18:39:37Z snyp: cky: can you modify the code and make it work in guile? 2014-12-02T18:39:46Z cky: Although, that code has some Racketisms in it, like define-for-syntax. 2014-12-02T18:40:51Z cky: snyp: Yes, it looks simple enough, in theory. 2014-12-02T18:41:00Z cky: Lemme try. 2014-12-02T18:41:11Z snyp: thanks 2014-12-02T18:41:52Z hiroaki joined #scheme 2014-12-02T18:42:12Z snyp: ah andmap is fold with and http://stackoverflow.com/questions/8231383/andmap-ormap-chez-scheme 2014-12-02T18:42:35Z cky: snyp: Hence, `every`. 2014-12-02T18:42:46Z snyp: yeah 2014-12-02T18:43:27Z frkout quit (Read error: Connection reset by peer) 2014-12-02T18:43:44Z frkout joined #scheme 2014-12-02T18:44:31Z snyp: however there seem to be other problems with the code too, guile is showing 2014-12-02T18:44:51Z cky: snyp: I told you that code snippet has some Racket-specific things in it. :-) 2014-12-02T18:44:58Z snyp: i see 2014-12-02T18:45:34Z cky: snyp: It's easy to port to Guile, but it won't be a straight cut-and-paste. 2014-12-02T18:46:01Z snyp: i see 2014-12-02T18:48:33Z snyp: you don't HAVE to do it for me if it's too non-trivial and uninteresting. i will just read the article then for now and learn the standard syntax-case stuff directly. 2014-12-02T18:51:17Z cky: I'm done, just testing it now. 2014-12-02T18:51:45Z snyp: cool 2014-12-02T18:53:07Z cky: snyp: https://gist.github.com/anonymous/644bc94824b2cb31c491 2014-12-02T18:54:26Z snyp: working!! 2014-12-02T18:54:33Z snyp: thanks a lot cky 2014-12-02T18:55:02Z alexei joined #scheme 2014-12-02T18:55:17Z systemovich_ quit (Ping timeout: 252 seconds) 2014-12-02T18:55:47Z cky: snyp: :-D 2014-12-02T18:57:09Z snyp: cky: aww, it loads ok, but it says syntax-object->datum is unbound 2014-12-02T18:57:14Z snyp: lol 2014-12-02T18:58:16Z snyp: cky: i searched in guile manual. there's a function syntax->datum 2014-12-02T18:58:29Z snyp: that might be it 2014-12-02T18:58:33Z cky: It is. 2014-12-02T18:58:47Z cky: Lemme update the gist with that. 2014-12-02T19:00:17Z cky: snyp: https://gist.github.com/anonymous/dea00d72580ef6f868a9 2014-12-02T19:00:39Z cky: Apparently Gists can't be edited if posted anonymously, and it's not my code so I don't want to attach it to my GitHub account. 2014-12-02T19:00:49Z cky: So I had to create a new Gist. :-P 2014-12-02T19:01:20Z snyp: ah 2014-12-02T19:03:31Z snyp: aww yesss working now. 2014-12-02T19:03:36Z snyp: thanks cky. :) 2014-12-02T19:14:00Z frkout quit (Read error: Connection reset by peer) 2014-12-02T19:14:11Z frkout joined #scheme 2014-12-02T19:17:57Z pnpuff joined #scheme 2014-12-02T19:23:16Z snyp quit (Quit: "bbl") 2014-12-02T20:09:03Z hiroaki quit (Ping timeout: 244 seconds) 2014-12-02T20:14:45Z frkout quit (Read error: Connection reset by peer) 2014-12-02T20:14:48Z Intensity joined #scheme 2014-12-02T20:14:53Z frkout joined #scheme 2014-12-02T20:14:53Z jeapostrophe quit (Ping timeout: 264 seconds) 2014-12-02T20:15:57Z t10 joined #scheme 2014-12-02T20:16:28Z jeapostrophe joined #scheme 2014-12-02T20:16:28Z jeapostrophe quit (Changing host) 2014-12-02T20:16:28Z jeapostrophe joined #scheme 2014-12-02T20:18:16Z t10 quit (Client Quit) 2014-12-02T20:19:37Z fridim_ quit (Ping timeout: 252 seconds) 2014-12-02T20:27:00Z hiroaki joined #scheme 2014-12-02T20:27:50Z Vutral quit (Ping timeout: 245 seconds) 2014-12-02T20:34:06Z pnpuff quit (Quit: pnpuff) 2014-12-02T20:35:54Z gravicappa quit (Remote host closed the connection) 2014-12-02T20:37:11Z Vutral joined #scheme 2014-12-02T20:38:46Z hiyosi joined #scheme 2014-12-02T20:42:09Z kazimir42 quit (Ping timeout: 250 seconds) 2014-12-02T20:45:15Z frkout quit (Read error: Connection reset by peer) 2014-12-02T20:45:19Z frkout_ joined #scheme 2014-12-02T20:49:17Z zmisc joined #scheme 2014-12-02T21:12:47Z zmisc quit (Ping timeout: 264 seconds) 2014-12-02T21:15:56Z frkout joined #scheme 2014-12-02T21:16:08Z frkout_ quit (Read error: Connection reset by peer) 2014-12-02T21:20:28Z pnkfelix joined #scheme 2014-12-02T21:24:20Z daviid quit (Ping timeout: 258 seconds) 2014-12-02T21:27:06Z fantazo joined #scheme 2014-12-02T21:28:38Z vinleod joined #scheme 2014-12-02T21:29:13Z jeapostr1phe joined #scheme 2014-12-02T21:30:01Z t10 joined #scheme 2014-12-02T21:31:51Z jeapostrophe quit (Ping timeout: 252 seconds) 2014-12-02T21:32:01Z t10: is the recommended way to learn scheme still htdp -> sicp, or has something new come along since then? 2014-12-02T21:33:25Z stamourv: t10: I'd recommend HTDP (2nd edition, falling back to 1st for the parts that haven't been written yet), then PLAI. 2014-12-02T21:33:40Z stamourv: The latter is more about learning programming languages than about Scheme per se. 2014-12-02T21:35:16Z t10: stamourv, thanks, I'll look into it :) 2014-12-02T21:35:22Z kongtomorrow joined #scheme 2014-12-02T21:35:53Z taylanub: t10: note that those are not actually for learning Scheme specifically... regarding Scheme specific things, there's The Little Schemer and The Seasoned Schemer; don't know about others. 2014-12-02T21:50:42Z peterhil joined #scheme 2014-12-02T21:52:47Z Pixel_Outlaw: I find SICP to be a very good book about thinking in abstractions. 2014-12-02T21:52:54Z Pixel_Outlaw: But not a book to learn scheme specifically. 2014-12-02T21:53:27Z oleo quit (Quit: Verlassend) 2014-12-02T21:55:00Z oleo joined #scheme 2014-12-02T21:57:55Z davexunit quit (Quit: Later) 2014-12-02T22:01:31Z hive-mind quit (Ping timeout: 258 seconds) 2014-12-02T22:01:45Z vinleod quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2014-12-02T22:03:05Z mrowe_away is now known as mrowe 2014-12-02T22:07:55Z hive-mind joined #scheme 2014-12-02T22:09:35Z civodul quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-12-02T22:10:51Z alezost quit (Quit: I use GNU Guix ) 2014-12-02T22:14:20Z Bahman quit (Quit: Ave atque vale) 2014-12-02T22:30:57Z wingo quit (Ping timeout: 240 seconds) 2014-12-02T22:36:45Z fantazo quit (Quit: Verlassend) 2014-12-02T22:44:31Z pnkfelix quit (Ping timeout: 255 seconds) 2014-12-02T22:46:57Z frkout quit (Read error: Connection reset by peer) 2014-12-02T22:47:03Z frkout_ joined #scheme 2014-12-02T22:48:00Z davexunit joined #scheme 2014-12-02T22:52:22Z bjz quit (Ping timeout: 245 seconds) 2014-12-02T22:56:17Z hiroaki quit (Ping timeout: 240 seconds) 2014-12-02T22:56:19Z peterhil` joined #scheme 2014-12-02T22:57:41Z ggherdov quit (Ping timeout: 252 seconds) 2014-12-02T22:57:41Z cataska quit (Ping timeout: 252 seconds) 2014-12-02T22:58:00Z alexei quit (Remote host closed the connection) 2014-12-02T22:58:01Z peterhil quit (Ping timeout: 252 seconds) 2014-12-02T22:58:22Z cataska joined #scheme 2014-12-02T22:59:14Z Gyps joined #scheme 2014-12-02T23:02:10Z jeapostr1phe quit (Ping timeout: 256 seconds) 2014-12-02T23:03:53Z mark_wea` quit (Ping timeout: 252 seconds) 2014-12-02T23:05:53Z oldskirt_ is now known as oldskirt 2014-12-02T23:06:42Z ggherdov joined #scheme 2014-12-02T23:08:46Z frkout joined #scheme 2014-12-02T23:09:45Z frkout_ quit (Ping timeout: 252 seconds) 2014-12-02T23:11:13Z Pixel_Outlaw quit (Ping timeout: 252 seconds) 2014-12-02T23:11:37Z Pixel_Outlaw joined #scheme 2014-12-02T23:13:07Z hiroaki joined #scheme 2014-12-02T23:15:43Z pnkfelix joined #scheme 2014-12-02T23:18:54Z alexei joined #scheme 2014-12-02T23:19:42Z senoj joined #scheme 2014-12-02T23:21:45Z hiroaki quit (Ping timeout: 272 seconds) 2014-12-02T23:23:15Z t10 quit (Quit: Leaving) 2014-12-02T23:23:24Z Pixel_Outlaw: I mostly use CL but dip into Scheme on occasion. Is there anything technically wrong with constructing a loop macro using recursion? 2014-12-02T23:26:07Z cojy: how else would you do it? 2014-12-02T23:26:14Z cojy: and no 2014-12-02T23:28:19Z Pixel_Outlaw: The impression I've gotten is that recursion is preferred. I just wanted to make sure that iteration via a loop like macro was not dangerous in design. 2014-12-02T23:30:19Z senoj quit (Quit: /quit) 2014-12-02T23:30:44Z turbofail: scheme already ships with some loop-like macros, such as `do' 2014-12-02T23:31:37Z turbofail: racket has an extensive and extensible looping facility with its various `for' macros 2014-12-02T23:34:04Z turbofail: then there's foof-loop and other things. basically recursion is only preferred if it happens to be the clearest way to express whatever you're doing, and important for if you want to implement your own looping constructs 2014-12-02T23:35:14Z girrig joined #scheme 2014-12-02T23:37:00Z hiroakip joined #scheme 2014-12-02T23:37:21Z c74d quit (Remote host closed the connection) 2014-12-02T23:41:47Z c74d joined #scheme 2014-12-02T23:43:47Z Pixel_Outlaw: Oh ok thanks turbofail 2014-12-02T23:44:17Z Nshag quit (Ping timeout: 264 seconds) 2014-12-02T23:44:23Z Pixel_Outlaw: Just wanted to make sure it woun't expand into 10,000 lines of macro internally. 2014-12-02T23:44:47Z turbofail: oh it very well might 2014-12-02T23:47:04Z c74d quit (Remote host closed the connection) 2014-12-02T23:47:52Z frkout quit (Read error: Connection reset by peer) 2014-12-02T23:47:57Z frkout_ joined #scheme 2014-12-02T23:52:20Z Lingo joined #scheme 2014-12-02T23:52:34Z Lingo is now known as mdibound 2014-12-02T23:53:59Z Nshag joined #scheme 2014-12-02T23:54:05Z Nshag quit (Remote host closed the connection) 2014-12-02T23:54:14Z Nshag joined #scheme 2014-12-02T23:55:03Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-12-02T23:56:12Z mdibound: I have the function (define (driver expr input l) and when I call (driver expression (get-input) '() ) where (get-input) is another function, I get Error: function driver has been called with 2 arguments, it requires 3 arguments.... but I gave it three arguments!! 2014-12-02T23:57:22Z cojy: would need to see the source to be able to help then 2014-12-02T23:57:55Z hiyosi joined #scheme 2014-12-02T23:58:58Z jewel__ quit (Ping timeout: 250 seconds)