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.

Versions [RSS] [faq],,,,,, (info)
Dependencies base (==4.*), ghc-prim [details]
License MIT
Author mniip
Category GHC, Debug
Uploaded by mniip at 2020-04-25T15:33:21Z
Distributions NixOS:
Downloads 2349 total (52 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-04-25 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees