fix haddocks

This commit is contained in:
Alp Mestanogullari 2014-11-22 15:58:52 +01:00
parent e9ebb0f10b
commit c945915f1d

View file

@ -39,9 +39,9 @@ captured _ = fromText
-- --
-- Example: -- Example:
-- --
-- > type MyApi = "books" ':>' 'Capture' "isbn" 'Text' ':>' 'Get' Book -- > type MyApi = "books" :> Capture "isbn" Text :> Get Book
-- > -- >
-- > server :: 'Server' MyApi -- > server :: Server MyApi
-- > server = getBook -- > server = getBook
-- > where getBook :: Text -> 'EitherT' (Int, String) IO Book -- > where getBook :: Text -> 'EitherT' (Int, String) IO Book
-- > getBook isbn = ... -- > getBook isbn = ...
@ -73,7 +73,7 @@ instance (KnownSymbol capture, FromText a, HasServer sublayout)
-- --
-- Example: -- Example:
-- --
-- > type MyApi = "books" ':>' 'Capture' "isbn" 'Text' ':>' 'Get' Book -- > type MyApi = "books" :> Capture "isbn" Text :> Get Book
-- > -- >
-- > myApi :: Proxy MyApi -- > myApi :: Proxy MyApi
-- > myApi = Proxy -- > myApi = Proxy