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 (>1 && <1), ghc-prim [details]
License MIT
Author mniip
Revised Revision 1 made by mniip at 2020-04-24T21:22:58Z
Category GHC, Debug
Uploaded by mniip at 2020-04-24T21:02:47Z
Distributions NixOS:
Downloads 2368 total (46 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2020-04-25 [all 2 reports]


  • Data
    • Tuple
      • Data.Tuple.Unboxed
        • Data.Tuple.Unboxed.Rep


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

For package maintainers and hackage trustees