Ticket #1128 (closed proposed-project: duplicate)

Opened 6 years ago

Last modified 5 years ago

Cabal + nhc98 + yhc

Reported by: malcolm.wallace@… Owned by: none
Priority: OK Keywords:
Cc: Topic: Cabal
Difficulty: 2 people, 2 weeks Mentor: not-accepted

Description

The Cabal framework for installing library packages is very useful. But it only works for ghc and Hugs. Lots of the internal code has stubs for nhc98, but no-one has ever filled them in. Yhc is not even mentioned in the code. The idea of the project would be to do everything necessary for Cabal to support these two (quite similar) compilers.

Change History

Changed 5 years ago by duncan

  • priority set to OK
  • difficulty changed from 1 person Summer to 2 people, 2 weeks

As stated the project seems rather small but it could easily be extended. How about in addition to making Cabal build and install things using nhc (which already nearly works), change the nhc98 build system to use Cabal.

Or for yhc, we need more Cabal infrastructure, we need to make Cabal do it's own dependency analysis. While ghc has the --make mode and nhc98 has hmake, there is no equivalent for yhc. We will eventually want the dependency system in Cabal anyway, so perhaps this would be a good way to prototype it, to do it for yhc.

So with a bit more detail and substance I think we could make this a good proposal.

Changed 5 years ago by duncan

I think this is now covered by #1552, at least in the way I suggested tackling the dependency problem by prototyping it for yhc.

And if it works out for yhc then it should be easy to extend to nhc98, either within the project time frame or after.

So do you think we can close this ticket?

Changed 5 years ago by duncan

  • status changed from new to closed
  • resolution set to duplicate

Closing, covered by #1552

Note: See TracTickets for help on using tickets.