-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Cabal to recognize swarm as a library. #1965
base: main
Are you sure you want to change the base?
Conversation
Why is docspec failing with such a strange error message? It compiled just fine the first time through. |
@noahyor what does this I am no wiser from the Cabal message. Did you try running Docspec yourself? |
@@ -117,6 +117,9 @@ common ghc2021-extensions | |||
TypeApplications | |||
TypeOperators | |||
|
|||
-- Allow Cabal to recognize swarm as a library. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to add a comment here with a link to the Cabal issue you found that explains why this is a necessary workaround for now.
Just out of curiosity, even if do recognize it a library this way, it wouldn't really work as a library because there no exposed modules, right? |
No, you can import modules from the other libraries like See haskell/cabal#8095 . |
It seems like |
Ah I see. Thanks a lot! I wasn't aware of that bug. |
Allow Cabal to recognize swarm as a library.
Closes #1964.