2014-12-03T00:01:00Z mdibound: http://pastebin.com/MvvB8quB (without the other unrelated functions) (interface) gets called first 2014-12-03T00:02:15Z vraid: what about (driver input (append block)) ? 2014-12-03T00:02:17Z mdibound: got it..... recursively calling driver with less than 3 arguments 2014-12-03T00:03:01Z c74d joined #scheme 2014-12-03T00:03:08Z mdibound: thank you! :) 2014-12-03T00:03:45Z mdibound: it would be helpful if the interpreter gave an error WITH a line number 2014-12-03T00:04:10Z vraid: some do 2014-12-03T00:04:31Z Riastradh quit (Ping timeout: 250 seconds) 2014-12-03T00:04:49Z jeapostrophe joined #scheme 2014-12-03T00:04:49Z jeapostrophe quit (Changing host) 2014-12-03T00:04:49Z jeapostrophe joined #scheme 2014-12-03T00:07:08Z mdibound quit (Quit: Be back later ...) 2014-12-03T00:07:42Z mdibound joined #scheme 2014-12-03T00:07:59Z pnkfelix quit (Ping timeout: 272 seconds) 2014-12-03T00:08:52Z pnkfelix joined #scheme 2014-12-03T00:24:20Z oldskirt_ joined #scheme 2014-12-03T00:26:57Z oldskirt quit (Ping timeout: 240 seconds) 2014-12-03T00:31:41Z senoj joined #scheme 2014-12-03T00:33:38Z Nshag quit (Ping timeout: 250 seconds) 2014-12-03T00:36:21Z systemovich joined #scheme 2014-12-03T00:41:14Z senoj_ joined #scheme 2014-12-03T00:42:52Z senoj quit (Ping timeout: 255 seconds) 2014-12-03T00:44:00Z Nshag joined #scheme 2014-12-03T00:47:30Z hive-mind quit (Ping timeout: 258 seconds) 2014-12-03T00:53:44Z hiroakip quit (Ping timeout: 244 seconds) 2014-12-03T00:54:48Z hive-mind joined #scheme 2014-12-03T00:56:47Z yrdz` joined #scheme 2014-12-03T00:56:53Z yrdz quit (Read error: Connection reset by peer) 2014-12-03T00:56:59Z yrdz` quit (Remote host closed the connection) 2014-12-03T00:57:34Z yrdz joined #scheme 2014-12-03T00:58:12Z oldskirt_ quit (Ping timeout: 245 seconds) 2014-12-03T01:00:02Z Puffin joined #scheme 2014-12-03T01:01:05Z alexei quit (Ping timeout: 264 seconds) 2014-12-03T01:01:38Z antinomy joined #scheme 2014-12-03T01:06:50Z Puffin is now known as BitPuffin 2014-12-03T01:12:35Z psy_ quit (Ping timeout: 272 seconds) 2014-12-03T01:19:25Z frkout joined #scheme 2014-12-03T01:19:30Z frkout_ quit (Read error: Connection reset by peer) 2014-12-03T01:20:52Z systemovich quit (Ping timeout: 250 seconds) 2014-12-03T01:21:18Z jusss joined #scheme 2014-12-03T01:22:30Z systemovich joined #scheme 2014-12-03T01:24:18Z antinomy quit (Ping timeout: 258 seconds) 2014-12-03T01:24:33Z max1 joined #scheme 2014-12-03T01:24:54Z max1 quit (Client Quit) 2014-12-03T01:25:10Z mark_weaver joined #scheme 2014-12-03T01:26:58Z BitPuffin quit (Ping timeout: 255 seconds) 2014-12-03T01:28:11Z hypermagic: hello my friends 2014-12-03T01:40:02Z BitPuffin joined #scheme 2014-12-03T01:44:41Z Sgeo_ joined #scheme 2014-12-03T01:46:52Z robot-beethoven joined #scheme 2014-12-03T01:47:25Z Sgeo_ quit (Read error: Connection reset by peer) 2014-12-03T01:47:32Z antinomy joined #scheme 2014-12-03T01:48:30Z Sgeo quit (Ping timeout: 244 seconds) 2014-12-03T01:48:52Z mdibound: If I have a string 'output' and I am writing that string to a file with (write output port) how do I write the string without the enclosing " quotation marks" 2014-12-03T01:49:34Z Sgeo joined #scheme 2014-12-03T01:49:53Z cky: mdibound: Use `display` instead of `write`. 2014-12-03T01:49:58Z frkout quit (Read error: Connection reset by peer) 2014-12-03T01:50:04Z frkout_ joined #scheme 2014-12-03T01:50:05Z cky: mdibound: `write` will _always_ write the "quotes" for strings. 2014-12-03T01:51:11Z mdibound: of course... thank you cky! 2014-12-03T01:52:52Z jusss quit (Remote host closed the connection) 2014-12-03T01:53:09Z hypermagic: this sounds dumb 2014-12-03T01:53:29Z jusss joined #scheme 2014-12-03T01:53:39Z hypermagic: "string" means string 2014-12-03T01:54:25Z cky: hypermagic: ? 2014-12-03T01:54:31Z hypermagic: '"string"' can mean "string" and "'string'" could mean 'string' 2014-12-03T01:54:37Z oldskirt joined #scheme 2014-12-03T01:55:00Z hypermagic: this is how it works in linux. 2014-12-03T01:55:22Z cky: Uh, but this is Scheme, not "Linux" (presumably you mean the Bourne shell). 2014-12-03T01:55:44Z hypermagic: yes, bash, command-line, terminal, and command line tools 2014-12-03T01:56:48Z cky: hypermagic: In Scheme, single quotes are for quoting datums, not for delimiting strings. 2014-12-03T01:57:44Z hypermagic: this does not make any sense to me 2014-12-03T01:57:59Z hypermagic: or you meant number? 2014-12-03T01:58:03Z hypermagic: character? 2014-12-03T01:58:11Z cky: rudybot: (define foo '(foo bar baz)) 2014-12-03T01:58:12Z rudybot: cky: Done. 2014-12-03T01:58:15Z cky: rudybot: foo 2014-12-03T01:58:15Z rudybot: cky: ; Value: '(foo bar baz) 2014-12-03T01:58:21Z cky: rudybot: (first foo) 2014-12-03T01:58:21Z rudybot: cky: ; Value: 'foo 2014-12-03T01:58:26Z cky: rudybot: (second foo) 2014-12-03T01:58:26Z rudybot: cky: ; Value: 'bar 2014-12-03T01:58:30Z cky: rudybot: (third foo) 2014-12-03T01:58:31Z rudybot: cky: ; Value: 'baz 2014-12-03T01:59:12Z cky: hypermagic: '(foo bar baz) is a quoted datum. 2014-12-03T02:00:27Z hypermagic: oh i love the logic, i imagined i want to search for 2 spaces 2014-12-03T02:01:10Z oldskirt quit (Ping timeout: 255 seconds) 2014-12-03T02:05:33Z stepnem quit (Ping timeout: 244 seconds) 2014-12-03T02:21:26Z rx_ joined #scheme 2014-12-03T02:22:02Z frkout_ quit (Remote host closed the connection) 2014-12-03T02:22:29Z frkout joined #scheme 2014-12-03T02:25:23Z BitPuffin quit (Ping timeout: 264 seconds) 2014-12-03T02:25:25Z tobik quit (Ping timeout: 272 seconds) 2014-12-03T02:27:54Z tobik joined #scheme 2014-12-03T02:30:19Z frkout_ joined #scheme 2014-12-03T02:33:37Z frkout quit (Ping timeout: 252 seconds) 2014-12-03T02:38:43Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-12-03T02:40:45Z mdibound quit (Quit: Be back later ...) 2014-12-03T02:41:21Z mdibound joined #scheme 2014-12-03T02:42:01Z mdibound quit (Client Quit) 2014-12-03T02:42:34Z mdibound joined #scheme 2014-12-03T02:46:56Z jewel joined #scheme 2014-12-03T02:46:59Z mdibound quit (Ping timeout: 264 seconds) 2014-12-03T02:47:53Z pnkfelix quit (Ping timeout: 264 seconds) 2014-12-03T02:54:29Z jusss quit (Ping timeout: 264 seconds) 2014-12-03T02:57:22Z oldskirt joined #scheme 2014-12-03T03:01:57Z oldskirt quit (Ping timeout: 245 seconds) 2014-12-03T03:08:13Z rx_ quit (Ping timeout: 255 seconds) 2014-12-03T03:11:26Z Riastradh joined #scheme 2014-12-03T03:11:56Z jusss joined #scheme 2014-12-03T03:27:43Z senoj_ quit (Quit: /quit) 2014-12-03T03:30:21Z Riastradh quit (Ping timeout: 250 seconds) 2014-12-03T03:33:38Z jusss quit (Read error: Connection reset by peer) 2014-12-03T03:34:15Z jusss joined #scheme 2014-12-03T03:41:03Z jusss quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-12-03T03:43:13Z mdibound joined #scheme 2014-12-03T03:45:49Z jusss joined #scheme 2014-12-03T03:47:46Z mdibound quit (Ping timeout: 256 seconds) 2014-12-03T03:53:13Z githogori quit (Ping timeout: 255 seconds) 2014-12-03T03:58:08Z oldskirt joined #scheme 2014-12-03T03:58:41Z hypermagic quit (Ping timeout: 264 seconds) 2014-12-03T04:02:37Z oldskirt quit (Ping timeout: 240 seconds) 2014-12-03T04:05:25Z systemovich quit (Ping timeout: 244 seconds) 2014-12-03T04:07:30Z kongtomorrow quit 2014-12-03T04:11:12Z davexunit quit (Quit: Later) 2014-12-03T04:13:23Z jeapostrophe quit (Ping timeout: 264 seconds) 2014-12-03T04:17:18Z jusss quit (Ping timeout: 244 seconds) 2014-12-03T04:21:18Z githogori joined #scheme 2014-12-03T04:24:23Z vinleod joined #scheme 2014-12-03T04:28:54Z mdibound joined #scheme 2014-12-03T04:32:37Z pjdelport quit (Quit: Connection closed for inactivity) 2014-12-03T04:43:11Z frkout_ quit (Read error: Connection reset by peer) 2014-12-03T04:43:16Z frkout joined #scheme 2014-12-03T04:44:10Z acarrico quit (Ping timeout: 244 seconds) 2014-12-03T04:45:11Z MichaelRaskin quit (Quit: MichaelRaskin) 2014-12-03T04:48:34Z frkout quit (Ping timeout: 255 seconds) 2014-12-03T04:48:34Z mdibound quit (Quit: Be back later ...) 2014-12-03T04:49:10Z mdibound joined #scheme 2014-12-03T04:50:25Z frkout joined #scheme 2014-12-03T04:53:54Z kongtomorrow joined #scheme 2014-12-03T04:58:53Z oldskirt joined #scheme 2014-12-03T05:00:49Z keyguard__ joined #scheme 2014-12-03T05:02:11Z keyguard_ quit (Read error: Connection reset by peer) 2014-12-03T05:03:47Z oldskirt quit (Ping timeout: 264 seconds) 2014-12-03T05:09:44Z psy_ joined #scheme 2014-12-03T05:17:05Z jusss` joined #scheme 2014-12-03T05:21:05Z jusss` quit (Client Quit) 2014-12-03T05:21:09Z MichaelRaskin joined #scheme 2014-12-03T05:40:19Z c74d quit (Remote host closed the connection) 2014-12-03T05:44:55Z alezost joined #scheme 2014-12-03T05:47:23Z c74d joined #scheme 2014-12-03T05:48:12Z c74d quit (Remote host closed the connection) 2014-12-03T05:50:43Z Rodya_ quit (Ping timeout: 258 seconds) 2014-12-03T05:51:46Z c74d joined #scheme 2014-12-03T05:59:38Z oldskirt joined #scheme 2014-12-03T06:02:47Z alezost quit (Read error: Connection reset by peer) 2014-12-03T06:03:03Z alezost joined #scheme 2014-12-03T06:04:23Z oldskirt quit (Ping timeout: 264 seconds) 2014-12-03T06:09:16Z c74d quit (Remote host closed the connection) 2014-12-03T06:11:46Z c74d joined #scheme 2014-12-03T06:30:23Z mdibound quit (Quit: Be back later ...) 2014-12-03T06:30:56Z mdibound joined #scheme 2014-12-03T06:35:35Z mdibound quit (Ping timeout: 272 seconds) 2014-12-03T06:38:14Z rtra quit (Ping timeout: 258 seconds) 2014-12-03T06:38:35Z Flaoer quit (Ping timeout: 264 seconds) 2014-12-03T06:41:52Z alezost quit (Ping timeout: 258 seconds) 2014-12-03T06:45:17Z karswell` joined #scheme 2014-12-03T06:46:57Z oleo quit (Ping timeout: 240 seconds) 2014-12-03T06:47:30Z karswell quit (Read error: Connection reset by peer) 2014-12-03T06:47:31Z oleo__ joined #scheme 2014-12-03T06:47:47Z rtra joined #scheme 2014-12-03T06:51:25Z c74d quit (Remote host closed the connection) 2014-12-03T06:51:28Z oleo__ quit (Quit: Verlassend) 2014-12-03T06:51:36Z alezost joined #scheme 2014-12-03T06:52:31Z drdanmaku quit (Quit: ,) 2014-12-03T06:54:03Z c74d joined #scheme 2014-12-03T06:59:40Z Pixel_Outlaw quit (Quit: Leaving) 2014-12-03T07:00:23Z oldskirt joined #scheme 2014-12-03T07:01:12Z mdibound joined #scheme 2014-12-03T07:02:48Z hiroakip joined #scheme 2014-12-03T07:04:56Z oldskirt quit (Ping timeout: 250 seconds) 2014-12-03T07:06:16Z jewel quit (Ping timeout: 255 seconds) 2014-12-03T07:07:14Z MichaelRaskin quit (Ping timeout: 256 seconds) 2014-12-03T07:08:04Z theseb quit (Ping timeout: 255 seconds) 2014-12-03T07:17:06Z hiroakip quit (Ping timeout: 244 seconds) 2014-12-03T07:17:13Z c74d quit (Remote host closed the connection) 2014-12-03T07:19:52Z c74d joined #scheme 2014-12-03T07:37:55Z mdibound quit (Quit: Be back later ...) 2014-12-03T07:38:29Z mdibound joined #scheme 2014-12-03T07:39:44Z theseb joined #scheme 2014-12-03T07:43:10Z mdibound quit (Ping timeout: 255 seconds) 2014-12-03T07:45:52Z theseb quit (Ping timeout: 255 seconds) 2014-12-03T07:55:52Z psy_ quit (Remote host closed the connection) 2014-12-03T07:56:34Z psy_ joined #scheme 2014-12-03T07:59:04Z fgudin joined #scheme 2014-12-03T08:01:07Z oldskirt joined #scheme 2014-12-03T08:02:31Z frkout quit (Ping timeout: 252 seconds) 2014-12-03T08:05:42Z oldskirt quit (Ping timeout: 245 seconds) 2014-12-03T08:10:42Z c74d quit (Remote host closed the connection) 2014-12-03T08:13:13Z c74d joined #scheme 2014-12-03T08:13:39Z oldskirt joined #scheme 2014-12-03T08:13:56Z przl joined #scheme 2014-12-03T08:14:07Z pjdelport joined #scheme 2014-12-03T08:18:12Z oldskirt quit (Ping timeout: 245 seconds) 2014-12-03T08:27:16Z psy_ quit (Ping timeout: 255 seconds) 2014-12-03T08:28:05Z przl quit (Ping timeout: 264 seconds) 2014-12-03T08:32:50Z frkout joined #scheme 2014-12-03T08:33:25Z c74d quit (Remote host closed the connection) 2014-12-03T08:36:03Z c74d joined #scheme 2014-12-03T08:36:18Z Gyps quit (Quit: Gyps) 2014-12-03T08:37:48Z emlow joined #scheme 2014-12-03T08:38:19Z ASau` joined #scheme 2014-12-03T08:39:32Z fridim_ joined #scheme 2014-12-03T08:41:52Z ASau quit (Ping timeout: 256 seconds) 2014-12-03T08:45:03Z bjz joined #scheme 2014-12-03T08:51:43Z fantazo joined #scheme 2014-12-03T08:53:48Z c74d quit (Remote host closed the connection) 2014-12-03T08:54:12Z bjz_ joined #scheme 2014-12-03T08:54:46Z bjz quit (Read error: Connection reset by peer) 2014-12-03T08:54:57Z bjz_ quit (Read error: Connection reset by peer) 2014-12-03T08:55:49Z bjz joined #scheme 2014-12-03T08:57:39Z c74d joined #scheme 2014-12-03T09:02:43Z guampa quit (Ping timeout: 250 seconds) 2014-12-03T09:02:45Z jewel joined #scheme 2014-12-03T09:04:10Z guampa joined #scheme 2014-12-03T09:04:32Z bjz quit (Ping timeout: 256 seconds) 2014-12-03T09:04:37Z bjz_ joined #scheme 2014-12-03T09:04:57Z Vutral quit (Ping timeout: 240 seconds) 2014-12-03T09:05:04Z robot-beethoven quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-12-03T09:06:37Z redeemed joined #scheme 2014-12-03T09:07:20Z wingo joined #scheme 2014-12-03T09:15:28Z c74d quit (Remote host closed the connection) 2014-12-03T09:16:54Z Vutral joined #scheme 2014-12-03T09:18:00Z c74d joined #scheme 2014-12-03T09:30:57Z c74d quit (Remote host closed the connection) 2014-12-03T09:32:48Z hypermagic joined #scheme 2014-12-03T09:38:02Z c74d joined #scheme 2014-12-03T09:41:20Z mrowe is now known as mrowe_away 2014-12-03T09:45:52Z c74d quit (Remote host closed the connection) 2014-12-03T09:52:38Z c74d joined #scheme 2014-12-03T09:54:03Z bjz_ quit (Quit: Textual IRC Client: www.textualapp.com) 2014-12-03T09:54:27Z bjz joined #scheme 2014-12-03T09:56:39Z psy_ joined #scheme 2014-12-03T10:01:25Z pjb quit (Ping timeout: 272 seconds) 2014-12-03T10:02:38Z Gyps joined #scheme 2014-12-03T10:08:20Z c74d quit (Remote host closed the connection) 2014-12-03T10:09:39Z Gyps quit (Quit: Gyps) 2014-12-03T10:11:49Z c74d joined #scheme 2014-12-03T10:14:59Z oldskirt joined #scheme 2014-12-03T10:19:30Z oldskirt quit (Ping timeout: 250 seconds) 2014-12-03T10:31:02Z ASau` is now known as ASau 2014-12-03T10:32:47Z stepnem joined #scheme 2014-12-03T10:39:52Z mdibound joined #scheme 2014-12-03T10:42:40Z bokr joined #scheme 2014-12-03T10:44:02Z mdibound quit (Ping timeout: 245 seconds) 2014-12-03T10:46:13Z bjz quit (Read error: Connection reset by peer) 2014-12-03T10:46:33Z bjz joined #scheme 2014-12-03T10:52:23Z dpk joined #scheme 2014-12-03T11:15:19Z guampa quit (Ping timeout: 250 seconds) 2014-12-03T11:15:43Z oldskirt joined #scheme 2014-12-03T11:20:35Z oldskirt quit (Ping timeout: 272 seconds) 2014-12-03T11:46:22Z vinleod quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2014-12-03T11:48:34Z acarrico joined #scheme 2014-12-03T11:51:24Z tianji joined #scheme 2014-12-03T11:51:42Z tianji left #scheme 2014-12-03T11:52:40Z jeapostrophe joined #scheme 2014-12-03T11:52:40Z jeapostrophe quit (Changing host) 2014-12-03T11:52:40Z jeapostrophe joined #scheme 2014-12-03T12:03:30Z bokr quit (Ping timeout: 250 seconds) 2014-12-03T12:10:53Z kongtomorrow quit 2014-12-03T12:16:43Z oldskirt joined #scheme 2014-12-03T12:18:54Z bokr joined #scheme 2014-12-03T12:21:16Z oldskirt quit (Ping timeout: 250 seconds) 2014-12-03T12:23:29Z bokr quit (Ping timeout: 244 seconds) 2014-12-03T12:28:50Z mdibound joined #scheme 2014-12-03T12:33:13Z mdibound quit (Ping timeout: 258 seconds) 2014-12-03T12:35:22Z jeapostrophe quit (Ping timeout: 244 seconds) 2014-12-03T12:38:10Z bokr joined #scheme 2014-12-03T12:39:23Z jeapostrophe joined #scheme 2014-12-03T12:39:23Z jeapostrophe quit (Changing host) 2014-12-03T12:39:23Z jeapostrophe joined #scheme 2014-12-03T12:42:22Z pnkfelix joined #scheme 2014-12-03T12:43:40Z nowhereman_ joined #scheme 2014-12-03T12:44:17Z nowhere_man_ quit (Ping timeout: 264 seconds) 2014-12-03T12:47:16Z yukko joined #scheme 2014-12-03T12:48:32Z yukko: hello, is there a way to have mutually recursive terms in scheme? ie, (define a `(,b)) (define b `(,a)) 2014-12-03T12:49:15Z yukko: I am trying to define a graph structure 2014-12-03T12:54:50Z hypermagic: ye 2014-12-03T12:55:58Z hypermagic: took 1 seconds of googling 2014-12-03T12:55:59Z hypermagic: http://community.schemewiki.org/?recursive-functions 2014-12-03T12:57:00Z vraid: hypermagic: that's not what he asked for 2014-12-03T12:57:05Z yukko: there is nothing there about mutually recursive terms (or even functions for that matter) 2014-12-03T12:57:11Z hypermagic: http://c2.com/cgi/wiki?TailRecursion 2014-12-03T12:57:23Z vraid: yukko: mutually recursive functions are easy with letrec 2014-12-03T12:57:32Z vraid: or with define 2014-12-03T12:57:32Z hypermagic: ok then i mutually don't understand what you are mutuating about 2014-12-03T12:57:43Z vraid: mutually referential non-functions are harder 2014-12-03T12:57:45Z usrj joined #scheme 2014-12-03T12:57:48Z hypermagic: maybe i should mutuate more? 2014-12-03T12:58:05Z yukko: vraid how do I do it with define? 2014-12-03T12:58:14Z yukko: also, can I do letrec on the top level? 2014-12-03T12:58:20Z yukko: I am using chicken scheme if it matters 2014-12-03T12:58:36Z hypermagic: that compilées in C right? 2014-12-03T12:58:42Z yukko: yes 2014-12-03T12:58:46Z vraid: yukko: (define (a) (b)), (define (b) (a)) 2014-12-03T12:58:55Z vraid: for instance 2014-12-03T12:59:03Z hypermagic: that is a paradox 2014-12-03T12:59:14Z vraid: (define (a) '(b)), (define (b) '(a)) 2014-12-03T12:59:35Z hypermagic: how do you suggest calculating the initial matrices? 2014-12-03T13:01:06Z hypermagic: you must have a value in a variable to calculate the other 2014-12-03T13:01:11Z yukko: vraid thank you very much 2014-12-03T13:09:44Z usrj quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )) 2014-12-03T13:11:32Z fantazo quit (Ping timeout: 250 seconds) 2014-12-03T13:12:54Z taylanub: vraid: I don't think that's what yukko wanted... 2014-12-03T13:13:53Z taylanub: yukko: if your implementation supports it, you can e.g. (define a #1=(foo bar . #1#)) (define b (cdr a)) 2014-12-03T13:14:11Z taylanub: but .. not sure if that's what you want either 2014-12-03T13:17:17Z jeapostrophe quit (Ping timeout: 264 seconds) 2014-12-03T13:24:29Z fantazo joined #scheme 2014-12-03T13:26:29Z bokr quit (Quit: Leaving.) 2014-12-03T13:29:34Z mdibound joined #scheme 2014-12-03T13:31:50Z vraid: taylanub: i'm not sure anyone is exactly sure 2014-12-03T13:33:45Z mdibound quit (Ping timeout: 244 seconds) 2014-12-03T13:40:29Z jeapostrophe joined #scheme 2014-12-03T13:40:29Z jeapostrophe quit (Changing host) 2014-12-03T13:40:29Z jeapostrophe joined #scheme 2014-12-03T13:41:07Z taylanub: yukko: of course you can always create any structure via mutation... 2014-12-03T13:46:03Z pnkfelix quit (Ping timeout: 258 seconds) 2014-12-03T13:46:06Z taylanub quit (Disconnected by services) 2014-12-03T13:46:57Z taylanub joined #scheme 2014-12-03T13:47:18Z taylanub: yukko: you can also create any structure via mutation... 2014-12-03T13:47:19Z taylanub: rudybot: (let () (define a (list 'x 'y 'z)) (define b (list 'a 'b)) (list-set! a 2 b) a) 2014-12-03T13:47:21Z rudybot: taylanub: your sandbox is ready 2014-12-03T13:47:21Z rudybot: taylanub: error: list-set!: undefined; cannot reference an identifier before its definition in module: 'program 2014-12-03T13:47:33Z taylanub: rudybot: (import (srfi :1)) 2014-12-03T13:47:33Z rudybot: taylanub: error: eval:1:0: import: misuse of unit keyword in: (import (srfi :1)) 2014-12-03T13:48:31Z taylanub: how do I import stuff in rudybot... 2014-12-03T13:50:30Z vraid: mutation is probably most straightforward 2014-12-03T13:50:52Z vraid: racket uses placeholder values to create cyclic data structures 2014-12-03T13:50:59Z joneshf-laptop joined #scheme 2014-12-03T13:51:44Z taylanub: rudybot: (require srfi/1) 2014-12-03T13:51:45Z rudybot: taylanub: Done. 2014-12-03T13:51:58Z taylanub: rudybot: (let () (define a (list 'x 'y 'z)) (define b (list 'a 'b)) (list-set! a 2 b) (list-set! b 1 a) a) 2014-12-03T13:51:59Z rudybot: taylanub: error: list-set!: undefined; cannot reference an identifier before its definition in module: 'program 2014-12-03T13:52:25Z taylanub: there's no list-set! in SRFI-1 ... my life has been a lie 2014-12-03T13:53:30Z taylanub: Mohammed Christ .. *even* R7RS-small has it! 2014-12-03T13:53:38Z vraid: are there set-car! and set-cdr! ? 2014-12-03T13:54:39Z taylanub: those have probably been there since R2RS or something 2014-12-03T13:54:41Z vraid: rudybot: #lang r5rs 2014-12-03T13:54:42Z rudybot: vraid: If you're talking about PLT, then they are part of the default language which you get if you have `#lang scheme' at the top. 2014-12-03T13:54:52Z vraid: rudybot: #lang scheme 2014-12-03T13:54:53Z rudybot: vraid: If you have nothing better todo, getting CEDET setup with $LANG and accompaning blog post would be nice :) 2014-12-03T13:55:02Z vraid: what :| 2014-12-03T13:55:16Z vraid: rudybot: lang scheme 2014-12-03T13:55:16Z rudybot: vraid: It is `scheme-send-region` but then mzscheme hangs. I think probably because the interpeter doesn't like #lang declarations. 2014-12-03T13:55:21Z taylanub: rudybot: (let () (define a (list 'x 'y 'z)) (define b (list 'a 'b)) (set-car! (cddr a) 2 b) (set-car! (cdr b) 1 a) a) 2014-12-03T13:55:21Z rudybot: taylanub: error: set-car!: undefined; cannot reference an identifier before its definition in module: 'program 2014-12-03T13:55:29Z taylanub: holy hell 2014-12-03T13:56:31Z vraid: rudybot: car-set! 2014-12-03T13:56:31Z rudybot: vraid: Matchbox has the carset. 2014-12-03T13:56:47Z vraid: rudybot: (let ((a car-set!)) a) 2014-12-03T13:56:48Z rudybot: vraid: your sandbox is ready 2014-12-03T13:56:48Z rudybot: vraid: error: car-set!: undefined; cannot reference an identifier before its definition in module: 'program 2014-12-03T13:57:02Z vraid: rudybot: init scheme 2014-12-03T13:57:03Z rudybot: vraid: your scheme sandbox is ready 2014-12-03T13:57:03Z taylanub: vraid: Racket puts mutable pairs into a separate library, like R6RS 2014-12-03T13:57:32Z vraid: rudybot: (let ((a '(1 2 3))) (list-set! a 2 #t) a) 2014-12-03T13:57:33Z rudybot: vraid: error: list-set!: undefined; cannot reference an identifier before its definition in module: 'program 2014-12-03T13:57:48Z vraid: rudybot: (let ((a '(1 2 3))) (cdr-set! a '(5 6)) a) 2014-12-03T13:57:49Z rudybot: vraid: error: cdr-set!: undefined; cannot reference an identifier before its definition in module: 'program 2014-12-03T13:57:56Z taylanub: vraid: it's set-cdr! 2014-12-03T13:57:57Z vraid: rudybot: (let ((a '(1 2 3))) (set-cdr! a '(5 6)) a) 2014-12-03T13:57:57Z rudybot: vraid: error: set-cdr!: undefined; cannot reference an identifier before its definition in module: 'program 2014-12-03T13:58:02Z taylanub: but in a different library 2014-12-03T13:58:09Z vraid: rudybot: init r5rs 2014-12-03T13:58:09Z taylanub: rudybot: (require mcons) 2014-12-03T13:58:10Z rudybot: vraid: your r5rs sandbox is ready 2014-12-03T13:58:10Z rudybot: taylanub: error: eval:1:9: collection not found for module path: mcons collection: "mcons" in collection directories: /mnt/racket-6.1.1/collects ... [152 additional linked and package directories] 2014-12-03T13:58:14Z vraid: rudybot: (let ((a '(1 2 3))) (set-cdr! a '(5 6)) a) 2014-12-03T13:58:14Z rudybot: vraid: ; Value: (mcons 1 (mcons 5 (mcons 6))) 2014-12-03T13:58:17Z vraid: there! 2014-12-03T13:58:19Z taylanub: ah, finally 2014-12-03T13:58:24Z taylanub: rudybot: init r5rs 2014-12-03T13:58:26Z rudybot: taylanub: your r5rs sandbox is ready 2014-12-03T13:58:27Z vraid: rudybot: (let ((a '(1 2 3))) (list-set! a 2 '(5 6)) a) 2014-12-03T13:58:27Z rudybot: vraid: error: list-set!: undefined; cannot reference an identifier before its definition in module: 'program 2014-12-03T13:58:31Z taylanub: rudybot: (let () (define a (list 'x 'y 'z)) (define b (list 'a 'b)) (set-car! (cddr a) 2 b) (set-car! (cdr b) 1 a) a) 2014-12-03T13:58:32Z rudybot: taylanub: error: set-mcar!: arity mismatch; the expected number of arguments does not match the given number expected: 2 given: 3 arguments...: (mcons 'z) 2 (mcons 'a (mcons 'b)) 2014-12-03T13:58:47Z taylanub: rudybot: (let () (define a (list 'x 'y 'z)) (define b (list 'a 'b)) (set-car! (cddr a) b) (set-car! (cdr b) a) a) 2014-12-03T13:58:48Z rudybot: taylanub: ; Value: #0=(mcons 'x (mcons 'y (mcons (mcons 'a (mcons #0#))))) 2014-12-03T13:59:00Z taylanub: so much effort, and then the output is horrid 2014-12-03T14:01:04Z davexunit joined #scheme 2014-12-03T14:02:09Z chameco quit (Ping timeout: 258 seconds) 2014-12-03T14:02:24Z chameco joined #scheme 2014-12-03T14:03:19Z cibs quit (Remote host closed the connection) 2014-12-03T14:03:35Z cibs joined #scheme 2014-12-03T14:04:33Z vraid: taylanub: rudybot is racket-based as far as i know, where normal cons cells are immutable, so for scheme compatibility they use mcons as mutable cons cells 2014-12-03T14:06:22Z taylanub: yes 2014-12-03T14:06:45Z chameco quit (Ping timeout: 258 seconds) 2014-12-03T14:09:24Z chameco joined #scheme 2014-12-03T14:17:54Z cky: I'd be happy to write a Guile evaluation bot as soon as I figure out how to make a decent sandbox in Guile. :-P 2014-12-03T14:18:01Z oldskirt joined #scheme 2014-12-03T14:18:10Z cky: That's at least one area that Racket does a stellar job at. 2014-12-03T14:18:18Z cky: taylanub: ^ 2014-12-03T14:19:45Z cky: Writing a secure sandbox is very tricky. There's been a number of sandbox escape attacks in Java lately. 2014-12-03T14:22:46Z oldskirt quit (Ping timeout: 255 seconds) 2014-12-03T14:23:14Z chameco quit (Ping timeout: 258 seconds) 2014-12-03T14:23:26Z chameco joined #scheme 2014-12-03T14:31:09Z pnkfelix joined #scheme 2014-12-03T14:46:08Z taylanub: probably an RnRS bot would be most fitting for this channel. I might write a simple R7RS one in actual R7RS plus SRFI-106 once Guile's R7RS support is complete... 2014-12-03T14:46:30Z taylanub: or I could see if I can implement SRFI-106 on Chibi. it ought to have some socket API on which one should be able to implement SRFI-106... 2014-12-03T14:49:36Z oleo joined #scheme 2014-12-03T14:53:57Z ecraven: https://github.com/norton/chibi-scheme/blob/master/lib/chibi/net.sld 2014-12-03T15:07:35Z psy_ quit (Read error: Connection reset by peer) 2014-12-03T15:08:51Z fantazo quit (Quit: Verlassend) 2014-12-03T15:10:23Z pjb joined #scheme 2014-12-03T15:14:17Z alezost quit (Ping timeout: 240 seconds) 2014-12-03T15:18:20Z mdibound joined #scheme 2014-12-03T15:18:45Z oldskirt joined #scheme 2014-12-03T15:22:47Z mdibound quit (Ping timeout: 245 seconds) 2014-12-03T15:22:57Z oldskirt quit (Ping timeout: 240 seconds) 2014-12-03T15:24:00Z b4283 joined #scheme 2014-12-03T15:30:40Z joast quit (Quit: Leaving.) 2014-12-03T15:32:06Z Rodya_ joined #scheme 2014-12-03T15:34:08Z pnkfelix quit (Ping timeout: 244 seconds) 2014-12-03T15:40:57Z drdanmaku joined #scheme 2014-12-03T15:48:09Z hiyosi joined #scheme 2014-12-03T15:55:18Z alezost joined #scheme 2014-12-03T16:02:41Z araujo quit (Read error: Connection reset by peer) 2014-12-03T16:03:11Z araujo joined #scheme 2014-12-03T16:08:23Z joast joined #scheme 2014-12-03T16:08:46Z agumonkey_ quit (Ping timeout: 250 seconds) 2014-12-03T16:12:12Z redeemed quit (Ping timeout: 264 seconds) 2014-12-03T16:12:42Z agumonkey joined #scheme 2014-12-03T16:19:29Z oldskirt joined #scheme 2014-12-03T16:23:56Z oldskirt quit (Ping timeout: 250 seconds) 2014-12-03T16:46:12Z Pixel_Outlaw joined #scheme 2014-12-03T16:46:45Z githogori quit (Ping timeout: 272 seconds) 2014-12-03T16:51:43Z githogori joined #scheme 2014-12-03T17:05:46Z nitrix joined #scheme 2014-12-03T17:07:04Z mdibound joined #scheme 2014-12-03T17:12:05Z mdibound quit (Ping timeout: 272 seconds) 2014-12-03T17:13:33Z fgudin quit (Quit: leaving) 2014-12-03T17:13:51Z pllx_ joined #scheme 2014-12-03T17:17:29Z pllx_ quit (Client Quit) 2014-12-03T17:20:16Z oldskirt joined #scheme 2014-12-03T17:20:57Z pnkfelix joined #scheme 2014-12-03T17:25:01Z oldskirt quit (Ping timeout: 255 seconds) 2014-12-03T17:31:08Z kongtomorrow joined #scheme 2014-12-03T17:35:03Z visualshock joined #scheme 2014-12-03T17:37:30Z guampa_ joined #scheme 2014-12-03T17:38:01Z guampa_ is now known as guampa 2014-12-03T17:40:39Z Riastradh joined #scheme 2014-12-03T17:45:49Z lucasaiu joined #scheme 2014-12-03T17:55:50Z senoj joined #scheme 2014-12-03T17:57:44Z theseb joined #scheme 2014-12-03T18:02:53Z zv quit (Ping timeout: 240 seconds) 2014-12-03T18:03:39Z chameco quit (Ping timeout: 258 seconds) 2014-12-03T18:05:49Z chameco joined #scheme 2014-12-03T18:14:52Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-12-03T18:21:04Z oldskirt joined #scheme 2014-12-03T18:23:23Z jeapostr1phe joined #scheme 2014-12-03T18:24:12Z oldskirt_ joined #scheme 2014-12-03T18:24:12Z oldskirt_ quit (Changing host) 2014-12-03T18:24:12Z oldskirt_ joined #scheme 2014-12-03T18:25:35Z vraid quit (Read error: Connection reset by peer) 2014-12-03T18:25:46Z oldskirt quit (Ping timeout: 255 seconds) 2014-12-03T18:25:50Z vraid joined #scheme 2014-12-03T18:26:11Z jeapostrophe quit (Ping timeout: 244 seconds) 2014-12-03T18:27:45Z hiroakip joined #scheme 2014-12-03T18:27:47Z psy_ joined #scheme 2014-12-03T18:40:09Z alexei joined #scheme 2014-12-03T18:40:24Z mdibound joined #scheme 2014-12-03T18:42:56Z fantazo joined #scheme 2014-12-03T18:51:09Z wingo quit (Ping timeout: 245 seconds) 2014-12-03T18:52:45Z daviid joined #scheme 2014-12-03T18:57:11Z hypermagic quit (Ping timeout: 244 seconds) 2014-12-03T18:59:15Z daviid quit (Remote host closed the connection) 2014-12-03T18:59:28Z daviid joined #scheme 2014-12-03T19:02:18Z pnkfelix quit (Ping timeout: 258 seconds) 2014-12-03T19:05:41Z wingo joined #scheme 2014-12-03T19:06:55Z oleo quit (Ping timeout: 252 seconds) 2014-12-03T19:07:40Z oleo joined #scheme 2014-12-03T19:10:55Z hypermagic joined #scheme 2014-12-03T19:11:31Z theseb left #scheme 2014-12-03T19:15:15Z araujo quit (Read error: Connection reset by peer) 2014-12-03T19:15:41Z araujo joined #scheme 2014-12-03T19:17:41Z githogori quit (Read error: Connection reset by peer) 2014-12-03T19:22:56Z Khisanth quit (Quit: Leaving) 2014-12-03T19:23:13Z Khisanth joined #scheme 2014-12-03T19:25:42Z githogori joined #scheme 2014-12-03T19:29:27Z mrowe_away is now known as mrowe 2014-12-03T19:32:36Z hypermagic quit (Ping timeout: 264 seconds) 2014-12-03T19:33:04Z civodul joined #scheme 2014-12-03T19:37:41Z alexei quit (Ping timeout: 264 seconds) 2014-12-03T19:39:11Z senoj quit (Ping timeout: 252 seconds) 2014-12-03T19:40:39Z b4283 quit (Quit: Konversation terminated!) 2014-12-03T19:52:46Z jumblerg joined #scheme 2014-12-03T19:53:30Z civodul quit (Remote host closed the connection) 2014-12-03T20:00:25Z keyguard joined #scheme 2014-12-03T20:03:05Z keyguard__ quit (Ping timeout: 272 seconds) 2014-12-03T20:17:03Z chameco quit (Ping timeout: 258 seconds) 2014-12-03T20:19:35Z chameco joined #scheme 2014-12-03T20:29:03Z Vutral quit (Ping timeout: 272 seconds) 2014-12-03T20:29:58Z fridim_ quit (Ping timeout: 255 seconds) 2014-12-03T20:34:28Z mdibound quit (Quit: Be back later ...) 2014-12-03T20:38:13Z Vutral joined #scheme 2014-12-03T20:40:03Z chameco quit (Ping timeout: 258 seconds) 2014-12-03T20:40:10Z chameco joined #scheme 2014-12-03T20:43:22Z visualshockg joined #scheme 2014-12-03T20:46:32Z hiroakip quit (Ping timeout: 250 seconds) 2014-12-03T20:48:17Z vinleod joined #scheme 2014-12-03T20:57:42Z MichaelRaskin joined #scheme 2014-12-03T20:58:41Z davexunit quit (Quit: Later) 2014-12-03T21:03:48Z wingo quit (Ping timeout: 264 seconds) 2014-12-03T21:07:10Z hiyosi joined #scheme 2014-12-03T21:07:26Z fantazo quit (Quit: Verlassend) 2014-12-03T21:21:15Z civodul joined #scheme 2014-12-03T21:21:19Z alexei joined #scheme 2014-12-03T21:30:46Z mark_weaver quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-12-03T21:31:12Z stephenmac7 joined #scheme 2014-12-03T21:35:16Z mdibound joined #scheme 2014-12-03T21:36:51Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-12-03T21:39:38Z jumblerg joined #scheme 2014-12-03T21:39:50Z mdibound quit (Ping timeout: 250 seconds) 2014-12-03T21:40:06Z hiroakip joined #scheme 2014-12-03T21:41:03Z jumblerg quit (Client Quit) 2014-12-03T21:42:10Z jeapostr1phe quit (Ping timeout: 256 seconds) 2014-12-03T21:52:42Z jumblerg joined #scheme 2014-12-03T21:56:39Z Riastradh quit (Ping timeout: 250 seconds) 2014-12-03T21:56:48Z jumblerg quit (Client Quit) 2014-12-03T21:58:10Z visualshockg quit (Quit: Leaving) 2014-12-03T21:58:33Z Riastradh joined #scheme 2014-12-03T21:58:53Z karswell` is now known as karswell 2014-12-03T22:02:04Z civodul quit (Remote host closed the connection) 2014-12-03T22:02:53Z jumblerg joined #scheme 2014-12-03T22:06:29Z githogori quit (Ping timeout: 264 seconds) 2014-12-03T22:10:55Z githogori joined #scheme 2014-12-03T22:11:40Z antinomy quit (Ping timeout: 258 seconds) 2014-12-03T22:23:18Z Shadox joined #scheme 2014-12-03T22:26:05Z SpiritShard joined #scheme 2014-12-03T22:27:59Z Shadox quit (Ping timeout: 244 seconds) 2014-12-03T22:30:46Z ijp joined #scheme 2014-12-03T22:33:31Z alezost quit (Quit: I use GNU Guix ) 2014-12-03T22:36:01Z mdibound joined #scheme 2014-12-03T22:36:47Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-12-03T22:38:07Z jumblerg joined #scheme 2014-12-03T22:40:17Z mdibound quit (Ping timeout: 245 seconds) 2014-12-03T22:45:41Z davexunit joined #scheme 2014-12-03T22:45:47Z pkkm joined #scheme 2014-12-03T22:46:01Z pkkm left #scheme 2014-12-03T22:46:26Z jeapostrophe joined #scheme 2014-12-03T22:46:43Z jeapostrophe quit (Changing host) 2014-12-03T22:46:43Z jeapostrophe joined #scheme 2014-12-03T22:46:58Z pkkm joined #scheme 2014-12-03T22:49:21Z pkkm: sorry if it's been asked to death already, but could you give a ballpark estimate on how long it's going to take until R7RS-large is completed: months, years, possibly never? 2014-12-03T22:59:21Z taylanub: pkkm: I think the plan is to just write more and more SRFIs. well, there was some talk about mandating these and those features which are optional in R7RS-small (like *full* Unicode support), and making some SRFIs obligatory, but no idea about that to be honest 2014-12-03T23:00:25Z hiroakip quit (Ping timeout: 272 seconds) 2014-12-03T23:01:34Z taylanub: pkkm: on the meanwhile, you can do some stuff with a decent R7RS-small implementation + SRFIs already https://gitorious.org/taylan-scheme/srfi/ I'd say, if a platform implements SRFI-106, then you can already write "real" stuff in R7RS. for example see https://github.com/ktakashi/r7rs-postgresql 2014-12-03T23:02:31Z robot-beethoven joined #scheme 2014-12-03T23:03:35Z pkkm: that looks very useful, thanks taylanub 2014-12-03T23:09:06Z vinleod quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2014-12-03T23:13:02Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-12-03T23:13:11Z ijp: pkkm: basically never 2014-12-03T23:16:58Z taylanub: rudybot: what do you think about these ruthless pessimists? 2014-12-03T23:16:59Z rudybot: taylanub: Negation is for pessimists and spoilsports. 2014-12-03T23:16:59Z zv joined #scheme 2014-12-03T23:17:11Z taylanub: rudybot: oyasumi~ 2014-12-03T23:17:11Z rudybot: taylanub: error: oyasumi~: undefined; cannot reference an identifier before its definition in module: 'program 2014-12-03T23:17:11Z byte48_ is now known as byte48 2014-12-03T23:17:35Z pygospa quit (Ping timeout: 244 seconds) 2014-12-03T23:17:38Z taylanub: rudybot: that means good night in Japanese, you baka. 2014-12-03T23:17:38Z rudybot: taylanub: string-append , ijp is a baka. baaaaaaaka baka! 2014-12-03T23:17:43Z oldskirt joined #scheme 2014-12-03T23:18:02Z taylanub smirks, then runs off 2014-12-03T23:18:20Z jumblerg joined #scheme 2014-12-03T23:18:49Z ijp smacks taylanub 2014-12-03T23:19:48Z pygospa joined #scheme 2014-12-03T23:20:15Z rudybot: vraid: I confirm being racket-based. 2014-12-03T23:20:31Z oldskirt_ quit (Ping timeout: 255 seconds) 2014-12-03T23:22:05Z Pixel_Outlaw: When implementing Lisp, how are symbols usually stored? I'm debating just wrapping a string in a class and adding a unique ID field. 2014-12-03T23:22:27Z Riastradh: Usually as a wrapper around a string stored in a table. 2014-12-03T23:28:55Z Pixel_Outlaw: ok thanks 2014-12-03T23:29:57Z Pixel_Outlaw: I'm trying to mimic Scheme a bit in C++. Trying to get a bit of flexibility in my collections. 2014-12-03T23:30:49Z Pixel_Outlaw: The insistence on collections of a single type is highly annoying sometimes. Rolling my own containers made of something like a CONS cell. 2014-12-03T23:33:25Z CaptainRant joined #scheme 2014-12-03T23:43:22Z BitPuffin joined #scheme 2014-12-03T23:44:53Z jeapostrophe quit (Ping timeout: 264 seconds) 2014-12-03T23:47:32Z visualshock quit (Quit: Leaving) 2014-12-03T23:48:31Z vinleod joined #scheme 2014-12-03T23:58:41Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…)