unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Dirk Herrmann <dirk@sallust.ida.ing.tu-bs.de>
Cc: Guile Development <guile-devel@gnu.org>
Subject: Re: bug in syncase
Date: Sun, 24 Nov 2002 11:33:56 +0100 (CET)	[thread overview]
Message-ID: <Pine.GSO.4.05.10211241122050.27972-100000@sallust.ida.ing.tu-bs.de> (raw)
In-Reply-To: <m3bs4f5ngl.fsf@laruns.ossau.uklinux.net>

On 24 Nov 2002, Neil Jerram wrote:

> >>>>> "Dirk" == Dirk Herrmann <dirk@sallust.ida.ing.tu-bs.de> writes:
> 
>     Dirk> There is a mechanism in scheme that allows to prevent
>     Dirk> memoization: eval.  If it is correct that emacs does not
>     Dirk> perform memoization, then it might be that the whole concept
>     Dirk> of the @fop memoization is wrong.  Could you check whether
>     Dirk> it is possible to achieve emacs' behaviour by replacing the
>     Dirk> @fop solution by a solution based on eval (or some elisp
>     Dirk> equivalent of this)?  I would postpone working on @fop until
>     Dirk> this is solved - there are still enough other things to do
>     Dirk> for me :-)
> 
> Is this a blocking problem for you?  If it isn't, I'd say that we
> don't particularly have to solve this problem now.  It is only
> relevant in the pathological scenario where a symbol previously
> defined as a function becomes a macro, and vice versa, so it's a low
> priority bug.  (For example, much lower priority than the odd
> behaviour of array?.)

It is not currently blocking _me_ but it will block the integration of my
changes as soon as they are completed.  And, since issues like the one
above lead to questioning very basic assumptions (see your question about
detection of redefinition and rememoization below), it is better to get
answers quickly.

> - I dislike explicit uses of eval, so would prefer not to have to use
>   such an approach.

If there is a solution that works with separate memoization, I don't mind.
Maybe one could change the elisp translation code that it does
re-translation itself, without support for such code in the evaluator?

> - Looking at the analogous example in Scheme, have we agreed
>   (definitively) that Guile should _not_ detect the redefinition and
>   rememoize accordingly?

As far as I have understood things, yes:  All our current discussions go
towards the direction, that if you want that changed bindings will have
effect on already loaded code, you will have to reload that code.  This
IMO also covers the fact of redefinitions of macros etc.

Best regards
Dirk Herrmann



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


  reply	other threads:[~2002-11-24 10:33 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.GSO.4.05.10211161811180.9959-100000@sallust.ida.ing.tu-bs.de>
2002-11-17 12:11 ` bug in syncase Neil Jerram
2002-11-20 17:33   ` Dirk Herrmann
2002-11-21 17:53   ` Dirk Herrmann
2002-11-21 20:22     ` Neil Jerram
2002-11-23 10:53       ` Dirk Herrmann
2002-11-24  9:25         ` Neil Jerram
2002-11-24 10:33           ` Dirk Herrmann [this message]
2002-12-04  1:12           ` Rob Browning
2002-11-23 13:01       ` Marius Vollmer
2002-12-04 18:27       ` Carl R. Witty
2002-12-04 20:54         ` Neil Jerram
2002-12-09 20:28           ` Carl R. Witty
2002-11-14 11:59 Dirk Herrmann
2002-11-15  4:10 ` Clinton Ebadi
2002-11-15  9:29   ` Lynn Winebarger
2002-11-15  9:34 ` Lynn Winebarger
2002-11-15 19:25 ` Neil Jerram
2002-11-16 18:39 ` Marius Vollmer
2002-11-17 10:54   ` Neil Jerram
2002-11-17 20:07     ` 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.GSO.4.05.10211241122050.27972-100000@sallust.ida.ing.tu-bs.de \
    --to=dirk@sallust.ida.ing.tu-bs.de \
    --cc=guile-devel@gnu.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).