File: dec.cabal

package info (click to toggle)
haskell-dec 0.0.3-4
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 80 kB
  • sloc: haskell: 52; makefile: 5
file content (42 lines) | stat: -rw-r--r-- 1,109 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
cabal-version:      >=1.10
name:               dec
version:            0.0.3
synopsis:           Decidable propositions.
category:           Data, Dependent Types
description:
  This package provides a @Dec@ type.
  .
  @
  type Not a = a -> Void
  .
  data Dec a
  \    = Yes a
  \    | No (Not a)
  @

homepage:           https://github.com/phadej/vec
bug-reports:        https://github.com/phadej/vec/issues
license:            BSD3
license-file:       LICENSE
author:             Oleg Grenrus <oleg.grenrus@iki.fi>
maintainer:         Oleg.Grenrus <oleg.grenrus@iki.fi>
copyright:          (c) 2019 Oleg Grenrus
build-type:         Simple
extra-source-files: ChangeLog.md
tested-with:
  GHC ==8.8.1 || ==8.6.5 || ==8.4.4 || ==8.2.2 || ==8.0.2 || ==7.10.3 || ==7.8.4

source-repository head
  type:     git
  location: https://github.com/phadej/vec.git

library
  exposed-modules:  Data.Type.Dec
  build-depends:    base >=4.7 && <4.15

  if !impl(ghc >=7.10)
    build-depends: void >=0.7.2 && <0.8

  ghc-options:      -Wall -fprint-explicit-kinds
  hs-source-dirs:   src
  default-language: Haskell2010