Skip to content
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

Export 'Showing' from Hoopl.Show #13

Merged
merged 1 commit into from Aug 8, 2015
Merged

Export 'Showing' from Hoopl.Show #13

merged 1 commit into from Aug 8, 2015

Conversation

thomie
Copy link
Contributor

@thomie thomie commented Aug 8, 2015

GHC Trac user nimnul reports in
https://ghc.haskell.org/trac/ghc/ticket/10540:

Hoopl exports

showGraph :: Showing n -> Graph n e x -> String

But it doesn't export Showing. This doesn't make sense, as it's a
user-supplied function. So to know what I should pass to showGraph I can only
look at the source. :i Showing doesn't work.

Below is a patch to export the innocent type synonym:

GHC Trac user nimnul reports in
https://ghc.haskell.org/trac/ghc/ticket/10540:

  Hoopl exports

    showGraph :: Showing n -> Graph n e x -> String

  But it doesn't export Showing. This doesn't make sense, as it's a
  user-supplied function. So to know what I should pass to showGraph I can only
  look at the source. :i Showing doesn't work.

  Below is a patch to export the innocent type synonym:
bgamari added a commit that referenced this pull request Aug 8, 2015
Export 'Showing' from Hoopl.Show
@bgamari bgamari merged commit 2cdcbf5 into haskell:master Aug 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants