forked from jaspervdj/digestive-functors
/
digestive-functors.cabal
106 lines (84 loc) · 2.7 KB
/
digestive-functors.cabal
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
Name: digestive-functors
Version: 0.7.1.1
Synopsis: A practical formlet library
Description:
Digestive functors is a library inspired by formlets:
.
<http://groups.inf.ed.ac.uk/links/formlets/>
.
It is intended to be an improvement of the Haskell formlets library, with as
main advantages:
.
* better error handling, so a web page can display input errors right next
to the corresponding fields;
.
* the ability to easily add @\<label\>@ elements;
.
* separation of the validation model and the HTML output.
.
Tutorial:
<http://github.com/jaspervdj/digestive-functors/blob/master/examples/tutorial.lhs>
Homepage: http://github.com/jaspervdj/digestive-functors
License: BSD3
License-file: LICENSE
Author: Jasper Van der Jeugt <m@jaspervdj.be>
Maintainer: Jasper Van der Jeugt <m@jaspervdj.be>
Category: Web
Build-type: Simple
Cabal-version: >= 1.8
Extra-source-files:
CHANGELOG
Library
Hs-source-dirs: src
Ghc-options: -Wall -fwarn-tabs
Exposed-modules:
Text.Digestive
Text.Digestive.Form
Text.Digestive.Form.Encoding
Text.Digestive.Form.List
Text.Digestive.Ref
Text.Digestive.Types
Text.Digestive.Util
Text.Digestive.View
Text.Digestive.Form.Internal
Text.Digestive.Form.Internal.Field
Build-depends:
base >= 4 && < 5,
bytestring >= 0.9 && < 0.11,
containers >= 0.3 && < 0.6,
mtl >= 1.1.0.0 && < 3,
old-locale >= 1.0 && < 1.1,
text >= 0.10 && < 1.2,
time >= 1.4 && < 1.5
Test-suite digestive-functors-tests
Type: exitcode-stdio-1.0
Hs-source-dirs: src tests
Main-is: TestSuite.hs
Ghc-options: -Wall
Other-modules:
Text.Digestive.Field.Tests
Text.Digestive.Field.QTests
Text.Digestive.Form.Encoding.Tests
Text.Digestive.Form.Encoding.QTests
Text.Digestive.Form.List.QTests
Text.Digestive.Form.QTests
Text.Digestive.Tests.Fixtures
Text.Digestive.View.Tests
Text.Digestive.Types.QTests
Build-depends:
HUnit >= 1.2 && < 1.3,
QuickCheck >= 2.5 && < 2.8,
test-framework >= 0.4 && < 0.9,
test-framework-hunit >= 0.3 && < 0.4,
test-framework-quickcheck2 >= 0.3 && < 0.4,
-- Copied from regular dependencies:
base >= 4 && < 5,
bytestring >= 0.9 && < 0.11,
containers >= 0.3 && < 0.6,
mtl >= 1.1.0.0 && < 3,
old-locale >= 1.0 && < 1.1,
text >= 0.10 && < 1.2,
time >= 1.4 && < 1.5
Source-repository head
Type: git
Location: https://github.com/jaspervdj/digestive-functors