Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
initialise :: Params -> IO ProgState Source
parseInstruction :: JSON j => ByteString -> Either String j Source
:: Int64 | maximum request size (see |
-> ProgState | |
-> CustomSem sem | |
-> Snap () |
ok :: GenReq -> GeniResults -> Snap () Source
showResults :: [GeniResult] -> Text Source
handleRequest :: ProgState -> CustomSem sem -> ServerInstruction -> IO (Either Text GeniResults) Source
prettyEncode :: JSON a => a -> Text Source