mirror of
https://github.com/monadicsystems/okapi.git
synced 2024-11-22 17:04:17 +03:00
Remove popHeader function
This commit is contained in:
parent
309d83c398
commit
730967f143
@ -75,13 +75,6 @@ insertHeader ::
|
|||||||
Headers (headerKey : headerKeys)
|
Headers (headerKey : headerKeys)
|
||||||
insertHeader = InsertHeader
|
insertHeader = InsertHeader
|
||||||
|
|
||||||
popHeader ::
|
|
||||||
forall (headerKey :: Exts.Symbol) headerValue (headerKeys :: [Exts.Symbol]).
|
|
||||||
(TypeLits.KnownSymbol headerKey, Web.ToHttpApiData headerValue) =>
|
|
||||||
Headers (headerKey : headerKeys) ->
|
|
||||||
(BS.ByteString, Headers headerKeys)
|
|
||||||
popHeader (InsertHeader v rem) = (Web.toHeader v, rem)
|
|
||||||
|
|
||||||
data HeaderKey (k :: Exts.Symbol) = HeaderKey
|
data HeaderKey (k :: Exts.Symbol) = HeaderKey
|
||||||
|
|
||||||
-- | Membership test a type class (predicate)
|
-- | Membership test a type class (predicate)
|
||||||
|
Loading…
Reference in New Issue
Block a user