guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: duplicate-handlers issue


From: Tristan Colgate
Subject: Re: duplicate-handlers issue
Date: Wed, 6 Jan 2010 14:41:52 +0000

I've subsequently fixed this, set-module-duplicates-handlers! takes a
list of procedures, not the names used by #:duplicates. Perhaps the
naming convention is a little iffy here (handlers/procedures), but I
don't think it's really a public interface anyway.

Cheers

2010/1/5 Tristan Colgate <address@hidden>:
> Hi,
>
>  [This is actually using 1.9, but I think I'm probably doing
> something wrong rather than it being a bug]
>
>  I have a module that uses a lazy binder. Under 1.9 it is working
> fine but I get warnings about symbol duplication (the lazy binder is
> quite aggressive and will match just about anything)under 1.8 I didn't
> get the warnings, but they seem reasonable.
>
>  To try and get rid of the warnings I've tried implementing a custom
> duplicate-handlers method to defer any duplicates from my lazy binder
> to whatever is trying to override them without warnings.
>
>  I am seeing some very odd behaviour. On the initial compile things
> work as expected. If I keep deleting ~/.cache it keeps workings. If I
> don't delete the cache then it doesnt work and complains about trying
> to apply the name of my dupli-removing function. What's even odder is
> that if I disable auto-compilation, delete cache, and run it, it
> doesn't work either.
>
>  I've reduced it down to the attached files.
>
>  run
>  $ guile -L . test.scm
>  then run it again
>
>  any help would be very much appreciated.
>
> --
> Tristan Colgate-McFarlane
> ----
>  "You can get all your daily vitamins from 52 pints of guiness, and a
> glass of milk"
>



-- 
Tristan Colgate-McFarlane
----
  "You can get all your daily vitamins from 52 pints of guiness, and a
glass of milk"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]