generic-lexicographic-order: Derive Bounded and Enum for sum types and Enum for product types

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

Derive generic instances of Bounded and/or Enum for sums, and Enum instances for products, based on the instances of their components. These instances are designed to cohere with the stock-derived Ord instance.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1
Dependencies base (>=4.16 && <5) [details]
Tested with ghc ==9.2.8 || ==9.4.8 || ==9.6.7 || ==9.8.4 || ==9.10.2 || ==9.12.2
License BSD-3-Clause
Copyright Copyright (c) Daniel Brice 2022
Author Daniel Brice
Maintainer danielbrice@gmail.com
Category Data
Home page https://github.com/friedbrice/generic-lexicographic-order
Bug tracker https://github.com/friedbrice/generic-lexicographic-order/issues
Source repo head: git clone https://github.com/friedbrice/generic-lexicographic-order
Uploaded by danielbrice at 2025-06-19T03:58:36Z
Distributions NixOS:0.1.0.0
Downloads 118 total (5 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-06-19 [all 1 reports]