File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
servant-server/src/Servant/Server Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -292,21 +292,21 @@ noContentRouter method status action = leafRouter route'
292292 env request respond $ \ _output ->
293293 Route $ responseLBS status [] " "
294294
295- newtype Wrapped a = Wrapped a
295+ newtype Naked a = Naked a
296296
297297type family Wrap a where
298298 Wrap (Headers x a ) = Headers x a
299- Wrap a = Wrapped a
299+ Wrap a = Naked a
300300
301301class ExtractHeadersResponse orig wrapped where
302302 type HandlerResponse orig wrapped :: *
303303 type ExtractedValue orig wrapped :: *
304304
305305 extractHeadersResponse :: HandlerResponse orig wrapped -> (([(HeaderName , B. ByteString )]), ExtractedValue orig wrapped )
306306
307- instance ExtractHeadersResponse a (Wrapped a ) where
308- type HandlerResponse a (Wrapped a ) = a
309- type ExtractedValue a (Wrapped a ) = a
307+ instance ExtractHeadersResponse a (Naked a ) where
308+ type HandlerResponse a (Naked a ) = a
309+ type ExtractedValue a (Naked a ) = a
310310
311311 extractHeadersResponse :: a -> (([(HeaderName , B. ByteString )]), a )
312312 extractHeadersResponse x = ([] , x)
You can’t perform that action at this time.
0 commit comments