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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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 ratherSystem.Banana.Catapultor wherever you think your lib would fit.