Well, it’s may be very obvious note, but yesterday I’ve spent a lot of time trying to solve problem with haskell modules.
I’ve got 3 files.
And their module names were
So I was trying to use
Foo.Bar. But I was getting not found error. The solution was to compile them from the parent of
foo folder and to rename files like
module Foo.Bar -> file has to be Foo/Bar.hs