***linas_ is now known as linas
<add^_>Hm, I wonder where I can find where syntax-case is defined in guile's sourcecode. <amirouche>add^_: it's an amb dispatch over the different cases <amirouche>I like amb but I don't know how it is pratical to use <add^_>Well, isn't it better than nothing? <add^_>I didn't get to read the "entire" file before I said that <add^_>It's a module with some neat stuff in it, I'm not sure about the name though <amirouche>wikipedia says it's fictional material supposedly a polymorph of water more stable than common ice <weinholt>to find syntax-case you probably want to look in psyntax <add^_>Now I just need to find that, I guess I'll use grep.. <mark_weaver>syntax-case is implemented in module/ice-9/psyntax.scm <mark_weaver>specifically, look for "global-extend 'core 'syntax-case" in that file. on the stable-2.0 branch, it's on line 2330 of psyntax.scm. syntax-case is a primitive of psyntax. <add^_>Ah well, gotta go now. Thanks for replying before I left mark_weaver :-) ***sneek_ is now known as sneek
<amirouche>for instance it cannot jump to definition accross files <amirouche>«the fundamental procedure to react to non-local entry and exits of dynamic contexts is dynamic-wind» <amirouche>thread paused by kernel is another example ? <mark_weaver>more generally, when first-class continuations (or partial continuations) are invoked, that can cause non-local entries and exits. <mark_weaver>exceptions are a special case. in fact, in guile 2, exceptions are implemented in terms of partial continuations. <mark_weaver>with continuations, you can not only exit, but later re-enter a context. <mark_weaver>dynamic-wind allows you to specify handlers that will be run when its dynamic extent is entered or exited.