<div dir="ltr">Aha cool.<div><br></div><div>Ok this would change a userland application from "acute hack" to just "hack" -</div><div><br></div><div>I can still feel that why it needs to work this way is a bit unclear, would you mind explaining the significance in <a href="https://github.com/feeley/gambit/pull/180/files">https://github.com/feeley/gambit/pull/180/files</a> of rows </div><div><ul><li>11286-11287,</li><li>11295,</li><li>11297-11300, and</li><li>11302<br></li></ul></div><div>respectively?</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-25 4:04 GMT+07:00 Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca" target="_blank">feeley@iro.umontreal.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Those are already exported by _io#.scm and are therefore accessible after including ~~lib/_gambit.scm .<br>
<span class="HOEnZb"><font color="#888888"><br>
Marc<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> On Feb 24, 2016, at 3:44 PM, Adam <<a href="mailto:adam.mlmb@gmail.com">adam.mlmb@gmail.com</a>> wrote:<br>
><br>
> What about macro-readenv-filepos-set!, macro-readenv-wrapper, macro-readenv-unwrapper, macro-readenv-wrapper-set!, macro-readenv-unwrapper-set!, macro-readenv-wrap?<br>
><br>
><br>
> 2016-02-25 3:37 GMT+07:00 Marc Feeley <<a href="mailto:feeley@iro.umontreal.ca">feeley@iro.umontreal.ca</a>>:<br>
> As a solution for the short term, I have moved the macro-read-next-char-or-eof and macro-peek-next-char-or-eof macros to _io#.scm so that they can be used after an (include "~~lib/_gambit#.scm").<br>
><br>
> So you should be able to easily implement the extension you want locally.<br>
><br>
> Marc<br>
><br>
><br>
> > On Feb 24, 2016, at 1:04 PM, Adam <<a href="mailto:adam.mlmb@gmail.com">adam.mlmb@gmail.com</a>> wrote:<br>
> ><br>
> > Guillaume is making an excellent point here. (Reposted below with his permission.)<br>
> ><br>
> > (To paraphrase him,) I suggest that <a href="https://github.com/feeley/gambit/pull/180" rel="noreferrer" target="_blank">https://github.com/feeley/gambit/pull/180</a> should be included because it's reasonable that users should be able to implement their own hash-sequence extensions.<br>
> ><br>
> > We don't need to make a bigger philosophical deal about it than that. This is low-level.<br>
> ><br>
> > Also I think all reasonable uses will be about data and not code, and therefore they will not need any line numbering or similar info, so the unwrapping is fine - or easy access to an unwrapping routine (you choose). So finally perhaps the only thing would be to give it a better name, if you want that.<br>
> ><br>
> > Please let me know if-when it can be included in Gambit :D<br>
> ><br>
> > Thanks!!<br>
> ><br>
> ><br>
> > 2016-02-24 21:04 GMT+07:00 Guillaume Cartier <<a href="mailto:gucartier@gmail.com">gucartier@gmail.com</a>>:<br>
> > Hi Adam,<br>
> ><br>
> > I think the main thing I'd say is that from my experience, waiting for Marc to integrate something into Gambit so as "not to use undocumented features", you will wait a long time :) I'd say don't worry too much about using undocumented stuff. I think it is actually a wonderful feature that Gambit exposes its internal stuff, where in many languages you just don't have any access to internals. JazzScheme uses what I'd say is a "healthy" mix of mostly documented features and various undocumented features.<br>
> ><br>
> > One reason I say you'll be waiting a long time is that a big design goal in Gambit is to *not* go into unclear how best to implement high-level features. In this Marc is really in-tune with the old R5RS philosophy, which is kinda obvious since he was on the committee :) Regarding that, I think Marc should include the low-level part of your code to implement #\ extensions even if he feels the higher level stuff is unclear.<br>
> ><br>
> > Cheers,<br>
> > Guillaume<br>
> ><br>
> > On Mon, Feb 22, 2016 at 4:29 PM, Adam <<a href="mailto:adam.mlmb@gmail.com">adam.mlmb@gmail.com</a>> wrote:<br>
> > Dear Guillaume,<br>
> ><br>
> > I trust you are well -<br>
> ><br>
> > if you have any thoughts about the sexp extension ML topic right now feel free to tell there,<br>
> ><br>
> > Thanks :)<br>
> ><br>
> ><br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div>