| License | BSD3 | 
|---|---|
| Maintainer | The Idris Community. | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Idris.Core.ProofState
Description
Implements a proof state, some primitive tactics for manipulating proofs, and some high level commands for introducing new theorems, evaluation/checking inside the proof system, etc.
Documentation
data ProofState Source #
Constructors
| PS | |
| Fields 
 | |
Instances
| Show ProofState Source # | |
| Defined in Idris.Core.ProofState Methods showsPrec :: Int -> ProofState -> ShowS # show :: ProofState -> String # showList :: [ProofState] -> ShowS # | |
envAtFocus :: ProofState -> TC Env Source #
goalAtFocus :: ProofState -> TC (Binder Type) Source #
Constructors
processTactic :: Tactic -> ProofState -> TC (ProofState, String) Source #
nowElaboratingPS :: FC -> Name -> Name -> ProofState -> ProofState Source #
doneElaboratingAppPS :: Name -> ProofState -> ProofState Source #
doneElaboratingArgPS :: Name -> Name -> ProofState -> ProofState Source #
dropGiven :: (Eq a, Foldable t1, Foldable t2) => t1 a -> [(a, TT a)] -> t2 a -> [(a, TT a)] Source #
keepGiven :: (Eq a, Foldable t1, Foldable t2) => t1 a -> [(a, TT a)] -> t2 a -> [(a, TT a)] Source #
getProvenance :: Err -> (Maybe Provenance, Maybe Provenance) Source #