BSD-3-Clause licensed by Oleg Grenrus
Maintained by Oleg.Grenrus
This version can be pinned in stack with:dec-0.0.5@sha256:1044421ac555d062a843865b06941b8c744261e122930f680524c0bd2095b6ed,1482

Module documentation for 0.0.5

Depends on 2 packages(full list with versions):
Used by 3 packages in nightly-2024-04-22(full list with versions):

This package provides a Dec type.

type Neg a = a -> Void

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


Revision history for dec


  • Add boringYes and absurdNo.
  • Add Decidable a => Boring (Dec a) instance.
  • Add Decidable (), Decidable Void, Decidable (a, b) instances.


  • Mark module as explicitly Safe.


  • First version. Released on an unsuspecting world.