[Haskell-cafe] some ideas for Haskell', from Python

Manlio Perillo manlio_perillo at libero.it
Fri Jan 16 07:05:01 EST 2009

Artyom Shalkhakov ha scritto:
> [...]
>> Prelude> :l foo.hs
>> [1 of 1] Compiling Main             ( foo.hs, interpreted )
>> Ok, modules loaded: Main.
>> *Main> isDirectory "/var"
>> <interactive>:1:0:
>>    Ambiguous occurrence `isDirectory'
>>    It could refer to either `Main.isDirectory', defined at foo.hs:6:0
>>                          or `PF.isDirectory', imported from
>> System.Posix.Files at foo.hs:2:0-30
> That's exactly the problem of "function call hi-jacking". [1] In Haskell
> it's solved using qualified imports.

What a surprise to see there are others that know both Haskell and D ;-).

I find D a very interesting language.
I also have support for pure functions.

Regards  Manlio Perillo

More information about the Haskell-Cafe mailing list