[Haskell-cafe] about import alias

Manlio Perillo manlio_perillo at libero.it
Sat Apr 4 11:33:55 EDT 2009


Hi.

Haskell 98 allows import alias:
     import qualified VeryLongModuleName as C

however it does not allow aliasing for imported names
     import NormalModule (veryLongFunctionName as C)


what is the rational?
IMHO this can be very useful in some cases.



Thanks  Manlio


More information about the Haskell-Cafe mailing list