| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
NLP.GenI.Server
Documentation
parseInstruction :: JSON j => ByteString -> Either String j Source #
Arguments
| :: 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 #