-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Experimental library -- -- Please see README.md @package space @version 0.1.0 module Space.View -- | A space-efficient representation of a Word8 vector, supporting -- many efficient operations. -- -- A ByteString contains 8-bit bytes, or by using the operations -- from Data.ByteString.Char8 it can be interpreted as containing -- 8-bit characters. data ByteString :: * -- | Simple HTML builder type. Defined in terms of HtmlT. Check out -- that type for instance information. -- -- Simple use-cases will just use this type. But if you want to -- transformer over Reader or something, you can go and use HtmlT. type Html = HtmlT Identity render :: Status -> ResponseHeaders -> Html a -> Response jsonResponse :: ToJSON x => Status -> x -> Response jsonCType :: Header notFound :: Response methodNotAllowed :: Response intArg :: Integral int => ByteString -> (int -> IO Response) -> IO Response module Space.Server run :: OpenAt -> ByteString -> Application -> IO () data OpenAt OpenAtPort :: Port -> OpenAt OpenAtUnixSocket :: FilePath -> OpenAt parseOpenAt :: String -> OpenAt instance GHC.Show.Show Space.Server.OpenAt