summaryrefslogtreecommitdiff
path: root/relation.cabal
blob: 792636aa6ff48ae12fb5ff085c664b9c651c8364 (plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name:               relation
version:            0.2.1
synopsis:           A data structure representing Relations on Sets.
description:
                    A library to model relationships between two objects that are subclasses of
                    Ord.
                    .
                    Instead using a Map structure we use a two Maps that allows 
                    fast searching either by the key element or the value element.
                    .
                    Each of Map is between an element and a set of values. 
                    Thus careful coordination of operations is required.
                    . 
                    This library lacks of extensive testing, formal testing or automated testing.
                    Also in comparison to Data.Set or Data.Map (which provide the underlying
                    infrastructure used) there are some missing methods.
                    . 
                    Two small examples are currently provided.
                    .
                    Changes:
                    .
                    @
                    \ 0.2 -> 0.2.1 2012.06.07.  DD. Added Doctests, Example02. Added "Text.Groom" dependency.
                    .
                    \ 0.1 -> 0.2   2012.06.06.  DD. Translated to English.
                    .
                    \ 0.1          2009.11.09. LFL. Corrected the definition of delete.
                    .
                    \ 0.0          2009.11.26. LFL. Construction
                    @
                    .
homepage:           https://www.github.com/d-day/relation/
bug-reports:        https://www.github.com/d-day/relation/issues
license:            BSD3
license-file:       LICENSE
author:             Leonel Fonseca
maintainer:         Drew Day
copyright:          (C) 2012 Drew Day,
                    (C) 2010 Leonel Fonseca
category:           Data Structures
stability:          Experimental
build-type:         Simple
cabal-version:	     >= 1.8
tested-with:        GHC==7.4

extra-source-files:
                    LICENSE
                    README.md
                    Changes.txt
                    src/Data/Relation.hs
                    src/Data/Relation/Examples/E02.hs
                    Examples/T01_Relation.hs


library
  hs-source-dirs :  src
  exposed-modules:  Data.Relation,
                    Data.Relation.Examples.E02

  build-depends  :  base           >= 4.2    && < 6.0,
                    array          >= 0.4    && < 0.5,
                    containers     >= 0.4    && < 0.6,
--                  doctest        >= 0.7.0  && < 0.8,
                    groom          >= 0.1.1  && < 0.2


-- test-suite dt-examples
--   type:             exitcode-stdio-1.0
--   hs-source-dirs:   tests
--   main-is:          doctest-examples.hs
--   ghc-options:      -threaded
--   build-depends:    base           >= 4.2    && < 6.0,
--                     doctest        >= 0.7.0  && < 0.8

source-repository head
  type:     git
  location: https://www.github.com/d-day/relation