[Haskell-cafe] How to import hidden modules

Ricardo Peña ricardo at sip.ucm.es
Thu Aug 31 17:28:10 UTC 2017


Thanks Greg, It works perfectly. I have used the hidden constructors 
both for building values and for doing pattern matching.

Best
-Ricardo

El 31/08/17 a las 18:17, Greg Horn escribió:
> It might be possible with the 
> http://hackage.haskell.org/package/true-name package. I've never used 
> it but I remember the hilarious announcement 
> https://mail.haskell.org/pipermail/haskell-cafe/2016-January/122707.html
>
> Best,
> Greg
>
> On Thu, Aug 31, 2017 at 8:07 AM Ricardo Peña <ricardo at sip.ucm.es 
> <mailto:ricardo at sip.ucm.es>> wrote:
>
>     Hi,
>
>     I need to define a class instance for the algebraic datatype
>     Data.Map.Map in the Hierarchical GCH libraries, but I do not find the
>     way to import Data.Map.Internal which it is assumed to be hidden. Is
>     there any way to access to this definition?
>
>     Thanks
>     -Ricardo
>
>     _______________________________________________
>     Haskell-Cafe mailing list
>     To (un)subscribe, modify options or view archives go to:
>     http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>     Only members subscribed via the mailman list are allowed to post.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170831/9d8fbfc8/attachment.html>


More information about the Haskell-Cafe mailing list