License | GPLv2 or higher, see LICENSE.txt |
---|---|
Safe Haskell | None |
This module provides various Hets resources that are used t.e. for caching of an analysis library during a request to the RESTful interface, proving data types etc.
Synopsis
- type RsrcIO a = IO a
- data ProverMode
- type ProofResult = (String, String, String, ProverOrConsChecker, AnyComorphism, Maybe (ProofStatus G_proof_tree), Maybe String)
- data Session = Session {
- sessLibEnv :: LibEnv
- sessLibName :: LibName
- sessPath :: [String]
- sessKey :: Int
- sessStart :: UTCTime
- lastAccess :: UTCTime
- usage :: Int
- sessCleanable :: Bool
- type SessMap = Map [String] Session
- type Cache = IORef (IntMap Session, SessMap)
- parseJson :: String -> Maybe Json
- jsonBody :: ByteString -> RsrcIO (Maybe Json)
- receivedRequestBody :: Request -> RsrcIO ByteString
Documentation
data ProverMode Source #
Instances
Eq ProverMode Source # | |
Defined in PGIP.Shared (==) :: ProverMode -> ProverMode -> Bool (/=) :: ProverMode -> ProverMode -> Bool | |
Show ProverMode Source # | |
Defined in PGIP.Shared showsPrec :: Int -> ProverMode -> ShowS show :: ProverMode -> String showList :: [ProverMode] -> ShowS |
type ProofResult = (String, String, String, ProverOrConsChecker, AnyComorphism, Maybe (ProofStatus G_proof_tree), Maybe String) Source #
This data type represents a session of a specific analysis library. | It is first created when a library is accessed for the first time.
Session | |
|
type Cache = IORef (IntMap Session, SessMap) Source #
In this IORef a cache of all accessed libraries is saved
receivedRequestBody :: Request -> RsrcIO ByteString Source #