Path to this page:
Subject: CVS commit: pkgsrc/devel/hs-th-abstraction
From: Thomas Klausner
Date: 2024-05-03 01:23:12
Message id: 20240502232312.8C822FA2C@cvs.NetBSD.org
Log Message:
hs-th-abstraction: update to 0.7.0.0.
## 0.7.0.0 -- 2024.03.17
* `DatatypeInfo` now has an additional `datatypeReturnKind` field. Most of the
time, this will be `StarT`, but this can also be more exotic kinds such as
`ConT ''UnliftedType` if dealing with primitive types, `UnliftedDatatypes`,
or `UnliftedNewtypes`.
* `reifyDatatype` and related functions now support primitive types such as
`Int#`. These will be reified as `DatatypeInfo`s with no `ConstructorInfo`s
and with `Datatype` as the `datatypeVariant`.
* `normalizeCon` now takes a `Kind` argument representing the return kind of
the parent data type. (This is sometimes necessary to determine which type
variables in the data constructor are universal or existential, depending
on if the variables appear in the return kind.)
* Fix a couple of bugs in which `normalizeDec` would return incorrect results
for GADTs that use `forall`s in their return kind.
Files: