git.iko.soy/typeable/servant
on master help sign in
Remove 0.5 combinators
ca1b21eJulian K. Arni
servant-mock/src/Servant/Mock.hs−12
@@ -112,18 +112,6 @@ instance (KnownSymbol s, FromText a, HasMock rest) => HasMock (Capture s a :> re
112instance (AllCTUnrender ctypes a, HasMock rest) => HasMock (ReqBody ctypes a :> rest) where
112instance (AllCTUnrender ctypes a, HasMock rest) => HasMock (ReqBody ctypes a :> rest) where
113 mock _ = \_ -> mock (Proxy :: Proxy rest)
113 mock _ = \_ -> mock (Proxy :: Proxy rest)
114
114
115−instance HasMock rest => HasMock (RemoteHost :> rest) where
116− mock _ = \_ -> mock (Proxy :: Proxy rest)
117−
118−instance HasMock rest => HasMock (IsSecure :> rest) where
119− mock _ = \_ -> mock (Proxy :: Proxy rest)
120−
121−instance HasMock rest => HasMock (Vault :> rest) where
122− mock _ = \_ -> mock (Proxy :: Proxy rest)
123−
124−instance HasMock rest => HasMock (HttpVersion :> rest) where
125− mock _ = \_ -> mock (Proxy :: Proxy rest)
126−
127instance (KnownSymbol s, FromText a, HasMock rest)
115instance (KnownSymbol s, FromText a, HasMock rest)
128 => HasMock (QueryParam s a :> rest) where
116 => HasMock (QueryParam s a :> rest) where
129 mock _ = \_ -> mock (Proxy :: Proxy rest)
117 mock _ = \_ -> mock (Proxy :: Proxy rest)