[plt-scheme] Re: Signatures, am I missing something?

From: Paulo J. Matos (pocm at soton.ac.uk)
Date: Sun Apr 15 15:47:26 EDT 2007

On 4/15/07, Paulo J. Matos <pocm at soton.ac.uk> wrote:
> Hello all,
>
> I've used a-signature.ss and a-unit.ss a lot by now but right now I'm
> getting an error I cannot even begin to understand and probably is
> because I'm missing something really stupid but I can't find what:
>
> cnfreader-sig.ss:
> (module cnfreader-sig (lib "a-signature.ss")
>   get-clauses-from-cnf)
>
> database.ss:
> (module database (lib "a-unit.ss")
>
>   (require  "cnfreader-sig.ss")
>
>   (import cnfreader-sig^)
>   (export)
>   (void))
>
> I'm getting:
> define-unit: unknown signature in: cnfreader-sig^
>

If I change the name cnfreader-sig to integer and change the filename
as well, everything is ok. Is this a bug?

> But I can't understand why, I have this pattern of usage in other
> files and they work. :-/
> [version info DrScheme, version 369.8-svn6apr2007 [3m].]
>
> Any ideas?
>
> Cheers,
> --
> Paulo Jorge Matos - pocm at soton.ac.uk
> http://www.personal.soton.ac.uk/pocm
> PhD Student @ ECS
> University of Southampton, UK
>


-- 
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK


Posted on the users mailing list.