dec: Decidable propositions.

[ bsd3, data, dependent-types, library ] [ Propose Tags ] [ Report a vulnerability ]

This package provides a Dec type.

type Neg a = a -> Void

data Dec a
    = Yes a
    | No (Neg a)

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0.3, 0.0.4, 0.0.5, 0.0.6
Change log ChangeLog.md
Dependencies base (>=4.12.0.0 && <4.21), boring (>=0.2.2 && <0.3) [details]
Tested with ghc ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1
License BSD-3-Clause
Copyright (c) 2019-2021 Oleg Grenrus
Author Oleg Grenrus <oleg.grenrus@iki.fi>
Maintainer Oleg.Grenrus <oleg.grenrus@iki.fi>
Category Data, Dependent Types
Home page https://github.com/phadej/dec
Bug tracker https://github.com/phadej/dec/issues
Source repo head: git clone https://github.com/phadej/dec.git
Uploaded by phadej at 2024-05-17T15:33:11Z
Distributions Arch:0.0.5, Debian:0.0.3, Fedora:0.0.5, LTSHaskell:0.0.6, NixOS:0.0.6, Stackage:0.0.6, openSUSE:0.0.6
Reverse Dependencies 4 direct, 7896 indirect [details]
Downloads 20800 total (341 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-05-17 [all 1 reports]