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