@@ -3,20 +3,28 @@
4-- See documentation of 'HasForeignType' for a simple example. 'listFromAPI' returns a list of all your endpoints and their foreign types, given a mapping from Haskell types to foreign types (conventionally called `ftypes` below).
4-- See documentation of 'HasForeignType' for a simple example. 'listFromAPI' returns a list of all your endpoints and their foreign types, given a mapping from Haskell types to foreign types (conventionally called `ftypes` below).
5module Servant.Foreign
5module Servant.Foreign
6− ( ArgType(..)
13+ , ArgType(..)
7 , HeaderArg(..)
14 , HeaderArg(..)
8 , QueryArg(..)
15 , QueryArg(..)
10 , ReqBodyContentType(..)
16 , ReqBodyContentType(..)
11 , Segment(..)
17 , Segment(..)
12 , SegmentType(..)
20 , SegmentType(..)
14− -- aliases
22+ -- * aliases
17 , FunctionName(..)
25 , FunctionName(..)
18 , PathSegment(..)
26 , PathSegment(..)
19− -- lenses
27+ -- * lenses
@@ -32,7 +40,7 @@ module Servant.Foreign
32 , queryArgName
40 , queryArgName
33 , queryArgType
41 , queryArgType
34 , headerArg
42 , headerArg
35− -- prisms
43+ -- * prisms
36 , _PathSegment
44 , _PathSegment
37 , _HeaderArg
45 , _HeaderArg
38 , _ReplaceHeaderArg
46 , _ReplaceHeaderArg
@@ -41,16 +49,7 @@ module Servant.Foreign
53− -- re-exports
52+ -- * re-exports
54 , module Servant.API
53 , module Servant.API
55 , module Servant.Foreign.Inflections
54 , module Servant.Foreign.Inflections