defun-core: Defunctionalization helpers: core definitions
The package defun provides defunctionalization helpers, most importantly
type family DeFun.Core.App allowing to write higher-order type families.
The singletons package also has its own type family Apply,
but the machinery is tied to the Sing / singletons.
In particular, the Lam counterpart SLambda is specialized to Sing arguments.
The defun's Lam is however fully general, so you can use your own singletons
or (importantly) singleton-like arguments.
The package provides few defunctionalized functions, and their term-level
variants can be found in defun-bool and defun-sop packages,
which use SBool and NP data types from singletons-bool and sop-core
packages respectively.
Downloads
- defun-core-0.1.0.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
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
Candidates
- No Candidates
| Versions [RSS] | 0.1, 0.1.0.1 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.16.3.0 && <4.17 || >=4.17.2.0 && <4.18 || >=4.18.0.0 && <4.19 || >=4.19.0.0 && <4.20 || >=4.20.0.0 && <4.21 || >=4.21.0.0 && <4.22 || >=4.22.0.0 && <4.23) [details] |
| Tested with | ghc ==9.2.8 || ==9.4.8 || ==9.6.7 || ==9.8.4 || ==9.10.3 || ==9.12.2 || ==9.14.1 |
| License | BSD-3-Clause |
| Author | Oleg Grenrus <oleg.grenrus@iki.fi> |
| Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
| Uploaded | by phadej at 2025-03-31T09:55:48Z |
| Revised | Revision 1 made by phadej at 2026-05-11T14:01:03Z |
| Category | Data |
| Source repo | head: git clone https://github.com/phadej/defun.git(defun-core) |
| Distributions | LTSHaskell:0.1.0.1, Stackage:0.1.0.1 |
| Reverse Dependencies | 11 direct, 5 indirect [details] |
| Downloads | 194 total (7 in the last 30 days) |
| Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2025-03-31 [all 1 reports] |