proof-assistant-bot-0.2.0: Telegram bot for proof assistants
Safe HaskellNone
LanguageHaskell2010

Proof.Assistant.Transport

Synopsis

Documentation

data Interpreters Source #

Combination of all supported backend interpreters.

newInterpreters :: InterpretersSettings -> IO Interpreters Source #

Initiate new interpreters from settings.

data BotState Source #

Bot has its own state.

Constructors

BotState 

Fields

readInput :: InterpreterState settings -> IO InterpreterRequest Source #

Read message from "input" queue.

readOutput :: BotState -> IO InterpreterResponse Source #

Read message from "output" queue.

writeInput :: InterpreterRequest -> InterpreterState settings -> IO () Source #

Write message to "input" queue.

writeOutput :: InterpreterResponse -> BotState -> IO () Source #

Write message to "output" queue.