coerce-with-substitution: Coercions with improved type inference

[ bsd3, development, library ] [ Propose Tags ] [ Report a vulnerability ]

This package defines aliases of Data.Coerce.coerce and Unsafe.Coerce.unsafeCoerce that accept a type argument containing type substitutions, creating a relationship between the argument and result types of the coercion that GHC can use when inferring one type from the other.

See Data.CoerceSubst for a full introduction to this package.

Requires GHC 9.6 or later, due to use of the <code>TypeData</code> extension.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.0.0
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5) [details]
Tested with ghc ==9.12.2 || ==9.10.2 || ==9.8.4 || ==9.6.7 || ==9.6.1
License BSD-3-Clause
Copyright © 2025 Ryan Hendrickson
Author Ryan Hendrickson
Maintainer contact-project+rhendric-haskell-coerce-with-substitution-71023049-issue-@incoming.gitlab.com
Category Development
Home page https://gitlab.com/rhendric/haskell-coerce-with-substitution
Bug tracker https://gitlab.com/rhendric/haskell-coerce-with-substitution/-/issues
Source repo head: git clone https://gitlab.com/rhendric/haskell-coerce-with-substitution.git
Uploaded by rhendric at 2025-07-21T17:51:08Z
Distributions Stackage:0.0.0.0
Downloads 5 total (5 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
Last success reported on 2025-07-21 [all 1 reports]