git.iko.soy/typeable/servant
on master help sign in
Dropped orphan instance for MediaType (now available upstream).
f11d520Matthias Fischmann
servant-docs.cabal+1−1
@@ -31,7 +31,7 @@ library
31 , aeson
31 , aeson
32 , bytestring
32 , bytestring
33 , hashable
33 , hashable
34− , http-media
34+ , http-media >= 0.6
35 , lens
35 , lens
36 , servant >= 0.2.1
36 , servant >= 0.2.1
37 , string-conversions
37 , string-conversions
src/Servant/Docs.hs−6
@@ -209,12 +209,6 @@ import qualified Data.HashMap.Strict as HM
209import qualified Data.Text as T
209import qualified Data.Text as T
210import qualified Network.HTTP.Media as M
210import qualified Network.HTTP.Media as M
211
211
212−-- | Temporary orphan. Can be eliminated as soon as
213−-- https://github.com/zmthy/http-media/pull/12 has been released.
214−-- (Also consider removing StandaloneDeriving language ext above.)
215−instance Ord M.MediaType where
216− compare t t' = compare (show t) (show t')
217−
218-- | Supported HTTP request methods
212-- | Supported HTTP request methods
219data Method = DocDELETE -- ^ the DELETE method
213data Method = DocDELETE -- ^ the DELETE method
220 | DocGET -- ^ the GET method
214 | DocGET -- ^ the GET method