snoyberg / mono-traversable

Type classes for mapping, folding, and traversing monomorphic containers
152 stars 61 forks source link

The IO action ‘main’ is not defined in module ‘Main’ (GHC 9.0.1) #192

Closed pjones closed 2 years ago

pjones commented 3 years ago

mono-traversable fails to build with GHC 9.0.1:

test/main.hs:1:1: error:
    The IO action ‘main’ is not defined in module ‘Main’
  |
1 | import Spec (main)
  | ^

Is it okay to rename Spec.hs to Main.hs (also changing its module name) and remove main.hs?

snoyberg commented 3 years ago

No objection, as long as it doesn't break previous GHC releases.

yaitskov commented 2 years ago

why there is no release for last 3 years?

andreasabel commented 2 years ago

@yaitskov There has been a release for Christmas 2019 which is less than 2 years ago!

snoyberg commented 2 years ago

Just forgot to hit upload after merging #193. New release with these changes is on Hackage now.