[gambit-list] Macro to use “λ” character as “lambda” in R5RS Scheme?

Colin Gilbert colingilbert86 at gmail.com
Sun Oct 26 17:44:23 EDT 2014


There is an emacs lisp file floating around, pretty-lambda.el, which does
precisely that. However, it only works within emacs...
On Oct 26, 2014 12:20 PM, "Roy Pfund" <roypfund at gmail.com> wrote:

> From http://stackoverflow.com/a/26570837/144020 I tried the following:
>
> (define-syntax λ (syntax-rules () ((_ param body ...) (lambda param body
> ...))))
>
> It works! but ONLY IF you call the script from the gsi not with
>
> #!/usr/bin/env scheme-r5rs
>
> Does anyone know I can set the command line OPTION s|S "set standard
> Scheme mode" from within a scheme file??
>
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20141026/9180d6d1/attachment.htm>


More information about the Gambit-list mailing list