On Tue, Sep 17, 2013 at 6:18 PM, Nathan Hüsken <nathan.huesken@posteo.de> wrote:
import ModuleName

and have a file ModuleName.lhs (in literal haskell), ghc complains that it cannot find the module.

(1) It's Literate Haskell, cf. Knuth's literate programming.
(2) It is not imported as source; it is looking for a compiled module (specifically the .hi file).

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net