Create an open term in the current context.
ModuleAgda-2.8.0.2Haskell2010
Agda.TypeChecking.Monad.Open
Synopsis
- value makeOpen
- value getOpen
- value tryGetOpen
- value isClosed
- PackageAgda-2.8.0.2
- Exports4
- LanguageHaskell2010
- LicenceMIT
- SourceOpen.hs
Extract the value from an open term. The checkpoint at which it was created must be in scope.
Extract the value from an open term. If the checkpoint is no longer in scope use the provided function to pull the object to the most recent common checkpoint. The function is given the substitution from the common ancestor to the checkpoint of the thing.
An Open is closed if it has checkpoint 0.