witness: values that witness types

[ bsd2, data, library ] [ Propose Tags ]

A witness is a value that witnesses some sort of constraint on some list of type variables. This library provides support for a wide variety of witness types. It also provides classes for representatives, which are values that represent types.

Modules

  • Data
    • Data.PeanoNat
    • Type
      • Data.Type.Witness
        • Data.Type.Witness.Apply
        • General
          • Data.Type.Witness.General.AllConstraint
          • Data.Type.Witness.General.Finite
          • Data.Type.Witness.General.HetConstraint
          • Data.Type.Witness.General.ListElement
          • Data.Type.Witness.General.Order
          • Data.Type.Witness.General.Representative
          • Data.Type.Witness.General.TestHetEquality
          • Data.Type.Witness.General.WitnessConstraint
          • Data.Type.Witness.General.WitnessValue
        • Specific
          • Data.Type.Witness.Specific.All
          • Data.Type.Witness.Specific.ApplyStack
          • Data.Type.Witness.Specific.Concat
          • Data.Type.Witness.Specific.Either
          • Data.Type.Witness.Specific.Empty
          • Data.Type.Witness.Specific.FiniteAllFor
          • List
            • Data.Type.Witness.Specific.List.Element
            • Data.Type.Witness.Specific.List.List
            • Data.Type.Witness.Specific.List.Product
            • Data.Type.Witness.Specific.List.Sum
          • Data.Type.Witness.Specific.Natural
          • Data.Type.Witness.Specific.Pair
          • Data.Type.Witness.Specific.PeanoNat
          • Data.Type.Witness.Specific.Single
          • Data.Type.Witness.Specific.Some
          • Data.Type.Witness.Specific.Symbol
          • WitnessMap
            • Data.Type.Witness.Specific.WitnessMap.For
            • Data.Type.Witness.Specific.WitnessMap.Of

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.2, 0.3, 0.3.0.1, 0.4, 0.5, 0.6
Change log changelog.md
Dependencies base (>=4.15 && <5), constraints (>=0.13), countable (>=1.2) [details]
License BSD-2-Clause
Copyright (c) 2017-2022 Ashley Yakeley
Author Ashley Yakeley
Maintainer <ashley@semantic.org>
Category Data
Home page https://github.com/AshleyYakeley/witness
Bug tracker https://github.com/AshleyYakeley/witness/issues
Uploaded by AshleyYakeley at 2022-05-08T21:00:35Z
Distributions LTSHaskell:0.5, NixOS:0.5, Stackage:0.6
Downloads 4587 total (26 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2022-05-08 [all 2 reports]