3synopsis: A family of combinators for defining webservices APIs and serving them
5 A family of combinators for defining webservices APIs and serving them
7 You can learn about the basics in the <http://haskell-servant.readthedocs.org/en/stable/tutorial/index.html tutorial>.
9 <https://github.com/haskell-servant/servant/blob/master/servant-server/example/greet.hs Here>
10 is a runnable example, with comments, that defines a dummy API and implements
11 a webserver that serves this API, using this package.
13 <https://github.com/haskell-servant/servant/blob/master/servant-server/CHANGELOG.md CHANGELOG>
14homepage: http://haskell-servant.readthedocs.org/
15Bug-reports: http://github.com/haskell-servant/servant/issues
18author: Servant Contributors
19maintainer: haskell-servant-maintainers@googlegroups.com
20copyright: 2014-2016 Zalora South East Asia Pte Ltd, Servant Contributors
36 location: http://github.com/haskell-servant/servant.git
42 cabal-doctest >= 1.0.1 && <1.1
48 Servant.Server.Experimental.Auth
49 Servant.Server.Internal
50 Servant.Server.Internal.BasicAuth
51 Servant.Server.Internal.Context
52 Servant.Server.Internal.Handler
53 Servant.Server.Internal.Router
54 Servant.Server.Internal.RoutingApplication
55 Servant.Server.Internal.ServantErr
56 Servant.Utils.StaticFiles
58 -- Bundled with GHC: Lower bound to not force re-installs
59 -- text and mtl are bundled starting with GHC-8.4
61 -- note: mtl lower bound is so low because of GHC-7.8
64 , bytestring >= 0.10.4.0 && < 0.11
65 , containers >= 0.5.5.1 && < 0.6
67 , text >= 1.2.3.0 && < 1.3
68 , transformers >= 0.3.0.0 && < 0.6
69 , filepath >= 1.3.0.2 && < 1.5
71 -- Servant dependencies
75 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
76 -- Here can be exceptions if we really need features from the newer versions.
78 aeson >= 1.2.3.0 && < 1.4
79 , base-compat >= 0.9.3 && < 0.10
80 , attoparsec >= 0.13.2.0 && < 0.14
81 , base64-bytestring >= 1.0.0.1 && < 1.1
82 , exceptions >= 0.8.3 && < 0.11
83 , http-api-data >= 0.3.7.1 && < 0.4
84 , http-media >= 0.7.1.1 && < 0.8
85 , http-types >= 0.12 && < 0.13
86 , network-uri >= 2.6.1.0 && < 2.7
87 , monad-control >= 1.0.0.4 && < 1.1
88 , network >= 2.6.3.2 && < 2.7
89 , safe >= 0.3.15 && < 0.4
90 , split >= 0.2.3.2 && < 0.3
91 , string-conversions >= 0.4.0.1 && < 0.5
92 , system-filepath >= 0.4 && < 0.5
93 , resourcet >= 1.1.9 && < 1.3
94 , tagged >= 0.8.5 && < 0.9
95 , transformers-base >= 0.4.4 && < 0.5
96 , transformers-compat >= 0.5.1 && < 0.6
97 , wai >= 3.2.1.1 && < 3.3
98 , wai-app-static >= 3.1.6.1 && < 3.2
99 , warp >= 3.2.13 && < 3.3
100 , word8 >= 0.1.3 && < 0.2
103 default-language: Haskell2010
106 ghc-options: -Wno-redundant-constraints
107 include-dirs: include
111 hs-source-dirs: example
113 default-language: Haskell2010
124 type: exitcode-stdio-1.0
126 default-language: Haskell2010
130 Servant.ArbitraryMonadServerSpec
131 Servant.Server.ErrorSpec
132 Servant.Server.Internal.ContextSpec
133 Servant.Server.Internal.RoutingApplicationSpec
134 Servant.Server.RouterSpec
135 Servant.Server.StreamingSpec
136 Servant.Server.UsingContextSpec
137 Servant.Server.UsingContextSpec.TestCombinators
140 Servant.Utils.StaticFilesSpec
142 -- Dependencies inherited from the library. No need to specify bounds.
160 , transformers-compat
164 -- Additonal dependencies
166 directory >= 1.2.1.0 && < 1.4
167 , hspec >= 2.4.4 && < 2.5
168 , hspec-wai >= 0.9 && < 0.10
169 , should-not-typecheck >= 2.1.0 && < 2.2
170 , parsec >= 3.1.11 && < 3.2
171 , QuickCheck >= 2.10.1 && < 2.12
172 , wai-extra >= 3.0.21.0 && < 3.1
173 , temporary >= 1.2.0.3 && < 1.3
176 hspec-discover:hspec-discover >=2.4.4 && <2.5
182 , doctest >= 0.13.0 && <0.14
183 type: exitcode-stdio-1.0
184 main-is: test/doctests.hs
186 default-language: Haskell2010
187 ghc-options: -Wall -threaded
189 x-doctest-options: -fdiagnostics-color=never
190 include-dirs: include
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list