On Mon, Sep 29, 2014 at 5:02 PM, John Meacham <j...@repetae.net> wrote:

> You don't need a new language construct, what i do is:
>
>      module AnnoyinglyLongModuleName (M.length, M.null) where
>
>     import AnnoyinglongLongModuleName as M
>

Isn't that exactly what the OP said doesn't work?


> On Mon, Sep 29, 2014 at 8:47 AM, Brandon Allbery <allber...@gmail.com>
> wrote:
>
>> On Mon, Sep 29, 2014 at 4:19 AM, Herbert Valerio Riedel <h...@gnu.org>
>> 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
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to