[GHC] #9851: Hoopl library in GHC hides runWithFuel / version number clash

#9851: Hoopl library in GHC hides runWithFuel / version number clash -------------------------------------+------------------------------------- Reporter: AndreasVoellmy | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries/hoopl | Version: 7.8.3 Keywords: | Operating System: Architecture: Unknown/Multiple | Unknown/Multiple Difficulty: Unknown | Type of failure: Other Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- The hoopl library on hackage exposes runWithFuel in Compiler.Hoopl. This function is used in the examples distributed with the library (in the testing directory). The version of hoopl distributed in GHC does not expose runWithFuel. Further, the version number of the GHC packaged hoopl is identical to the version number of the hoopl library on hackage. This is (1) confusing, since the haddock docs on hackage for the version in use on the system by default is not accurate, and (2) annoying, since you cannot get the version on hackage by just running a cabal install. Instead, you have to download the package, update the version number, and then cabal install. The fix seems to involve one or both of the following: (1) Bump the version number of hoopl on hackage. (2) Expose runWithFuel in the version distributed with GHC. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9851 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9851: Hoopl library in GHC hides runWithFuel / version number clash -------------------------------------+------------------------------------- Reporter: | Owner: AndreasVoellmy | Status: new Type: bug | Milestone: Priority: normal | Version: 7.8.3 Component: | Keywords: libraries/hoopl | Architecture: Unknown/Multiple Resolution: | Difficulty: Unknown Operating System: | Blocked By: Unknown/Multiple | Related Tickets: Type of failure: Other | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by simonmar): Hoopl needs a maintainer, but in the absence of one feel free to upload a new version to Hackage. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9851#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9851: Hoopl library in GHC hides runWithFuel / version number clash -------------------------------------+------------------------------------- Reporter: | Owner: AndreasVoellmy | Status: new Type: bug | Milestone: Priority: normal | Version: 7.8.3 Component: | Keywords: libraries/hoopl | Architecture: Unknown/Multiple Resolution: | Difficulty: Unknown Operating System: | Blocked By: Unknown/Multiple | Related Tickets: Type of failure: Other | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by simonpj): I think the issue is that Hoopl comes with a GHC distribution, so it's not enough to upload a new version to Hackage, alone. Andreas, we'd be happy to do whatever works best for you. * Send us a patch and we can apply it to the Hoopl repo. * Tell us if you want something to happen before the 7.10.1 release, and if so what. * Better still, you could become the maintainer. Hoopl needs love. Simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9851#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9851: Hoopl library in GHC hides runWithFuel / version number clash -------------------------------------+------------------------------------- Reporter: | Owner: AndreasVoellmy | Status: new Type: bug | Milestone: Priority: normal | Version: 7.8.3 Component: | Keywords: libraries/hoopl | Architecture: Unknown/Multiple Resolution: | Difficulty: Unknown Operating System: | Blocked By: Unknown/Multiple | Related Tickets: #8315 Type of failure: Other | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by jstolarek): * related: => #8315 Comment: This wiki page is also related: Hoopl/Cleanup -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9851#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9851: Hoopl library in GHC hides runWithFuel / version number clash -------------------------------------+------------------------------------- Reporter: | Owner: AndreasVoellmy | Status: new Type: bug | Milestone: Priority: normal | Version: 7.8.3 Component: | Keywords: libraries/hoopl | Architecture: Unknown/Multiple Resolution: | Difficulty: Unknown Operating System: | Blocked By: Unknown/Multiple | Related Tickets: #8315 Type of failure: Other | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by jstolarek): And a related ghc-devs thread: https://www.haskell.org/pipermail/ghc- devs/2013-July/001820.html -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9851#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9851: Hoopl library in GHC hides runWithFuel / version number clash -------------------------------------+------------------------------------- Reporter: | Owner: AndreasVoellmy | Status: new Type: bug | Milestone: Priority: normal | Version: 7.8.3 Component: | Keywords: libraries/hoopl | Architecture: Unknown/Multiple Resolution: | Difficulty: Unknown Operating System: | Blocked By: Unknown/Multiple | Related Tickets: #8315 Type of failure: Other | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by jstolarek): Here's some discussion about fuel: https://www.haskell.org/pipermail/ghc- devs/2013-August/001951.html -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9851#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9851: Hoopl library in GHC hides runWithFuel / version number clash -------------------------------------+------------------------------------- Reporter: AndreasVoellmy | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries/hoopl | Version: 7.8.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Other | Unknown/Multiple Blocked By: | Test Case: Related Tickets: #8315 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by armelm): I've just added a patch to apply to the Hoopl repository. It simply re- export ''runWithFuel''. '''Nota:''' I'm new to Haskell so I don't know (or understand) why ''runWithFuel'' isn't exported especially as it has already been re- exported once in the past as we can see in ''changelog.md'': {{{ ## 3.8.7.4 - Re-export runWithFuel as per Justin Bailey }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9851#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9851: Hoopl library in GHC hides runWithFuel / version number clash -------------------------------------+------------------------------------- Reporter: AndreasVoellmy | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: libraries/hoopl | Version: 7.8.3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Other | Unknown/Multiple Blocked By: | Test Case: Related Tickets: #8315 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by AndreasVoellmy): * status: new => closed * resolution: => fixed Comment: Resolved by re-exporting and pushing a new version to hackage. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9851#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC