i have a file called model.hs with it’s content as
module Model (Foo) where data Foo = Yellow | Red | Blue deriving Show
I have another file called sim.hs where I am trying to import Foo. The content of this file is
module Sim where import Model.Foo
But this throws an error Could not find module Model.Foo. What am I doing wrong here?