2015-03-15T00:12:24Z ijp quit (Quit: brb setting off a combinatorial explosion in the maths department) 2015-03-15T00:14:58Z NaNDude joined #scheme 2015-03-15T00:17:38Z xyh quit (Ping timeout: 265 seconds) 2015-03-15T00:34:58Z jeapostrophe joined #scheme 2015-03-15T00:53:54Z beginner quit (Read error: Connection reset by peer) 2015-03-15T00:55:05Z beginner joined #scheme 2015-03-15T01:00:11Z jewel quit (Ping timeout: 252 seconds) 2015-03-15T01:04:26Z NaNDude quit (Quit: Leaving) 2015-03-15T01:04:29Z cdidd quit (Quit: Leaving) 2015-03-15T01:05:32Z NaNDude joined #scheme 2015-03-15T01:06:23Z stepnem quit (Ping timeout: 246 seconds) 2015-03-15T01:07:26Z bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2015-03-15T01:13:39Z xyh joined #scheme 2015-03-15T01:23:56Z cdidd joined #scheme 2015-03-15T01:29:20Z mrowe_away is now known as mrowe 2015-03-15T01:48:46Z mrowe is now known as mrowe_away 2015-03-15T01:54:23Z zacts quit (Quit: leaving) 2015-03-15T01:58:04Z ilammy quit (Ping timeout: 246 seconds) 2015-03-15T01:59:30Z cojy_: solrize: https://github.com/ryansuchocki/microscheme 2015-03-15T02:04:12Z jlongste` joined #scheme 2015-03-15T02:06:49Z hiyosi joined #scheme 2015-03-15T02:22:19Z zacts joined #scheme 2015-03-15T02:23:52Z jeapostrophe quit (Ping timeout: 240 seconds) 2015-03-15T02:25:32Z zacts quit (Quit: leaving) 2015-03-15T02:35:49Z beginner quit (Ping timeout: 264 seconds) 2015-03-15T02:36:02Z beginner joined #scheme 2015-03-15T02:36:02Z beginner quit (Changing host) 2015-03-15T02:36:02Z beginner joined #scheme 2015-03-15T02:46:46Z bjz joined #scheme 2015-03-15T02:55:37Z rjcode joined #scheme 2015-03-15T02:56:13Z vdamewood quit (Quit: Computer has gone to sleep.) 2015-03-15T03:00:18Z c74d quit (Read error: Connection reset by peer) 2015-03-15T03:06:11Z badkins quit 2015-03-15T03:14:16Z theseb left #scheme 2015-03-15T03:27:13Z xyh quit (Remote host closed the connection) 2015-03-15T03:39:41Z beginner quit (Ping timeout: 252 seconds) 2015-03-15T03:39:51Z beginner joined #scheme 2015-03-15T03:48:22Z jewel joined #scheme 2015-03-15T03:48:48Z ArneBab_ joined #scheme 2015-03-15T03:49:03Z taylanub quit (Disconnected by services) 2015-03-15T03:49:33Z taylanub joined #scheme 2015-03-15T03:51:52Z ArneBab quit (Ping timeout: 255 seconds) 2015-03-15T04:04:45Z kraehe is now known as kephra 2015-03-15T04:11:21Z emma is now known as em 2015-03-15T04:25:53Z jlongste` quit (Ping timeout: 246 seconds) 2015-03-15T04:33:38Z solrize: cojy_, thanks 2015-03-15T04:37:36Z alexei_ joined #scheme 2015-03-15T04:41:02Z psy_ joined #scheme 2015-03-15T04:41:19Z alexei quit (Ping timeout: 244 seconds) 2015-03-15T04:46:14Z rjcode` joined #scheme 2015-03-15T04:50:15Z rjcode quit (Ping timeout: 276 seconds) 2015-03-15T04:56:41Z oleo quit (Read error: Connection reset by peer) 2015-03-15T04:58:13Z oleo joined #scheme 2015-03-15T05:17:43Z {-}grant is now known as {0}grant 2015-03-15T05:24:46Z gravicappa joined #scheme 2015-03-15T05:28:03Z bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2015-03-15T05:59:23Z solrize: cojy_, that microscheme seems to be a compiler for a small imperative language with scheme syntax and keywords, but no garbage collection? 2015-03-15T06:01:53Z bjz joined #scheme 2015-03-15T06:06:02Z edgar-rft joined #scheme 2015-03-15T06:10:51Z bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2015-03-15T06:14:03Z narendraj9 joined #scheme 2015-03-15T06:25:21Z kongtomorrow joined #scheme 2015-03-15T06:29:16Z mtakkman joined #scheme 2015-03-15T06:34:48Z petercommand quit (Changing host) 2015-03-15T06:34:48Z petercommand joined #scheme 2015-03-15T06:38:29Z Vutral quit (Ping timeout: 250 seconds) 2015-03-15T06:40:09Z alexei_ quit (Ping timeout: 244 seconds) 2015-03-15T06:44:31Z bjz joined #scheme 2015-03-15T06:45:35Z alexei_ joined #scheme 2015-03-15T06:48:09Z rjcode`` joined #scheme 2015-03-15T06:51:48Z rjcode` quit (Ping timeout: 276 seconds) 2015-03-15T06:52:20Z Vutral joined #scheme 2015-03-15T06:52:39Z Shadox quit (Quit: Leaving) 2015-03-15T06:59:35Z narendraj9 quit (Ping timeout: 246 seconds) 2015-03-15T07:00:51Z narendraj9 joined #scheme 2015-03-15T07:01:06Z mutley89 joined #scheme 2015-03-15T07:31:11Z {0}grant quit (Ping timeout: 265 seconds) 2015-03-15T07:53:47Z daviid` quit (Ping timeout: 246 seconds) 2015-03-15T08:05:08Z jewel quit (Ping timeout: 256 seconds) 2015-03-15T08:12:02Z beginner quit (Ping timeout: 246 seconds) 2015-03-15T08:12:18Z beginner joined #scheme 2015-03-15T08:13:35Z ilammy joined #scheme 2015-03-15T08:14:44Z beginner quit (Max SendQ exceeded) 2015-03-15T08:16:07Z beginner joined #scheme 2015-03-15T08:16:24Z przl joined #scheme 2015-03-15T08:22:34Z alexei_ quit (Ping timeout: 272 seconds) 2015-03-15T08:22:34Z pcarrier__ joined #scheme 2015-03-15T08:31:52Z przl quit (Ping timeout: 240 seconds) 2015-03-15T08:39:17Z kongtomorrow quit (Ping timeout: 256 seconds) 2015-03-15T08:40:31Z kongtomorrow joined #scheme 2015-03-15T08:44:46Z mtakkman quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-03-15T08:52:09Z stepnem joined #scheme 2015-03-15T08:54:59Z cmatei quit (Read error: No route to host) 2015-03-15T08:55:48Z alexei_ joined #scheme 2015-03-15T08:58:19Z beginner quit (Ping timeout: 252 seconds) 2015-03-15T08:58:57Z beginner joined #scheme 2015-03-15T08:58:57Z beginner quit (Changing host) 2015-03-15T08:58:57Z beginner joined #scheme 2015-03-15T09:00:25Z narendraj9 quit (Read error: Connection reset by peer) 2015-03-15T09:11:21Z przl joined #scheme 2015-03-15T09:13:06Z jewel joined #scheme 2015-03-15T09:19:01Z przl quit (Ping timeout: 255 seconds) 2015-03-15T09:23:49Z narendraj9 joined #scheme 2015-03-15T09:26:59Z micmus joined #scheme 2015-03-15T09:31:07Z beginner quit (Read error: Connection reset by peer) 2015-03-15T09:31:58Z beginner joined #scheme 2015-03-15T09:37:53Z narendraj9 quit (Quit: WeeChat 1.1.1) 2015-03-15T09:41:51Z cmatei joined #scheme 2015-03-15T09:46:47Z pcarrier__ left #scheme 2015-03-15T09:46:51Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-03-15T10:00:06Z xyh joined #scheme 2015-03-15T10:07:58Z robot-beethoven quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-03-15T10:15:22Z przl joined #scheme 2015-03-15T10:20:17Z przl quit (Ping timeout: 245 seconds) 2015-03-15T11:08:45Z przl joined #scheme 2015-03-15T11:12:47Z przl quit (Ping timeout: 245 seconds) 2015-03-15T11:13:47Z przl joined #scheme 2015-03-15T11:18:35Z przl quit (Ping timeout: 246 seconds) 2015-03-15T11:22:43Z przl joined #scheme 2015-03-15T11:24:13Z rjcode`` quit (Remote host closed the connection) 2015-03-15T11:24:36Z hiyosi joined #scheme 2015-03-15T11:46:01Z jewel quit (Ping timeout: 264 seconds) 2015-03-15T12:03:08Z hiroaki quit (Ping timeout: 256 seconds) 2015-03-15T12:03:51Z sdothum joined #scheme 2015-03-15T12:05:06Z Windrunner joined #scheme 2015-03-15T12:09:37Z hiroaki joined #scheme 2015-03-15T12:10:01Z przl quit (Ping timeout: 264 seconds) 2015-03-15T12:13:32Z mtakkman joined #scheme 2015-03-15T12:16:01Z przl joined #scheme 2015-03-15T12:24:40Z khisanth_ joined #scheme 2015-03-15T12:26:17Z xyh quit (Remote host closed the connection) 2015-03-15T12:27:13Z xyh joined #scheme 2015-03-15T12:27:28Z Khisanth quit (Ping timeout: 252 seconds) 2015-03-15T12:29:52Z jeapostrophe joined #scheme 2015-03-15T12:34:43Z hiroaki quit (Ping timeout: 265 seconds) 2015-03-15T12:37:27Z hiroaki joined #scheme 2015-03-15T12:40:48Z alezost joined #scheme 2015-03-15T12:51:06Z kongtomorrow quit (Ping timeout: 272 seconds) 2015-03-15T12:51:25Z jeapostrophe quit (Ping timeout: 264 seconds) 2015-03-15T12:52:51Z kongtomorrow joined #scheme 2015-03-15T13:00:39Z bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2015-03-15T13:06:37Z xyh quit (Ping timeout: 265 seconds) 2015-03-15T13:14:10Z jeapostrophe joined #scheme 2015-03-15T13:18:17Z micmus quit (Ping timeout: 252 seconds) 2015-03-15T13:18:49Z jewel joined #scheme 2015-03-15T13:28:11Z jawny joined #scheme 2015-03-15T13:29:49Z jeapostrophe quit (Ping timeout: 265 seconds) 2015-03-15T13:30:07Z jawny: What's the best way to explore levels of a list, and more specifically, to jump back out of a list? I have a function that check to see if a number is in a list and it needs to explore all levels of the list. So far to deal with this I have it so that if the item it's checking is a list, it'll car through that list. I'm just not sure how to jump back out of that inner list to continue checking the rest of the list. 2015-03-15T13:40:12Z wasamasa: pattern matching? 2015-03-15T13:42:23Z leppie quit (Ping timeout: 265 seconds) 2015-03-15T13:45:52Z alexei_ quit (Ping timeout: 240 seconds) 2015-03-15T13:46:23Z leppie joined #scheme 2015-03-15T13:48:23Z jeapostrophe joined #scheme 2015-03-15T13:48:30Z jeapostrophe quit (Changing host) 2015-03-15T13:48:30Z jeapostrophe joined #scheme 2015-03-15T14:04:00Z ijp joined #scheme 2015-03-15T14:08:07Z xyh joined #scheme 2015-03-15T14:15:19Z przl quit (Ping timeout: 256 seconds) 2015-03-15T14:24:27Z jawny quit (Ping timeout: 245 seconds) 2015-03-15T14:27:33Z alexei_ joined #scheme 2015-03-15T14:32:46Z ilammy: jawny, recusion. 2015-03-15T14:33:20Z przl joined #scheme 2015-03-15T14:35:43Z turtleman_ joined #scheme 2015-03-15T14:40:40Z turtleman_ quit (Ping timeout: 256 seconds) 2015-03-15T14:41:45Z taylanub: ilammy: ey quit 2015-03-15T14:42:00Z taylanub: .. *they (nobody gets Spivak pronouns anyway :( ) 2015-03-15T15:04:49Z beginner quit (Ping timeout: 245 seconds) 2015-03-15T15:05:00Z beginner joined #scheme 2015-03-15T15:05:00Z beginner quit (Changing host) 2015-03-15T15:05:00Z beginner joined #scheme 2015-03-15T15:05:14Z PinealGlandOptic quit (Ping timeout: 245 seconds) 2015-03-15T15:07:31Z beginner quit (Max SendQ exceeded) 2015-03-15T15:08:38Z vanila joined #scheme 2015-03-15T15:08:39Z vanila: hello 2015-03-15T15:08:54Z beginner joined #scheme 2015-03-15T15:08:56Z vanila: How would you sort a list in an R7RS scheme? 2015-03-15T15:12:31Z solrize: vanila what have you tried? 2015-03-15T15:16:32Z przl quit (Ping timeout: 246 seconds) 2015-03-15T15:16:49Z taylanub: vanila: implement qsort (or grab an existing one)? 2015-03-15T15:17:10Z vanila: im worried about portability is the thing 2015-03-15T15:17:36Z vanila: I feel like whatever one does in one scheme will be different than elsewhere 2015-03-15T15:17:43Z solrize: for lists you should prob use a merge sort 2015-03-15T15:17:43Z taylanub: haha 2015-03-15T15:18:16Z taylanub: if you stick to R5RS you're guaranteed a lot of portability, and qsorting a list is trivial enough to be possible to do in pure R5RS 2015-03-15T15:18:52Z vanila: but it's not in R7RS! there is a SRFI... but not all schemes have it, I guess I can provide it to the ones that don't in a portable way 2015-03-15T15:18:53Z taylanub: oh, qsort desires random-access doesn't it? 2015-03-15T15:27:36Z daviid` joined #scheme 2015-03-15T15:28:09Z xyh: vanila: can you help with this :: https://gist.github.com/xieyuheng/6d66a69eb7d30e07f863 2015-03-15T15:28:47Z vanila: xyh, ah idon't have windows sorry 2015-03-15T15:32:59Z jeapostrophe quit (Ping timeout: 246 seconds) 2015-03-15T15:35:26Z liqu0rice joined #scheme 2015-03-15T15:43:18Z przl joined #scheme 2015-03-15T15:49:47Z przl quit (Ping timeout: 246 seconds) 2015-03-15T15:51:06Z xyh quit (Remote host closed the connection) 2015-03-15T15:51:19Z narendraj9 joined #scheme 2015-03-15T15:52:38Z beginner quit (Ping timeout: 256 seconds) 2015-03-15T15:53:02Z beginner joined #scheme 2015-03-15T16:06:50Z c74d joined #scheme 2015-03-15T16:12:43Z przl joined #scheme 2015-03-15T16:19:49Z mutley89 quit (Quit: Leaving) 2015-03-15T16:27:42Z excelsior joined #scheme 2015-03-15T16:33:07Z hive-mind joined #scheme 2015-03-15T16:33:26Z kongtomorrow quit (Ping timeout: 256 seconds) 2015-03-15T16:36:06Z hive-mind quit (Client Quit) 2015-03-15T16:37:41Z hive-mind joined #scheme 2015-03-15T16:38:24Z kongtomorrow joined #scheme 2015-03-15T16:58:08Z przl quit (Ping timeout: 265 seconds) 2015-03-15T16:58:34Z zadock quit (Ping timeout: 245 seconds) 2015-03-15T17:07:54Z benregn joined #scheme 2015-03-15T17:14:51Z zadock joined #scheme 2015-03-15T17:14:58Z liqu0rice quit (Quit: leaving) 2015-03-15T17:15:24Z benregn quit (Read error: Connection reset by peer) 2015-03-15T17:16:03Z przl joined #scheme 2015-03-15T17:16:35Z xyh joined #scheme 2015-03-15T17:19:03Z hive-mind quit (Quit: leaving) 2015-03-15T17:19:47Z hive-mind joined #scheme 2015-03-15T17:23:06Z oleo is now known as Guest13588 2015-03-15T17:23:44Z {-}grant joined #scheme 2015-03-15T17:23:56Z oleo_ joined #scheme 2015-03-15T17:26:13Z Guest13588 quit (Ping timeout: 264 seconds) 2015-03-15T17:32:22Z mtakkman quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-03-15T17:40:26Z benregn joined #scheme 2015-03-15T17:45:21Z civodul joined #scheme 2015-03-15T17:45:32Z benregn quit (Read error: Connection reset by peer) 2015-03-15T17:45:48Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-03-15T17:50:44Z bjz joined #scheme 2015-03-15T17:50:54Z narendraj9 quit (Read error: Connection reset by peer) 2015-03-15T17:51:59Z benregn joined #scheme 2015-03-15T17:54:57Z Steverman joined #scheme 2015-03-15T17:56:20Z narendraj9 joined #scheme 2015-03-15T18:00:28Z benregn quit (Read error: Connection reset by peer) 2015-03-15T18:04:40Z beginner quit (Ping timeout: 256 seconds) 2015-03-15T18:05:01Z beginner joined #scheme 2015-03-15T18:05:01Z beginner quit (Changing host) 2015-03-15T18:05:01Z beginner joined #scheme 2015-03-15T18:05:36Z {-}grant quit (Ping timeout: 246 seconds) 2015-03-15T18:13:22Z przl quit (Ping timeout: 240 seconds) 2015-03-15T18:29:49Z narendraj9 quit (Quit: WeeChat 1.1.1) 2015-03-15T18:36:41Z oleo_ is now known as oleo 2015-03-15T18:37:54Z wasamasa: http://permalink.gmane.org/gmane.lisp.scheme.srfi.announce/116 2015-03-15T18:37:56Z wasamasa: .-. 2015-03-15T18:38:07Z adu joined #scheme 2015-03-15T18:40:45Z zacts joined #scheme 2015-03-15T18:45:04Z przl joined #scheme 2015-03-15T18:48:49Z hiroaki quit (Ping timeout: 265 seconds) 2015-03-15T18:48:49Z hiroakip quit (Ping timeout: 265 seconds) 2015-03-15T18:49:54Z przl quit (Ping timeout: 252 seconds) 2015-03-15T18:53:34Z Steverman quit (Ping timeout: 245 seconds) 2015-03-15T18:56:18Z kongtomorrow quit 2015-03-15T18:58:06Z kongtomorrow joined #scheme 2015-03-15T19:00:42Z solrize: cojy_, i spent a while looking at microscheme (microscheme.org is a more complete site about it)... it's pretty neat, arduino specific (though could be ported) but mostly, geared towards really tiny environments and missed a few implementation tricks 2015-03-15T19:00:50Z solrize: do you know the guy who wrote it? i might email him 2015-03-15T19:03:09Z hiroakip joined #scheme 2015-03-15T19:03:12Z cojy_: oh sorry, i dont know him 2015-03-15T19:03:20Z cojy_: i just saw someone yalking about using it here a while back 2015-03-15T19:03:24Z hiroaki joined #scheme 2015-03-15T19:03:50Z sethalves quit (Ping timeout: 264 seconds) 2015-03-15T19:11:02Z solrize: no prob, thanks for pointing to it. 2015-03-15T19:13:21Z alexei_ quit (Ping timeout: 250 seconds) 2015-03-15T19:17:07Z vanila: de bruijn combinator synthesis 2015-03-15T19:17:09Z vanila: oops 2015-03-15T19:17:41Z wasamasa: srfi.schemers.org retiring is saddening me 2015-03-15T19:17:48Z wasamasa: I could see myself hosting the website 2015-03-15T19:18:22Z wasamasa: but then I realize that I have never ever even partaken in a proper manner (aka by more than submitting an emacs bug report) on a mailing list 2015-03-15T19:20:06Z sethalves joined #scheme 2015-03-15T19:21:10Z przl joined #scheme 2015-03-15T19:24:08Z adu quit (Quit: adu) 2015-03-15T19:25:26Z przl quit (Ping timeout: 246 seconds) 2015-03-15T19:33:40Z alexei_ joined #scheme 2015-03-15T19:40:07Z vdamewood joined #scheme 2015-03-15T19:44:19Z vanila quit (Quit: Leaving) 2015-03-15T19:51:41Z teiresias quit (Ping timeout: 244 seconds) 2015-03-15T19:53:29Z teiresias joined #scheme 2015-03-15T20:02:54Z {-}grant joined #scheme 2015-03-15T20:14:50Z hiyosi joined #scheme 2015-03-15T20:15:24Z xyh quit (Remote host closed the connection) 2015-03-15T20:16:06Z joneshf joined #scheme 2015-03-15T20:18:12Z contrapunctus joined #scheme 2015-03-15T20:18:42Z contrapunctus: o/ 2015-03-15T20:19:03Z contrapunctus: anyone seen this? scary stuff o_o' http://permalink.gmane.org/gmane.lisp.scheme.srfi.announce/116 2015-03-15T20:20:07Z bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2015-03-15T20:25:19Z kongtomorrow quit 2015-03-15T20:27:14Z joneshf quit (Remote host closed the connection) 2015-03-15T20:28:21Z joneshf joined #scheme 2015-03-15T20:29:00Z joneshf quit (Remote host closed the connection) 2015-03-15T20:31:27Z davexunit joined #scheme 2015-03-15T20:32:48Z Shadox joined #scheme 2015-03-15T20:32:59Z jewel quit (Ping timeout: 246 seconds) 2015-03-15T20:44:59Z ilammy gone backuping SRFI specs... 2015-03-15T20:47:29Z contrapunctus: -_- 2015-03-15T20:54:19Z excelsior quit (Quit: Lost terminal) 2015-03-15T20:56:41Z oldskirt_ joined #scheme 2015-03-15T20:56:41Z oldskirt_ quit (Changing host) 2015-03-15T20:56:41Z oldskirt_ joined #scheme 2015-03-15T20:58:58Z oldskirt quit (Ping timeout: 252 seconds) 2015-03-15T21:01:26Z alexei_ quit (Ping timeout: 244 seconds) 2015-03-15T21:12:56Z alexei_ joined #scheme 2015-03-15T21:18:01Z alezost quit (Quit: I use GNU Guix ) 2015-03-15T21:21:03Z c74d quit (Read error: Connection reset by peer) 2015-03-15T21:23:25Z c74d joined #scheme 2015-03-15T21:26:12Z jewel joined #scheme 2015-03-15T21:29:34Z c74d quit (Read error: Connection reset by peer) 2015-03-15T21:40:24Z gravicappa quit (Remote host closed the connection) 2015-03-15T21:47:23Z jeapostrophe joined #scheme 2015-03-15T21:47:49Z solrize: well he says he'll keep running the server as a static site... mirroring it someplace is trivial too, there's tons of cheap or free server resources these days. i can provide some if that will help but i'm sure others closer to the srfi scene can do it too. 2015-03-15T21:48:35Z wasamasa: the crucial point of this is the social part 2015-03-15T21:48:54Z wasamasa: hosting is something anyone could do 2015-03-15T21:48:59Z solrize: yeah 2015-03-15T21:49:18Z wasamasa: improving/modernizing the website is a bit harder, but still doable by people like me with little design skill 2015-03-15T21:49:35Z solrize: every time i've seen a website "modernized" the modernization has made it worse :( 2015-03-15T21:49:49Z solrize: site looks fine to me. no cruft. 2015-03-15T21:50:07Z solrize: but, i didn't realize that the process had slowed down a lot, which it sounds like it has 2015-03-15T21:50:36Z edgar-rft quit (Quit: edgar-rft) 2015-03-15T21:52:30Z wasamasa: I assumed it were okay since I witnessed a new SRFI being submitted a few weeks ago 2015-03-15T21:53:36Z solrize: is there an ELI5 simple explanation someplace of how to write scheme macros? i know how to do it in lisp but have never understood the scheme version 2015-03-15T21:54:04Z wasamasa: I've seen a document by the creator of pollen about racket macros 2015-03-15T21:54:21Z wasamasa: so, not sure how appliable it is to the standard ones 2015-03-15T21:55:05Z c74d joined #scheme 2015-03-15T21:55:34Z contrapunctus is now known as macrodog 2015-03-15T21:55:55Z solrize: hm ok 2015-03-15T21:57:09Z wasamasa: or wait 2015-03-15T21:57:12Z wasamasa: that was someone else 2015-03-15T21:57:23Z wasamasa: http://www.greghendershott.com/fear-of-macros/ 2015-03-15T21:57:28Z wasamasa: still racket though :P 2015-03-15T21:59:45Z wasamasa: http://www.willdonnelly.net/blog/scheme-syntax-rules/ 2015-03-15T21:59:50Z wasamasa: that should be more appliable 2015-03-15T22:00:19Z wasamasa: syntax-rules is basically cond, but for macros 2015-03-15T22:00:42Z wasamasa: you write up a pattern looking like your macro would be used 2015-03-15T22:00:51Z wasamasa: and combine it with what it would expand to 2015-03-15T22:00:59Z c74d quit (Read error: Connection reset by peer) 2015-03-15T22:01:00Z wasamasa: then add more patterns if you wish 2015-03-15T22:01:59Z wasamasa: bonus points for scheme implementations generally being hygienic, that keeps them simple 2015-03-15T22:04:28Z c74d joined #scheme 2015-03-15T22:04:43Z wasamasa is now known as macroant 2015-03-15T22:05:09Z macrodog is now known as macrophant 2015-03-15T22:05:26Z vdamewood quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2015-03-15T22:08:25Z c74d quit (Read error: Connection reset by peer) 2015-03-15T22:09:59Z mrowe_away is now known as mrowe 2015-03-15T22:11:02Z macroant is now known as wasamasa 2015-03-15T22:15:32Z macrophant is now known as contrapunctus 2015-03-15T22:17:27Z solrize: thanks 2015-03-15T22:17:55Z solrize: yeah, lisp macros are notoriously confusing and bug-prone... i've always avoided writing fancy ones 2015-03-15T22:22:11Z xyh joined #scheme 2015-03-15T22:30:54Z zacts quit (Quit: leaving) 2015-03-15T22:34:41Z c74d joined #scheme 2015-03-15T22:38:44Z kongtomorrow joined #scheme 2015-03-15T22:40:51Z civodul quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-03-15T22:42:06Z contrapunctus: I wonder if, as a beginner, it makes sense to not touch macros and continuations for a while. 2015-03-15T22:42:28Z contrapunctus: (which I'm guilty of, so far...) 2015-03-15T22:42:57Z contrapunctus: (save some dabbling into understanding macros) 2015-03-15T22:50:07Z taylanub: you should certainly stay away from call/cc forever :P 2015-03-15T22:50:28Z taylanub: (use delimited continuations instead) 2015-03-15T22:50:52Z jeapostrophe quit (Ping timeout: 272 seconds) 2015-03-15T22:51:29Z taylanub: and yeah, I'd say touch them only when other methods certainly fail. many cases of macros can be replaced with higher-order procedures. 2015-03-15T22:53:59Z zacts joined #scheme 2015-03-15T22:59:38Z twem2 quit (Ping timeout: 264 seconds) 2015-03-15T22:59:45Z twem2 joined #scheme 2015-03-15T22:59:49Z contrapunctus quit (Ping timeout: 245 seconds) 2015-03-15T23:01:16Z contrapunctus joined #scheme 2015-03-15T23:06:49Z contrapunctus: taylanub: Hey :) Looks like I'll have to do a lot of mind-bendy study before I can even understand what you mean as well as understand why/where these techniques are useful o_o 2015-03-15T23:09:54Z taylanub: contrapunctus: heh, I can do a bit of explanation. macros are often used because they can take raw, un-executed code-snippets, and put them in certain contexts, or execute them conditionally, etc., and the exact same thing could be done by a function that takes functions as arguments. for example, I used to have a `time' macro to time the execution of a piece of code: (time (sleep 10)) => 10. I 2015-03-15T23:09:54Z taylanub: later made this to a function: (time (lambda () (sleep 10))) => 10. same effect, and arguably cleaner, because now I can also pass around this `time' function as a piece of data etc., which can't be done with macros 2015-03-15T23:11:46Z jeapostrophe joined #scheme 2015-03-15T23:11:46Z jeapostrophe quit (Changing host) 2015-03-15T23:11:46Z jeapostrophe joined #scheme 2015-03-15T23:11:58Z beginner quit (Ping timeout: 255 seconds) 2015-03-15T23:12:01Z taylanub: continuations vs. delimited continuations is trickier so I'll leave that to you :) 2015-03-15T23:12:04Z taylanub goes AFK 2015-03-15T23:12:47Z beginner joined #scheme 2015-03-15T23:12:48Z beginner quit (Changing host) 2015-03-15T23:12:48Z beginner joined #scheme 2015-03-15T23:13:44Z jlongste` joined #scheme 2015-03-15T23:16:06Z xyh quit (Remote host closed the connection) 2015-03-15T23:16:26Z davexunit quit (Quit: Later) 2015-03-15T23:27:06Z beginner quit (Ping timeout: 252 seconds) 2015-03-15T23:28:06Z beginner joined #scheme 2015-03-15T23:28:06Z beginner quit (Changing host) 2015-03-15T23:28:06Z beginner joined #scheme 2015-03-15T23:29:44Z jewel quit (Ping timeout: 246 seconds) 2015-03-15T23:30:42Z contrapunctus: hm, okay, thanks, taylanub ...I'll try to find out about them... 2015-03-15T23:32:21Z jeapostrophe quit (Ping timeout: 256 seconds) 2015-03-15T23:38:56Z contrapunctus quit (Remote host closed the connection) 2015-03-15T23:46:43Z jeapostrophe joined #scheme 2015-03-15T23:46:43Z jeapostrophe quit (Changing host) 2015-03-15T23:46:43Z jeapostrophe joined #scheme 2015-03-15T23:55:11Z kongtomorrow quit