You can say
import Data.Fin as F
Then F.name will refer to
Data.Foo.name instead.
/David
On 14/09/15 16:39, Cliff L. Biffle wrote:
> When working with modules with similar shapes but different purposes, I
> find myself reaching for this Haskell idiom:
>
> import qualified Data.Map as M
>
>
> Data.Map is a good example: its names deliberately collide with the
> operations on lists, for familiarity, and are /designed/ to be used
> qualified.
>
> Similarly, in Agda, I see people doing this:
>
> private module M = The.Real.Module
>
>
> What's the closest equivalent in Idris? (I realize that overloading
> makes this a little less critical in Idris, but I do occasionally need
> to qualify names.)
>
> Apologies if I missed this in the FAQ.
>
> -Cliff L. Biffle
>
> --
> You received this message because you are subscribed to the Google
> Groups "Idris Programming Language" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
idris-lang+...@googlegroups.com
> <mailto:
idris-lang+...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/optout.