packages feed

strelka-core 0.1 → 0.3

raw patch · 2 files changed

+5/−9 lines, 2 files

Files

library/Strelka/Core/Model.hs view
@@ -4,7 +4,7 @@   data Request =-  Request !Method ![PathSegment] !(HashMap ParamName ParamValue) !(HashMap HeaderName HeaderValue) !InputStream+  Request !Method ![PathSegment] !Query !(HashMap HeaderName HeaderValue) !InputStream  data Response =   Response !Status ![Header] !OutputStream@@ -19,14 +19,10 @@   PathSegment Text   deriving (IsString, Show, Eq, Ord, Hashable) -newtype ParamName =-  ParamName ByteString+newtype Query =+  Query ByteString   deriving (IsString, Show, Eq, Ord, Hashable) -newtype ParamValue =-  ParamValue (Maybe ByteString)-  deriving (Show, Eq, Ord, Hashable)- data Header =   Header !HeaderName !HeaderValue @@ -50,6 +46,6 @@   InputStream (IO ByteString)  -- |--- A function on a chunk consuming and flushing IO actions.+-- A function on chunk-consuming and flushing IO actions. newtype OutputStream =   OutputStream ((ByteString -> IO ()) -> IO () -> IO ())
strelka-core.cabal view
@@ -1,7 +1,7 @@ name:   strelka-core version:-  0.1+  0.3 synopsis:   Core components of "strelka" description: