~ubuntu-branches/debian/sid/haskell-only/sid

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
name:                Only
version:             0.1
synopsis:            The 1-tuple type or single-value "collection"
license:             BSD3
license-file:        LICENSE
author:              Herbert Valerio Riedel
maintainer:          hvr@gnu.org
bug-reports:         https://github.com/hvr/Only/issues
category:            Data
build-type:          Simple
cabal-version:       >=1.10
description:         This package provides the canonical anonymous 1-tuple type missing from Haskell for attaching typeclass instances.

Source-Repository head
  Type:              git
  Location:          https://github.com/hvr/Only.git

library
  hs-source-dirs:    src
  exposed-modules:   Data.Tuple.Only

  default-language:  Haskell2010
  other-extensions:  DeriveGeneric
                   , DeriveDataTypeable
                   , DeriveFunctor
                   , Safe

  build-depends:     base    >= 4.5 && <5
                   , deepseq >= 1.1 && <1.5

  if impl(ghc == 7.4.*)
     build-depends: ghc-prim