| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
Agda.IR
Description
Intermediate Representation for Agda's types
Synopsis
- class FromAgda a b | a -> b where
- fromAgda :: a -> b
 
 - class FromAgdaTCM a b | a -> b where
- fromAgdaTCM :: a -> TCM b
 
 - data Response
- = ResponseHighlightingInfoDirect HighlightingInfos
 - | ResponseHighlightingInfoIndirect FilePath
 - | ResponseDisplayInfo DisplayInfo
 - | ResponseStatus Bool Bool
 - | ResponseClearHighlightingTokenBased
 - | ResponseClearHighlightingNotOnlyTokenBased
 - | ResponseRunningInfo Int String
 - | ResponseClearRunningInfo
 - | ResponseDoneAborting
 - | ResponseDoneExiting
 - | ResponseGiveAction Int GiveResult
 - | ResponseInteractionPoints [Int]
 - | ResponseMakeCaseFunction [String]
 - | ResponseMakeCaseExtendedLambda [String]
 - | ResponseSolveAll [(Int, String)]
 - | ResponseJumpToError FilePath Int
 - | ResponseEnd
 
 - data DisplayInfo
- = DisplayInfoGeneric String [Block]
 - | DisplayInfoAllGoalsWarnings String [Block] [Block] [String] [String]
 - | DisplayInfoCurrentGoal Block
 - | DisplayInfoInferredType Block
 - | DisplayInfoCompilationOk [String] [String]
 - | DisplayInfoAuto String
 - | DisplayInfoError String
 - | DisplayInfoTime String
 - | DisplayInfoNormalForm String
 
 - data GiveResult
 - data HighlightingInfo = HighlightingInfo Int Int [String] Bool String (Maybe (FilePath, Int))
 - data HighlightingInfos = HighlightingInfos Bool [HighlightingInfo]
 
Documentation
class FromAgda a b | a -> b where Source #
Typeclass for converting Agda values into IR
Instances
| FromAgda GiveResult GiveResult Source # | |
Defined in Agda.IR Methods fromAgda :: GiveResult0 -> GiveResult Source #  | |
class FromAgdaTCM a b | a -> b where Source #
Methods
fromAgdaTCM :: a -> TCM b Source #
IR for IOCTM
Constructors
Instances
data DisplayInfo Source #
IR for DisplayInfo
Constructors
Instances
data GiveResult Source #
GiveResult
Constructors
| GiveString String | |
| GiveParen | |
| GiveNoParen | 
Instances
| ToJSON GiveResult Source # | |
Defined in Agda.IR Methods toJSON :: GiveResult -> Value # toEncoding :: GiveResult -> Encoding # toJSONList :: [GiveResult] -> Value # toEncodingList :: [GiveResult] -> Encoding #  | |
| Generic GiveResult Source # | |
| FromAgda GiveResult GiveResult Source # | |
Defined in Agda.IR Methods fromAgda :: GiveResult0 -> GiveResult Source #  | |
| type Rep GiveResult Source # | |
Defined in Agda.IR type Rep GiveResult = D1 ('MetaData "GiveResult" "Agda.IR" "agda-language-server-0.2.2.6.2-GEMsKgeRG8f5Pv7LGY4Jhr" 'False) (C1 ('MetaCons "GiveString" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: (C1 ('MetaCons "GiveParen" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GiveNoParen" 'PrefixI 'False) (U1 :: Type -> Type)))  | |
data HighlightingInfo Source #
IR for HighlightingInfo
Instances
data HighlightingInfos Source #
Constructors
| HighlightingInfos Bool [HighlightingInfo] |