<p dir="ltr">There is an emacs lisp file floating around, pretty-lambda.el, which does precisely that. However, it only works within emacs...</p>
<div class="gmail_quote">On Oct 26, 2014 12:20 PM, "Roy Pfund" <<a href="mailto:roypfund@gmail.com">roypfund@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>From <a href="http://stackoverflow.com/a/26570837/144020" target="_blank">http://stackoverflow.com/a/26570837/144020</a> I tried the following:</div><div><br></div><div>(define-syntax λ (syntax-rules () ((_ param body ...) (lambda param body ...))))<br></div><div><br></div><div>It works! but ONLY IF you call the script from the gsi not with </div><div><br></div><div>#!/usr/bin/env scheme-r5rs<br></div><div><br></div><div>Does anyone know I can set the command line OPTION s|S "set standard Scheme mode" from within a scheme file??</div>
</div>
<br>_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
<br></blockquote></div>