I'm a true beginner, so maybe what I say is false or useless, but from the few I know, I think the statement "import" is asking for the name of a module, not just the name of a file. So, is your file starting with the module declaration statement "module Powser (...) where" ?

Le mardi 19 avril 2016, Doug McIlroy <doug@cs.dartmouth.edu> a écrit :
> I have module Powser stored in haskell/Powser.hs.
> There is no file ./Powser*.
>
> This loads the module
>         shellprompt> ghci -ihaskell
>         Prelude> :load Powser
> But this can't find it
>         shellprompt> ghci -ihaskell
>         Prelude> import Powser
>
> What might cause the difference?
> (I am running ghci 7.8.4.)
>
> Doug
> _______________________________________________
> Beginners mailing list
> Beginners@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>