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

[ debug, ghc, library, mit ] [ Propose Tags ]
Dependencies base (==4.*), ghc‑prim [details]
License MIT
Author mniip
Category GHC, Debug
Uploaded by mniip at Mon Aug 22 06:31:28 UTC 2016
Distributions NixOS:
Downloads 257 total (3 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-08-22 [all 1 reports]
Hackage Matrix CI

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

For package maintainers and hackage trustees