Aliasing current module qualifier

Brandon Allbery allbery.b at
Mon Sep 29 15:47:13 UTC 2014

On Mon, Sep 29, 2014 at 4:19 AM, Herbert Valerio Riedel <hvr at> wrote:

> Now it'd be great if I could do the following instead:
>     module AnnoyinglyLongModuleName (M.length, M.null) where
>     import AnnoyinglyLongModuleName as M -- <- does not work

I think if I wanted this syntax, I'd go for:

    module AnnoyinglyLongModuleName as M where ...

brandon s allbery kf8nh                               sine nomine associates
allbery.b at                                  ballbery at
unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Glasgow-haskell-users mailing list