
4 Apr
2009
4 Apr
'09
11:43 a.m.
Am Samstag 04 April 2009 17:33:55 schrieb Manlio Perillo:
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.
You can always do {-# INLINE short #-} short = C.veryLongFunctionNameThatIReallyDoNotWantToTypeOutEveryTimeIUseIt so it's not necessary.
Thanks Manlio