box-tuples: A hack to use GHC.Prim primitives in GHCi
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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.
Properties
Versions | 0.1.0.0, 0.1.1.0, 0.2.0.0, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.2.0.4 |
---|---|
Change log | None available |
Dependencies | base (>=4 && <5), ghc-prim [details] |
License | MIT |
Author | mniip |
Maintainer | mniip@mniip.com |
Category | GHC, Debug |
Uploaded | by mniip at 2020-04-24T21:01:39Z |
Modules
- Data
- Tuple
- Data.Tuple.Unboxed
- Data.Tuple.Unboxed.Rep
- Data.Tuple.Unboxed
- Tuple
Downloads
- box-tuples-0.2.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees