MicroHs icon indicating copy to clipboard operation
MicroHs copied to clipboard

Basic Haskell98 packages to play with

Open thielema opened this issue 1 year ago • 8 comments

If you like to have very basic packages using no or almost no extensions, I have several of them: https://hackage.haskell.org/user/HenningThielemann

See for instance: https://hackage.haskell.org/package/utility-ht https://hackage.haskell.org/package/non-empty https://hackage.haskell.org/package/data-accessor https://hackage.haskell.org/package/explicit-exception https://hackage.haskell.org/package/enumset https://hackage.haskell.org/package/gnuplot https://hackage.haskell.org/package/unicode https://hackage.haskell.org/package/latex https://hackage.haskell.org/package/bibtex and more.

However, some depend on other basic packages that might use some LANGUAGE extensions.

thielema avatar Oct 27 '24 07:10 thielema

Cool! I'll have a look at those.

augustss avatar Oct 28 '24 09:10 augustss

I have tried to compile some of my packages. Many of them need containers, transformers and QuickCheck.

I have also several FFI packages, but they often depend on hsc2hs.

thielema avatar Nov 10 '24 10:11 thielema

The containers package compiles, but I'm not sure the fixes have been uploaded to hackage yet. The transformers package should compile (I think the fixes have been uploaded). I've not tried QuickCheck yet. I've got a version of hsc2hs that works, but I don't think I've upstreamed the patches yet.

You need to use mcabal to compile these packages.

augustss avatar Nov 10 '24 12:11 augustss

On Sun, 10 Nov 2024, Lennart Augustsson wrote:

You need to use mcabal to compile these packages.

Where can I find 'mcabal'?

thielema avatar Nov 10 '24 16:11 thielema

I have a repo. It's also on package. I had to write my own version of cabal, because the real one uses too many Haskell extensions.

augustss avatar Nov 10 '24 16:11 augustss

On Sun, 10 Nov 2024, Lennart Augustsson wrote:

I have a repo. It's also on package.

I see. It is called https://hackage.haskell.org/package/MicroCabal, not mcabal.

thielema avatar Nov 10 '24 16:11 thielema

Yes, sorry. :). The binary is called mcabal.

augustss avatar Nov 10 '24 17:11 augustss

BTW, I misspoke, the port of hsc2hs is not finished. It uses process which is not fully implemented.

augustss avatar Nov 10 '24 17:11 augustss