git.iko.soy/typeable/servant
on master help sign in
Dropped orphan instance for MediaType (now available upstream).
commitf11d5207e412670a1573aa3e2b58d2ff8d4148e1 authorMatthias Fischmann <mf@zerobuzz.net> dateTue 24 Feb 2015, 08:54 (12 years ago) parent1fef813
2 files changed+1−7
servant-docs.cabal+1−1 src/Servant/Docs.hs−6
servant-docs.cabal+1−1
@@ -31,7 +31,7 @@ library
3131 , aeson
3232 , bytestring
3333 , hashable
34− , http-media
34+ , http-media >= 0.6
3535 , lens
3636 , servant >= 0.2.1
3737 , string-conversions
src/Servant/Docs.hs−6
@@ -209,12 +209,6 @@ import qualified Data.HashMap.Strict as HM
209209import qualified Data.Text as T
210210import qualified Network.HTTP.Media as M
211211
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−
218212-- | Supported HTTP request methods
219213data Method = DocDELETE -- ^ the DELETE method
220214 | DocGET -- ^ the GET method