data-debruijn: Fast and safe implementation of common compiler machinery.

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

This package provides a safe interface to optimised implementations of common machinery used in compilers and type checkers.

Type-Level Naturals
Data.Type.Nat

Data.Type.Nat.Singleton

DeBruijn Indexes
Data.DeBruijn.Index
Thinnings
Data.DeBruijn.Thinning
Environments
Data.DeBruijn.Environment

Flags

Manual Flags

NameDescriptionDefault
safe

Export the safe API.

Disabled
th-as-word64

Use a Word to represent thinnings. The default is Natural.

Disabled
env-as-skew-list

Use SkewList from the skew-list package to represent environments. The default is Seq from the containers package.

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

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

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies base (>=4.18 && <5), containers (>=0.6.7 && <0.9), data-debruijn, deepseq (>=1.4 && <1.6), ghc-bignum (>=1.3 && <1.4), ghc-prim (>=0.9 && <0.14), QuickCheck (>=2.9 && <3.0) [details]
Tested with ghc ==9.6.7 || ==9.8.4 || ==9.10.2 || ==9.12.2
License AGPL-3.0-only
Copyright 2023-2025 (c) Wen Kokke 2025 (c) April Gonçalves 2025 (c) Well-Typed LLC
Author Wen Kokke
Maintainer [email protected]
Revised Revision 1 made by wenkokke at 2025-06-09T18:18:27Z
Category Development
Source repo head: git clone https://github.com/wenkokke/data-debruijn
this: git clone https://github.com/wenkokke/data-debruijn(tag v0.1.0.0)
Uploaded by wenkokke at 2025-06-08T11:55:23Z
Distributions
Downloads 4 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2025-06-08 [all 1 reports]