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