Re: alternate naming for environment
Marc Nieper-WiÃkirchen 19 Mar 2019 15:14 UTC
As I discussed with John in another thread on this mailing list, the
procedure and macro names of this SRFIs are going to be prefixed in
the next draft. Initially, I thought "env-" would be a good prefix.
After having thought about it, I came to the conclusion that that
prefix is a bit inexpressive, so I propose "computation-" instead. For
example, "bind" would become "computation-bind" and "make-environment"
would become "make-computation-environment". I think that will solve
the problem you have raised, won't it?
Likewise, the "fn" macro would become "computation-fn". SRFI 166 can
then re-export it with the short name "fn" so that it remains
compatible with SRFI 159.
-- Marc
Am Di., 19. März 2019 um 15:45 Uhr schrieb Alex Shinn <xxxxxx@gmail.com>:
>
> "Environment" is often used in Scheme to refer to first class
> Scheme environments. For example, `make-environment'
> conflicts with procedures of the same name in at least Chibi,
> Chicken, MIT-Scheme, etc.
>
> Perhaps "state" is a better name?
>
> --
> Alex
>
> To unsubscribe from this list please go to http://www.simplelists.com/confirm.php?u=3VhXc4kDfGTrUMjc9fI9y8FPFB8FjB0W