From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Cc: ttn@glug.org, a.rottmann@gmx.at, guile-devel@gnu.org
Subject: Re: primitive-load returning result of last evaluation?
Date: Mon, 22 Apr 2002 23:48:13 +0200 (MEST) [thread overview]
Message-ID: <Pine.LNX.4.21.0204222336050.23561-100000@marvin.ida.ing.tu-bs.de> (raw)
In-Reply-To: <87hem3h12l.fsf@raven.i.defaultvalue.org>
On Mon, 22 Apr 2002, Rob Browning wrote:
> Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:
>
> > I can't think of any problems, except that the standard 'load itself
> > does not provide a return value. And, implementing a load* that
> > returns a value is quite simple. However, in order to spare people
> > some work (I once also needed such a load function), we should
> > provide it, but, I'd rather go for a standard implementation and
> > provide such extensions as optional packages.
>
> So you'd like to see a separate function providing this feature
> i.e. load-with-result and primitive-load-with-result (or whatever)?
Yes, in a loadable module. We could also make it the default and provide
the pure standard versions as an extension. Both is possible. Which way
we go depends on how people prefer to use guile: 1) Code in RnRS scheme
most of the time, being aware of using extensions, or 2) Code in
guile-extended scheme most of the time, only from time to time caring
about portability.
Personally, I prefer to have my code as portable as possible, but others
may think differently. It's not worth to fight about it, but we should
think about which way we would like to go. If we go for guile-extended
scheme, we should, however, have an easy way to start guile in an
as-strict-as-possible RnRS mode.
IMO, the best solution would be a minimum RnRS guile, including only
functionality for loading modules. Even optional RnRS features should be
loaded on demand. This way, so I hope, we could make guile's default size
very small, much smaller than today.
Best regards
Dirk Herrmann
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
next prev parent reply other threads:[~2002-04-22 21:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-09 10:36 primitive-load returning result of last evaluation? Andreas Rottmann
2002-04-22 7:54 ` Thien-Thi Nguyen
2002-04-22 13:05 ` Rob Browning
2002-04-22 21:27 ` Dirk Herrmann
2002-04-22 21:32 ` Rob Browning
2002-04-22 21:48 ` Dirk Herrmann [this message]
2002-04-22 23:09 ` Rob Browning
2002-04-28 15:19 ` Marius Vollmer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.21.0204222336050.23561-100000@marvin.ida.ing.tu-bs.de \
--to=dirk@ida.ing.tu-bs.de \
--cc=a.rottmann@gmx.at \
--cc=guile-devel@gnu.org \
--cc=ttn@glug.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).