box-tuples: A hack to use GHC.Prim primitives in GHCi

[ debug, ghc, library, mit ] [ Propose Tags ]

As of now, the GHCi interactive runtime is incapable of working on unboxed tuples. In particular, it is unable to fully apply any function returning an unboxed tuple, create a function that takes a non-nullary unboxed tuple as argument, or pass a non-nullary tuple to some other function. The usual solution is to enable object code generation with -fobject-code. This package serves as a workaround for the cases where -fobject-code is undesiable.

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.1.0, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.2.0.4 (info)
Dependencies base (>=4.12.0.0 && <5), ghc-prim [details]
License MIT
Author mniip
Maintainer mniip@mniip.com
Revised Revision 2 made by mniip at 2020-04-25T15:32:46Z
Category GHC, Debug
Uploaded by mniip at 2020-04-24T21:13:35Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 3070 total (31 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-04-24 [all 1 reports]