2014-11-14T00:21:08Z zacts quit (Read error: Connection reset by peer) 2014-11-14T00:21:28Z zacts joined #scheme 2014-11-14T00:24:37Z amgarchIn9 quit (Ping timeout: 240 seconds) 2014-11-14T00:29:16Z zacts quit (Quit: leaving) 2014-11-14T00:47:01Z oleo__ joined #scheme 2014-11-14T00:47:43Z oleo is now known as Guest22182 2014-11-14T00:48:17Z Guest22182 quit (Ping timeout: 240 seconds) 2014-11-14T00:48:36Z sheilong joined #scheme 2014-11-14T01:06:44Z jeapostrophe joined #scheme 2014-11-14T01:06:47Z zacts joined #scheme 2014-11-14T01:09:29Z stepnem quit (Ping timeout: 264 seconds) 2014-11-14T01:17:51Z ehaliewicz quit (Remote host closed the connection) 2014-11-14T01:18:35Z ehaliewicz joined #scheme 2014-11-14T01:26:05Z ehaliewicz quit (Remote host closed the connection) 2014-11-14T01:27:55Z ehaliewicz joined #scheme 2014-11-14T01:39:39Z juanfra quit (Quit: juanfra) 2014-11-14T01:43:23Z juanfra joined #scheme 2014-11-14T01:43:52Z jeapostrophe quit (Ping timeout: 256 seconds) 2014-11-14T01:48:56Z davexunit joined #scheme 2014-11-14T01:57:43Z annodomini quit (Quit: annodomini) 2014-11-14T02:02:20Z derek_c joined #scheme 2014-11-14T02:12:21Z effy_ joined #scheme 2014-11-14T02:13:20Z teiresias quit (Ping timeout: 256 seconds) 2014-11-14T02:14:22Z Tbone139: would the number 210 be considered a palindrome of 12 (012) for the purposes of a programming problem? 2014-11-14T02:14:57Z teiresias joined #scheme 2014-11-14T02:15:04Z teiresias quit (Changing host) 2014-11-14T02:15:04Z teiresias joined #scheme 2014-11-14T02:15:07Z Tbone139: er, not palindrome, but its 'reverse' 2014-11-14T02:15:23Z effy quit (Ping timeout: 240 seconds) 2014-11-14T02:16:22Z ijp: usually no 2014-11-14T02:19:49Z tobik quit (Ping timeout: 245 seconds) 2014-11-14T02:21:10Z tobik joined #scheme 2014-11-14T02:22:19Z pjb: Tbone139: being a palindrome is a property of a single number. 2014-11-14T02:23:03Z pjb: Tbone139: since reverse is usually considered a bijection, that's not possible, since the reverse of 12 would be 21, not 210. 2014-11-14T02:23:52Z pjb: (ie. we consider the subset of numbers that is stable for reverse). 2014-11-14T02:24:08Z Tbone139: I'm assuming it's allowed here, since a failed 'reverse' isn't one of the possibilities https://projecteuler.net/problem=55 2014-11-14T02:26:17Z Tbone139: Thanks though! 2014-11-14T02:28:09Z aretecode quit (Quit: Toodaloo) 2014-11-14T02:35:48Z sheilong quit (Quit: Konversation terminated!) 2014-11-14T02:43:47Z hiyosi quit (Ping timeout: 272 seconds) 2014-11-14T02:45:33Z BitPuffin quit (Ping timeout: 244 seconds) 2014-11-14T02:56:27Z ehaliewicz quit (Ping timeout: 272 seconds) 2014-11-14T02:56:58Z MichaelRaskin quit (Ping timeout: 255 seconds) 2014-11-14T02:59:13Z jcloud quit 2014-11-14T02:59:54Z jcloud joined #scheme 2014-11-14T03:02:59Z davexunit quit (Quit: Later) 2014-11-14T03:07:16Z natarajs joined #scheme 2014-11-14T03:20:43Z henrytill quit (Quit: leaving) 2014-11-14T03:25:48Z Riastradh joined #scheme 2014-11-14T03:35:56Z dmiles_afk joined #scheme 2014-11-14T03:36:49Z kongtomorrow joined #scheme 2014-11-14T03:39:39Z hiyosi joined #scheme 2014-11-14T03:42:50Z sstrickl_ joined #scheme 2014-11-14T03:42:50Z adu joined #scheme 2014-11-14T03:43:44Z sstrickl_ is now known as sstrickl 2014-11-14T03:44:57Z hiyosi quit (Ping timeout: 258 seconds) 2014-11-14T03:45:11Z antoszka quit (Ping timeout: 255 seconds) 2014-11-14T03:45:39Z certainty quit (Ping timeout: 255 seconds) 2014-11-14T03:46:47Z antoszka joined #scheme 2014-11-14T03:47:07Z haroldwu quit (Ping timeout: 265 seconds) 2014-11-14T03:47:24Z certainty joined #scheme 2014-11-14T03:47:40Z haroldwu joined #scheme 2014-11-14T03:49:44Z mornfall quit (Excess Flood) 2014-11-14T03:51:51Z annodomini joined #scheme 2014-11-14T03:52:48Z bjz_ joined #scheme 2014-11-14T04:52:08Z bjz_ quit (Ping timeout: 244 seconds) 2014-11-14T04:56:13Z hiyosi joined #scheme 2014-11-14T04:57:42Z kongtomorrow quit 2014-11-14T04:58:55Z ffs quit (Remote host closed the connection) 2014-11-14T04:59:12Z ffs joined #scheme 2014-11-14T05:01:05Z hiyosi quit (Ping timeout: 264 seconds) 2014-11-14T05:01:12Z bjz joined #scheme 2014-11-14T05:10:22Z anannie quit (Ping timeout: 240 seconds) 2014-11-14T05:14:34Z mrowe is now known as mrowe_away 2014-11-14T05:15:47Z Guest8818 joined #scheme 2014-11-14T05:15:47Z natarajs quit (Ping timeout: 272 seconds) 2014-11-14T05:19:53Z Guest8818 quit (Ping timeout: 240 seconds) 2014-11-14T05:22:31Z germ13 joined #scheme 2014-11-14T05:22:37Z MichaelRaskin joined #scheme 2014-11-14T05:30:01Z alezost joined #scheme 2014-11-14T05:35:00Z amgarchIn9 joined #scheme 2014-11-14T05:47:23Z Soft quit (Ping timeout: 240 seconds) 2014-11-14T05:48:02Z BossKonaSegwaY quit (Ping timeout: 255 seconds) 2014-11-14T05:48:40Z Soft joined #scheme 2014-11-14T05:53:47Z kongtomorrow joined #scheme 2014-11-14T06:03:37Z BossKonaSegwaY joined #scheme 2014-11-14T06:04:03Z annodomini quit (Quit: annodomini) 2014-11-14T06:14:02Z amgarchIn9 quit (Ping timeout: 245 seconds) 2014-11-14T06:19:38Z mdibound quit (Quit: Be back later ...) 2014-11-14T06:20:14Z mdibound joined #scheme 2014-11-14T06:24:37Z mdibound quit (Ping timeout: 244 seconds) 2014-11-14T06:26:33Z alexey joined #scheme 2014-11-14T06:26:49Z mdibound joined #scheme 2014-11-14T06:28:57Z tcsc quit (Quit: computer sleeping) 2014-11-14T06:33:54Z natarajs joined #scheme 2014-11-14T06:35:45Z mornfall joined #scheme 2014-11-14T06:37:42Z jumblerg joined #scheme 2014-11-14T06:44:46Z dpk quit (Ping timeout: 250 seconds) 2014-11-14T06:45:02Z hiyosi joined #scheme 2014-11-14T06:47:40Z dpk joined #scheme 2014-11-14T06:48:54Z adu quit (Quit: adu) 2014-11-14T06:50:24Z hiyosi quit (Ping timeout: 250 seconds) 2014-11-14T06:50:39Z derek_c quit (Ping timeout: 245 seconds) 2014-11-14T06:54:28Z b4283 joined #scheme 2014-11-14T06:56:06Z _5kg quit (Ping timeout: 256 seconds) 2014-11-14T07:00:18Z jusss joined #scheme 2014-11-14T07:08:22Z mdibound quit (Quit: Be back later ...) 2014-11-14T07:08:56Z mdibound joined #scheme 2014-11-14T07:09:37Z mdibound quit (Remote host closed the connection) 2014-11-14T07:10:09Z mdibound joined #scheme 2014-11-14T07:11:20Z jumblerg quit (Ping timeout: 244 seconds) 2014-11-14T07:11:36Z mdibound quit (Read error: Connection reset by peer) 2014-11-14T07:11:53Z oleo__ quit (Quit: Verlassend) 2014-11-14T07:12:27Z mdibound joined #scheme 2014-11-14T07:18:55Z jumblerg joined #scheme 2014-11-14T07:19:52Z derek_c joined #scheme 2014-11-14T07:20:49Z BossKonaSegwaY quit (Ping timeout: 265 seconds) 2014-11-14T07:41:04Z _5kg joined #scheme 2014-11-14T07:44:35Z masm joined #scheme 2014-11-14T07:44:37Z kongtomorrow quit (Ping timeout: 240 seconds) 2014-11-14T07:45:25Z BossKonaSegwaY joined #scheme 2014-11-14T07:48:32Z pnkfelix joined #scheme 2014-11-14T07:50:17Z natarajs quit (Ping timeout: 240 seconds) 2014-11-14T07:55:31Z Isp-sec joined #scheme 2014-11-14T07:58:17Z civodul joined #scheme 2014-11-14T08:01:28Z mdibound quit (Quit: Be back later ...) 2014-11-14T08:02:00Z mdibound joined #scheme 2014-11-14T08:06:29Z mdibound quit (Ping timeout: 264 seconds) 2014-11-14T08:07:05Z clog quit (Ping timeout: 255 seconds) 2014-11-14T08:07:45Z clog joined #scheme 2014-11-14T08:10:14Z ventonegro joined #scheme 2014-11-14T08:14:11Z fridim_ joined #scheme 2014-11-14T08:16:37Z stepnem joined #scheme 2014-11-14T08:22:33Z pjdelport quit (Quit: Connection closed for inactivity) 2014-11-14T08:25:18Z germ13 quit (Quit: Leaving) 2014-11-14T08:33:38Z robot-beethoven joined #scheme 2014-11-14T08:34:31Z hiyosi joined #scheme 2014-11-14T08:39:57Z hiyosi quit (Ping timeout: 250 seconds) 2014-11-14T08:54:31Z alezost quit (Ping timeout: 265 seconds) 2014-11-14T08:57:11Z alezost joined #scheme 2014-11-14T08:59:17Z derek_c quit (Ping timeout: 255 seconds) 2014-11-14T09:00:07Z germ13 joined #scheme 2014-11-14T09:01:10Z _5kg quit (Ping timeout: 244 seconds) 2014-11-14T09:01:42Z ijp quit (Quit: This ijp has ended peacefully) 2014-11-14T09:02:35Z mdibound joined #scheme 2014-11-14T09:03:22Z redeemed joined #scheme 2014-11-14T09:04:48Z justJanne joined #scheme 2014-11-14T09:06:27Z przl joined #scheme 2014-11-14T09:06:51Z mdibound quit (Ping timeout: 244 seconds) 2014-11-14T09:13:50Z natarajs joined #scheme 2014-11-14T09:17:17Z pjb quit (Ping timeout: 264 seconds) 2014-11-14T09:21:36Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-14T09:26:13Z jumblerg joined #scheme 2014-11-14T09:27:08Z pjb joined #scheme 2014-11-14T09:35:17Z jusss quit (Ping timeout: 264 seconds) 2014-11-14T09:37:17Z przl quit (Ping timeout: 240 seconds) 2014-11-14T09:44:17Z przl joined #scheme 2014-11-14T09:46:14Z _5kg joined #scheme 2014-11-14T09:48:25Z pjdelport joined #scheme 2014-11-14T09:53:16Z uselpa joined #scheme 2014-11-14T09:53:18Z uselpa quit (Client Quit) 2014-11-14T09:54:02Z pnkfelix quit (Ping timeout: 265 seconds) 2014-11-14T10:08:12Z przl quit (Ping timeout: 256 seconds) 2014-11-14T10:10:24Z alexey quit (Remote host closed the connection) 2014-11-14T10:10:42Z Vutral quit (Ping timeout: 245 seconds) 2014-11-14T10:18:58Z Vutral joined #scheme 2014-11-14T10:22:23Z robot-beethoven quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-14T10:24:01Z hiyosi joined #scheme 2014-11-14T10:26:57Z lritter_ joined #scheme 2014-11-14T10:26:59Z lritter_: help. 2014-11-14T10:27:10Z lritter_: you are our only hope, #scheme 2014-11-14T10:27:48Z lritter_: err, actually - i'm not entirely desperate, just looking for pointers 2014-11-14T10:28:29Z jaaqo joined #scheme 2014-11-14T10:28:59Z lritter_: i'm aiming to implement a minimal scheme in lua, without the parser front-end: i have a graph-based UI that works perfectly for declaring nested lists, atoms and symbols 2014-11-14T10:29:19Z hiyosi quit (Ping timeout: 265 seconds) 2014-11-14T10:29:47Z ecraven: lritter_: how are atoms different than symbols? 2014-11-14T10:29:54Z lritter_: they aren't 2014-11-14T10:30:25Z lritter_: other that a symbol is really just an ID token that has no real content, and doesn't actually even need a name 2014-11-14T10:30:53Z lritter_: at least when you're building graphs 2014-11-14T10:31:24Z lritter_: so i'm looking for an implementation guide that is based on a language more familiar to me; C, Lua, Python, etc. I like the principles of lambda calculus, and that Scheme works with just 12 intrinsic primitives 2014-11-14T10:32:17Z lritter_: but it's difficult to find something that is not so fixated on a parser and rather focuses on a minimal set of data structures and the basic VM setup 2014-11-14T10:33:06Z lritter_: the more notation independent it is, the better 2014-11-14T10:35:34Z ecraven: well, the parser is really rather simple in most Schemes 2014-11-14T10:35:53Z ecraven: and you probably need less than 12 primitives, depending on what you count as "primitive" :) 2014-11-14T10:38:33Z lritter_: ecraven, the wikipedia article says, the standard has 23 basic primitives of which 11 can be implemented using the remaining 12 2014-11-14T10:39:46Z ecraven: then it's probably correct :) have you looked at the books in the topic? most of them implement some form of interpreter or compiler 2014-11-14T10:40:07Z alexey joined #scheme 2014-11-14T10:40:57Z lritter_: ecraven, see that's why i came here, to have someone tell me exactly what i need to know ;) 2014-11-14T10:41:09Z lritter_: "have a look at this phonebook, the person you seek is in there" 2014-11-14T10:42:07Z ecraven: lritter_: personally, I'd suggest SICP, it has both an interpreter and a compiler. It's all written in Scheme, but as I said, the syntax isn't too hard to read 2014-11-14T10:42:25Z ecraven: you could also look at the source code of several simple scheme implementations 2014-11-14T10:43:01Z lritter_: alright i'll take a look, thanks 2014-11-14T10:43:29Z ecraven: just ask here if you need more information ;) 2014-11-14T10:44:18Z natarajs quit (Ping timeout: 265 seconds) 2014-11-14T10:45:57Z germ13 quit (Ping timeout: 240 seconds) 2014-11-14T10:47:48Z pjb: lritter_: if you wan to learn how to write a scheme interpreter or compiler, a good book entirely dedicated to the subject is LiSP: Lisp in Small Pieces http://pagesperso-systeme.lip6.fr/Christian.Queinnec/WWW/LiSP.html http://pagesperso-systeme.lip6.fr/Christian.Queinnec/Books/LiSP-2ndEdition-2006Dec11.tgz 2014-11-14T10:47:48Z rudybot: http://tinyurl.com/ytswyk 2014-11-14T10:48:26Z pjb: It presents up to 9 different scheme compilers of increasing sophistication. 2014-11-14T10:51:19Z mdibound joined #scheme 2014-11-14T10:55:37Z mdibound quit (Ping timeout: 240 seconds) 2014-11-14T11:02:33Z przl joined #scheme 2014-11-14T11:05:56Z gravicappa joined #scheme 2014-11-14T11:16:56Z dmiles_afk quit (Quit: Read error: 110 (Connection timed out)) 2014-11-14T11:22:58Z stepnem quit (Ping timeout: 265 seconds) 2014-11-14T11:24:39Z stepnem joined #scheme 2014-11-14T11:34:13Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-14T11:35:00Z xyh joined #scheme 2014-11-14T11:35:14Z przl quit (Ping timeout: 245 seconds) 2014-11-14T11:38:09Z jusss` joined #scheme 2014-11-14T11:39:51Z oldskirt joined #scheme 2014-11-14T11:40:41Z oldskirt_ quit (Ping timeout: 264 seconds) 2014-11-14T11:50:10Z lritter_: pjb, interesting, thanks 2014-11-14T11:50:40Z marttt joined #scheme 2014-11-14T11:50:48Z jeapostrophe joined #scheme 2014-11-14T11:52:01Z mdibound joined #scheme 2014-11-14T11:54:56Z hiyosi joined #scheme 2014-11-14T11:56:19Z mdibound quit (Ping timeout: 244 seconds) 2014-11-14T11:58:11Z joast quit (Ping timeout: 265 seconds) 2014-11-14T11:59:38Z hiyosi quit (Ping timeout: 244 seconds) 2014-11-14T12:00:09Z jaaqo quit (Ping timeout: 244 seconds) 2014-11-14T12:10:37Z dmiles_afk joined #scheme 2014-11-14T12:11:49Z Isp-sec quit (Ping timeout: 244 seconds) 2014-11-14T12:16:51Z alexey quit (Remote host closed the connection) 2014-11-14T12:19:02Z ohama quit (Ping timeout: 245 seconds) 2014-11-14T12:19:41Z _5kg quit (Ping timeout: 264 seconds) 2014-11-14T12:19:44Z sheilong joined #scheme 2014-11-14T12:21:24Z ohama joined #scheme 2014-11-14T12:22:48Z _5kg joined #scheme 2014-11-14T12:35:13Z jusss` quit (Remote host closed the connection) 2014-11-14T12:45:54Z marttt quit (Remote host closed the connection) 2014-11-14T13:00:59Z MichaelRaskin quit (Quit: MichaelRaskin) 2014-11-14T13:02:56Z wingo joined #scheme 2014-11-14T13:05:40Z sheilong quit (Ping timeout: 250 seconds) 2014-11-14T13:10:39Z hiyosi joined #scheme 2014-11-14T13:14:20Z _5kg quit (Ping timeout: 244 seconds) 2014-11-14T13:15:43Z hiyosi quit (Ping timeout: 255 seconds) 2014-11-14T13:22:49Z mdibound joined #scheme 2014-11-14T13:23:56Z jusss joined #scheme 2014-11-14T13:24:29Z jumblerg joined #scheme 2014-11-14T13:24:29Z jeapostrophe quit (Ping timeout: 264 seconds) 2014-11-14T13:26:57Z mdibound quit (Ping timeout: 240 seconds) 2014-11-14T13:36:34Z oleo joined #scheme 2014-11-14T13:43:21Z taylanub quit (Disconnected by services) 2014-11-14T13:43:28Z b4283 quit (Read error: Connection reset by peer) 2014-11-14T13:44:13Z taylanub joined #scheme 2014-11-14T13:46:30Z benasdf joined #scheme 2014-11-14T13:49:21Z tcsc joined #scheme 2014-11-14T13:50:17Z tcsc quit (Client Quit) 2014-11-14T13:51:09Z benasdf quit (Remote host closed the connection) 2014-11-14T13:55:57Z jeapostrophe joined #scheme 2014-11-14T13:58:14Z _5kg joined #scheme 2014-11-14T14:03:03Z gravicappa quit (Remote host closed the connection) 2014-11-14T14:10:02Z davexunit joined #scheme 2014-11-14T14:11:04Z zacts quit (Ping timeout: 245 seconds) 2014-11-14T14:11:30Z hiyosi joined #scheme 2014-11-14T14:12:13Z leppie quit (Ping timeout: 272 seconds) 2014-11-14T14:13:12Z zacts joined #scheme 2014-11-14T14:13:12Z zacts quit (Changing host) 2014-11-14T14:13:12Z zacts joined #scheme 2014-11-14T14:14:33Z sstrickl quit (Quit: sstrickl) 2014-11-14T14:14:36Z henrytill joined #scheme 2014-11-14T14:15:58Z leppie joined #scheme 2014-11-14T14:16:18Z hiyosi quit (Ping timeout: 258 seconds) 2014-11-14T14:45:33Z germ13 joined #scheme 2014-11-14T14:45:47Z natarajs joined #scheme 2014-11-14T14:47:00Z jusss quit (Remote host closed the connection) 2014-11-14T14:47:40Z jusss joined #scheme 2014-11-14T14:51:41Z germ13 quit (Ping timeout: 244 seconds) 2014-11-14T14:52:41Z wingo quit (Ping timeout: 264 seconds) 2014-11-14T14:53:34Z mdibound joined #scheme 2014-11-14T14:57:24Z mmc joined #scheme 2014-11-14T14:57:49Z mdibound quit (Ping timeout: 250 seconds) 2014-11-14T15:02:54Z joast joined #scheme 2014-11-14T15:03:07Z sstrickl joined #scheme 2014-11-14T15:06:53Z wingo joined #scheme 2014-11-14T15:08:15Z jusss quit (Remote host closed the connection) 2014-11-14T15:12:34Z hiyosi joined #scheme 2014-11-14T15:17:02Z hiyosi quit (Ping timeout: 256 seconds) 2014-11-14T15:20:43Z DGASAU quit (Remote host closed the connection) 2014-11-14T15:22:30Z DGASAU joined #scheme 2014-11-14T15:24:32Z pjb- joined #scheme 2014-11-14T15:27:43Z pnkfelix joined #scheme 2014-11-14T15:36:30Z pjb- quit (Quit: from my iPad) 2014-11-14T15:37:52Z mmc left #scheme 2014-11-14T15:38:17Z jeapostrophe quit (Ping timeout: 264 seconds) 2014-11-14T15:39:05Z germ13 joined #scheme 2014-11-14T15:40:12Z nebuli joined #scheme 2014-11-14T15:51:12Z jaaqo joined #scheme 2014-11-14T15:53:43Z developernotes joined #scheme 2014-11-14T15:54:34Z jlongster joined #scheme 2014-11-14T15:57:11Z sstrickl quit (Ping timeout: 250 seconds) 2014-11-14T15:59:08Z sstrickl joined #scheme 2014-11-14T16:01:22Z b4283 joined #scheme 2014-11-14T16:07:35Z b4283 quit (Ping timeout: 265 seconds) 2014-11-14T16:08:04Z theseb joined #scheme 2014-11-14T16:09:05Z przl joined #scheme 2014-11-14T16:21:32Z natarajs quit (Ping timeout: 250 seconds) 2014-11-14T16:25:25Z hiyosi joined #scheme 2014-11-14T16:33:22Z annodomini joined #scheme 2014-11-14T16:37:54Z annodomini quit (Client Quit) 2014-11-14T16:39:19Z mdibound joined #scheme 2014-11-14T16:43:09Z redeemed quit (Quit: q) 2014-11-14T16:43:53Z mdibound quit (Ping timeout: 258 seconds) 2014-11-14T16:55:30Z bjz quit (Quit: Textual IRC Client: www.textualapp.com) 2014-11-14T16:56:07Z Riastradh quit (Ping timeout: 250 seconds) 2014-11-14T16:57:21Z gravicappa joined #scheme 2014-11-14T16:57:32Z bjz joined #scheme 2014-11-14T16:58:01Z annodomini joined #scheme 2014-11-14T16:58:01Z annodomini quit (Changing host) 2014-11-14T16:58:01Z annodomini joined #scheme 2014-11-14T16:58:49Z Vutral quit (Ping timeout: 265 seconds) 2014-11-14T17:02:19Z przl quit (Ping timeout: 245 seconds) 2014-11-14T17:04:07Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-14T17:05:13Z pjb quit (Ping timeout: 255 seconds) 2014-11-14T17:05:42Z Vutral joined #scheme 2014-11-14T17:10:10Z wingo quit (Ping timeout: 255 seconds) 2014-11-14T17:11:06Z pjb joined #scheme 2014-11-14T17:22:21Z annodomini quit (Quit: annodomini) 2014-11-14T17:23:56Z xyh quit (Remote host closed the connection) 2014-11-14T17:25:35Z wingo joined #scheme 2014-11-14T17:26:04Z civodul quit (Remote host closed the connection) 2014-11-14T17:29:35Z fridim_ quit (Ping timeout: 255 seconds) 2014-11-14T17:40:02Z mdibound joined #scheme 2014-11-14T17:40:12Z DGASAU quit (Remote host closed the connection) 2014-11-14T17:41:48Z DGASAU joined #scheme 2014-11-14T17:43:04Z MichaelRaskin joined #scheme 2014-11-14T17:44:33Z mdibound quit (Ping timeout: 244 seconds) 2014-11-14T17:51:07Z gravicappa quit (Ping timeout: 255 seconds) 2014-11-14T17:55:38Z mdibound joined #scheme 2014-11-14T18:00:11Z mutley89 quit (Ping timeout: 255 seconds) 2014-11-14T18:05:37Z mutley89 joined #scheme 2014-11-14T18:07:56Z Riastradh joined #scheme 2014-11-14T18:08:25Z theseb: iirc the reason gensym doesn't cut it and hygiene is necessary 2014-11-14T18:08:47Z theseb: is because gensym has no protection against redefinition of predefined standard 2014-11-14T18:08:48Z theseb: operators? 2014-11-14T18:09:02Z sstrickl left #scheme 2014-11-14T18:09:18Z theseb: Well.....would an altnerative way to handle that concern be to have your lisp NOT allow redefinitions of standard operators? 2014-11-14T18:09:26Z theseb: That seems like a cleaner solution to me 2014-11-14T18:10:15Z Riastradh: Why are `standard operators' privileged? 2014-11-14T18:10:51Z Riastradh: That won't help anyone to use macros together with a library I wrote. 2014-11-14T18:11:04Z gnomon: theseb, let's follow that idea through to its conclusion. You've got a piece of code which uses GENSYM. GENSYM creates a symbol which your system refuses to allow. Does that generate a runtime error, or does your program continue? Which is worse? Is either outcome acceptable? 2014-11-14T18:11:14Z Riastradh: Point is that the names I use in the expansion of my macro are part of its implementation, not part of its interface. 2014-11-14T18:11:30Z jumblerg joined #scheme 2014-11-14T18:13:31Z ventonegro quit (Remote host closed the connection) 2014-11-14T18:15:39Z pjb: gnomon: gensym creates new symbols, therefore they cannot be denied! 2014-11-14T18:16:42Z BossKonaSegwaY quit (Ping timeout: 265 seconds) 2014-11-14T18:18:26Z theseb: gnomon: what pjb said 2014-11-14T18:18:49Z theseb: gnomon: not sure why gensym'd symbol would not be allowed.....also...that's a separate point 2014-11-14T18:20:41Z developernotes quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2014-11-14T18:21:59Z theseb: Riastradh: i gave one reason to make standard operators priviledged...because i'm too lazy to use/implement hygiene in my lisp i wrote! ;) 2014-11-14T18:22:19Z theseb: Riastradh: no really...in all seriousness..i am just looking for verification 2014-11-14T18:22:25Z theseb: from the gurus in here that that 2014-11-14T18:22:28Z theseb: isn't totally a crazy idea 2014-11-14T18:22:55Z theseb: call me insecure about my lisp skillz if you wish 2014-11-14T18:22:59Z wingo quit (Ping timeout: 265 seconds) 2014-11-14T18:23:43Z Riastradh: It's what Common Lisp does. It doesn't help conflicts with any names that are not `standard'. 2014-11-14T18:26:14Z Isp-sec joined #scheme 2014-11-14T18:27:00Z mdibound quit (Quit: Be back later ...) 2014-11-14T18:27:33Z mdibound joined #scheme 2014-11-14T18:27:39Z theseb: Riastradh: you mean like protection against accidentally redefinining YOUR OWN custom functions? 2014-11-14T18:27:59Z theseb: Riastradh: oh wait..i think i see 2014-11-14T18:28:15Z theseb: Riastradh: conceivably you could have a few useful libraries that aren't "protected" 2014-11-14T18:29:33Z atomx joined #scheme 2014-11-14T18:29:52Z gnomon: Conceivably you could have an entire ecosystem of useful libraries that aren't "protected". 2014-11-14T18:30:54Z theseb: gnomon: lemmie guess...CL'ers will say they use namespaces to deal with that 2014-11-14T18:31:17Z annodomini joined #scheme 2014-11-14T18:31:37Z mdibound quit (Ping timeout: 240 seconds) 2014-11-14T18:31:49Z ecraven: Riastradh: is the keyword-stuff in MIT/GNU Scheme ok to use? I'd like it for simple keyword argument stuff :) 2014-11-14T18:33:43Z ecraven: also, is there a way to tell the profiler to just profile *everything*? I have multiple threads handling web requests, and am not quite sure how to correctly apply the profiler here 2014-11-14T18:40:49Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-14T18:40:49Z BossKonaSegwaY joined #scheme 2014-11-14T18:43:01Z jumblerg joined #scheme 2014-11-14T18:47:28Z wingo joined #scheme 2014-11-14T18:52:08Z developernotes joined #scheme 2014-11-14T18:52:23Z wingo quit (Ping timeout: 255 seconds) 2014-11-14T18:53:12Z gravicappa joined #scheme 2014-11-14T19:05:53Z oldskirt quit (Read error: Connection reset by peer) 2014-11-14T19:06:20Z oldskirt joined #scheme 2014-11-14T19:21:24Z Riastradh: theseb: Some Common Lisp implementations extend the language with `package locks' to prohibit local bindings of symbols in locked packages. But then you have to use the horrifically brain-damaged system of packages and symbols that Common Lisp uses. 2014-11-14T19:21:41Z pnkfelix quit (Ping timeout: 244 seconds) 2014-11-14T19:22:22Z theseb: Riastradh: yea..it is an interesting question.....fascinating that hygience is just one of may ways to solve this problem 2014-11-14T19:22:37Z hiyosi quit (Ping timeout: 240 seconds) 2014-11-14T19:23:22Z lritter_ quit (Ping timeout: 255 seconds) 2014-11-14T19:23:25Z Riastradh: ecraven: Keywords -- I dunno, I don't like to rely on them, but at least they're selectively enabled in the parser with the -*- keyword-style: frotz -*- thing. I wrote (mit-keyword-compiled.scm, mit-keyword-test.scm) using the parser's support as a better system for named argument-passing than one usually finds in Lisps. 2014-11-14T19:23:35Z Riastradh: theseb: It's the only one that actually works well. 2014-11-14T19:26:56Z mdibound joined #scheme 2014-11-14T19:27:25Z Riastradh: ecraven: Profiler -- hmm, well, you could try (for-each (lambda (thread) (signal-thread-event thread (lambda () [parrot the timer event registration code in RUN-WITH-STACK-SAMPLING]))) (threads-list)). 2014-11-14T19:29:03Z Riastradh: (Be careful to hang onto the timer event registrations so you can stop profiling later.) 2014-11-14T19:30:29Z Riastradh: (That may require some not entirely trivial bookkeeping, since you will want each thread to reregister its timer, and thereby obtain a different registration, event every time it fires. Probably easiest to have a global flag saying whether profiling should continue, so all the threads will eventually notice and stop.) 2014-11-14T19:39:56Z mdibound: When we use (string-set! string_name index c) to modify the char at a specified index, are we actually modifying the string, or is a new string created behind the scenes? 2014-11-14T19:41:11Z taylanub: mdibound: the ! tells you you're mutating (modifying) an object 2014-11-14T19:41:26Z taylanub: (or a variable binding, in the case of 'set!') 2014-11-14T19:42:35Z mdibound: Alright, thank you taylanub 2014-11-14T19:43:26Z oldskirt_ joined #scheme 2014-11-14T19:44:38Z vanila joined #scheme 2014-11-14T19:46:07Z oldskirt quit (Ping timeout: 245 seconds) 2014-11-14T19:49:05Z joneshf-laptop quit (Ping timeout: 264 seconds) 2014-11-14T19:51:18Z developernotes quit (Ping timeout: 256 seconds) 2014-11-14T19:51:23Z mutley89 quit (Ping timeout: 240 seconds) 2014-11-14T19:54:23Z macdice quit (Ping timeout: 240 seconds) 2014-11-14T19:56:57Z evhan` joined #scheme 2014-11-14T19:58:47Z evhan` quit (Client Quit) 2014-11-14T19:59:02Z evhan quit (Quit: de irc non curat lector) 2014-11-14T19:59:51Z evhan joined #scheme 2014-11-14T20:02:15Z cdan joined #scheme 2014-11-14T20:08:12Z DGASAU quit (Remote host closed the connection) 2014-11-14T20:10:28Z DGASAU joined #scheme 2014-11-14T20:14:20Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-14T20:14:29Z BossKonaSegwaY quit (Ping timeout: 272 seconds) 2014-11-14T20:14:49Z ecraven: Riastradh: thank you and thank you :) 2014-11-14T20:15:13Z jumblerg joined #scheme 2014-11-14T20:15:13Z visualshock joined #scheme 2014-11-14T20:17:07Z ecraven: Riastradh: so I need to call keyword-functions specially? wouldn't it be possible to use #!rest parameters and parse the lists, to make for a more normal call interface? 2014-11-14T20:19:23Z hiyosi joined #scheme 2014-11-14T20:19:28Z Riastradh: You can use rest arguments and parse the lists like many Lisps do, and if you like the cosmetics of it, you can use keywords as the names for parameters. 2014-11-14T20:20:36Z Riastradh: is a different thing. Because MIT Scheme doesn't have a nice way to write a macro overriding lambda and application, I couldn't render it that way and instead rendered it with substitutes for lambda and application. Which is silly -- I wouldn't actually use that in serious code. 2014-11-14T20:22:05Z stamourv: ecraven: Potentially relevant (didn't read the whole conversation): http://www.ccs.neu.edu/racket/pubs/scheme2009-fb.pdf 2014-11-14T20:22:33Z Riastradh: stamourv: That's the same thing as , more or less. 2014-11-14T20:22:58Z stamourv: Riastradh: Oh, neat. 2014-11-14T20:24:22Z hiyosi quit (Ping timeout: 240 seconds) 2014-11-14T20:28:19Z taylanub: has there ever been an implementation of "optional return values"? (not *always* dropping superfluous values, only when they're marked optional) a prime use-case is '(assoc alist key)' returning the optional second value 'found?' which may but need not be received. 2014-11-14T20:29:44Z masm quit (Quit: Leaving.) 2014-11-14T20:33:35Z Riastradh: Usually one renders that with two different procedures, one for which you provide a default value and the other for which you always check the FOUND?. 2014-11-14T20:34:01Z Vutral quit (Ping timeout: 255 seconds) 2014-11-14T20:36:40Z taylanub: right, I just think it would be simpler. 2014-11-14T20:41:02Z Vutral joined #scheme 2014-11-14T20:43:21Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-14T20:53:47Z peterhil quit (Quit: Must not waste too much time here...) 2014-11-14T20:56:26Z zacts quit (Quit: leaving) 2014-11-14T21:01:08Z amgarchIn9 joined #scheme 2014-11-14T21:03:58Z theseb quit (Quit: Leaving) 2014-11-14T21:04:16Z jkraemer quit (Remote host closed the connection) 2014-11-14T21:11:13Z alezost quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-14T21:11:47Z jaaqo quit (Ping timeout: 250 seconds) 2014-11-14T21:14:54Z visualshock quit (Quit: Leaving) 2014-11-14T21:17:39Z atomx quit (Remote host closed the connection) 2014-11-14T21:28:29Z ecraven: nice, there's even #!key predefined :) 2014-11-14T21:35:15Z derek_c joined #scheme 2014-11-14T21:35:23Z amgarchIn9 quit (Ping timeout: 240 seconds) 2014-11-14T21:36:17Z carc quit (Quit: QUIT) 2014-11-14T21:36:28Z hiyosi joined #scheme 2014-11-14T21:36:56Z carc joined #scheme 2014-11-14T21:41:20Z hiyosi quit (Ping timeout: 250 seconds) 2014-11-14T21:42:12Z hiroakip joined #scheme 2014-11-14T21:45:32Z BossKonaSegwaY joined #scheme 2014-11-14T21:56:53Z gravicappa quit (Remote host closed the connection) 2014-11-14T22:02:24Z mark_weaver: taylanub: the sole return value of 'assoc' can already be treated as the 'found?' boolean that you seek. 2014-11-14T22:07:56Z byte48_ is now known as byte48 2014-11-14T22:08:12Z derek_c quit (Ping timeout: 245 seconds) 2014-11-14T22:09:54Z ecraven: Riastradh: what does #!aux do? 2014-11-14T22:10:17Z hiroakip quit (Ping timeout: 245 seconds) 2014-11-14T22:22:41Z taylanub: mark_weaver: but for the cases where one wants to discern between having #f found, and having no value found, one has to either use an alternative procedure (with two mandatory return values), or pass an optional unfound-thunk, etc. I think optional return values would have been the obvious solution for such use-cases if they had caught on at some point... 2014-11-14T22:23:33Z cdan quit (Ping timeout: 244 seconds) 2014-11-14T22:23:56Z hiroakip joined #scheme 2014-11-14T22:34:38Z Isp-sec quit (Ping timeout: 250 seconds) 2014-11-14T22:37:16Z hiyosi joined #scheme 2014-11-14T22:40:32Z oldskirt_ is now known as oldskirt 2014-11-14T22:42:17Z hiyosi quit (Ping timeout: 240 seconds) 2014-11-14T22:49:38Z tcsc joined #scheme 2014-11-14T22:51:10Z amgarchIn9 joined #scheme 2014-11-14T22:52:05Z mark_weaver: taylanub: 'assoc' returns #f only if the key is not found. if the key is found, it returns the association pair with the key in the 'car'. 2014-11-14T22:52:21Z mark_weaver: therefore, there is no ambiguity between "not found" and "value is #f" 2014-11-14T23:00:13Z BitPuffin joined #scheme 2014-11-14T23:03:56Z taylanub: mark_weaver: oh, my bad, I meant something akin to `assoc-ref' in Guile. generally, any procedure that might produce an arbitrary value, including #f, or return #f to indicate failure, where discerning between the two is not always but occasionally necessary. 2014-11-14T23:05:09Z annodomini quit (Quit: annodomini) 2014-11-14T23:05:28Z davexunit quit (Quit: Later) 2014-11-14T23:08:57Z kongtomorrow joined #scheme 2014-11-14T23:09:24Z amgarchIn9 quit (Ping timeout: 245 seconds) 2014-11-14T23:11:17Z fantazo joined #scheme 2014-11-14T23:11:54Z Vutral quit (Ping timeout: 250 seconds) 2014-11-14T23:12:18Z FishR joined #scheme 2014-11-14T23:12:39Z kongtomorrow quit (Read error: Connection reset by peer) 2014-11-14T23:13:00Z kongtomorrow joined #scheme 2014-11-14T23:20:45Z Vutral joined #scheme 2014-11-14T23:22:55Z FishR quit (Remote host closed the connection) 2014-11-14T23:26:24Z amgarchIn9 joined #scheme 2014-11-14T23:29:13Z araujo quit (Read error: Connection reset by peer) 2014-11-14T23:29:47Z araujo joined #scheme 2014-11-14T23:31:05Z hiroakip quit (Ping timeout: 264 seconds) 2014-11-14T23:47:44Z GGMethos quit (Quit: WeeChat 1.0.1) 2014-11-14T23:56:58Z jumblerg joined #scheme