[Agda] importing a module from a module

Andreas Abel andreas.abel at ifi.lmu.de
Mon May 7 12:46:47 CEST 2012


Hi folks,

why does the following not work?

   import Data.List.Any using (module Membership-≡)
   open Membership-≡

Agda says

   No such module Membership-≡
   when scope checking the declaration
   open Membership-≡

I have to write

   open Data.List.Any.Membership-≡

but I do not know why.

Is this a bug?

Cheers,
Andreas

-- 
Andreas Abel  <><      Du bist der geliebte Mensch.

Theoretical Computer Science, University of Munich
Oettingenstr. 67, D-80538 Munich, GERMANY

andreas.abel at ifi.lmu.de
http://www2.tcs.ifi.lmu.de/~abel/


More information about the Agda mailing list