unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Kevin Ryde <user42@zip.com.au>
To: guile-devel@gnu.org
Subject: empty default duplicates handler
Date: Wed, 22 Aug 2007 08:07:06 +1000	[thread overview]
Message-ID: <87sl6c4k51.fsf@zip.com.au> (raw)

Is it supposed to work to set the default duplicates handling to an
empty list?  Eg. foo.scm containing

	(define-module (foo)
	  #:duplicates ()
	  #:use-module (srfi srfi-1))
	(pk map)

It seems to work in 1.8, but in the head it's giving

	=> Unbound variable: map

I had this in my program as a global setting

	(default-duplicate-binding-handler '())

Either way if empty isn't allowed it'd be nice to throw an error
immediately, the same as a bogus handler name symbol does.

The effect I wanted was no work at all done for duplicates checking.
Modules can override/extend the core by shadowing, but I'm confident
there's no clashes between my modules and don't want time spent looking
at that.  Or is '(last) the policy I should be asking for to get that
non-checking effect?


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


             reply	other threads:[~2007-08-21 22:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-21 22:07 Kevin Ryde [this message]
2007-08-22  8:24 ` empty default duplicates handler Ludovic Courtès

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=87sl6c4k51.fsf@zip.com.au \
    --to=user42@zip.com.au \
    --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).