Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does this warning message mean when I upload a module to HackageDB?

When I'm uploading a module to Hackage, I get the following error message:

"Exposed modules use unallocated top-level names"

I am declaring the module as an exposed module in the .cabal file. Is there anything else I should be doing?

like image 905
Ben Hamner Avatar asked Jun 19 '12 22:06

Ben Hamner


1 Answers

It seems hackage enforces that you use one of the common top-level names in the hierarchy for your modules, e.g. Data, Control, System.

So you can't name your banana catapult library Banana.Catapult, but rather System.Banana.Catapult or wherever you think your lib would fit.

like image 92
jberryman Avatar answered Oct 05 '22 22:10

jberryman