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.


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,,,,, (info)
Dependencies base (>=4 && <5), ghc-prim [details]
License MIT
Author mniip
Category GHC, Debug
Uploaded by mniip at 2021-02-06T03:44:19Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 3184 total (29 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-02-06 [all 1 reports]