This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: message primitive


Mikael Djurfeldt wrote:
> 
> "Greg J. Badros" <gjb@cs.washington.edu> writes:
> 
> > Again, this is just a question of exposing a C procedure that already
> > exists as a primitive since it is generally useful but not currently
> > accessible.  It's a nicely-encapsulated idea, that just doesn't make
> > sense to not have available when it already exists.
> 
> I was thinking about what kind of language we provide to the Guile
> users...

I agree with Mikael. My main problem with it is that having too many
similar procedures provided at the Scheme level can be confusing to the
user.

This is a matter of API rationality rather than coad bloat.

Personally, I think it would be OK to provide `simple-format' if the
real
format is really too heavyweight, but I think at minimum it should be
changed to use ~s/~S instead of %s/%S for consistency with standard
format.

I don't think "the functionality already exists" is a good reason to
make
something part of the language.

 - Maciej

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]