Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data TupArgMap a = TupArgMap {
- tamPresent :: EMap a
- tamMissing :: MaybeMap a
- data BoxityMap a = BoxityMap {
- boxBoxed :: MaybeMap a
- boxUnboxed :: MaybeMap a
- data VMap a
- data LMap a
- = LMEmpty
- | LM {
- lmChar :: Map Char a
- lmCharPrim :: Map Char a
- lmString :: FSEnv a
- lmStringPrim :: Map ByteString a
- lmInt :: BoolMap (Map Integer a)
- lmIntPrim :: Map Integer a
- lmWordPrim :: Map Integer a
- lmInt64Prim :: Map Integer a
- lmWord64Prim :: Map Integer a
- emptyLMapWrapper :: LMap a
- data OLMap a
- = OLMEmpty
- | OLM {
- olmIntegral :: BoolMap (Map Integer a)
- olmFractional :: Map Rational a
- olmIsString :: FSEnv a
- emptyOLMapWrapper :: OLMap a
- data EMap a
- = EMEmpty
- | EM {
- emHole :: Map RdrName a
- emVar :: VMap a
- emIPVar :: FSEnv a
- emOverLit :: OLMap a
- emLit :: LMap a
- emLam :: MGMap a
- emApp :: EMap (EMap a)
- emOpApp :: EMap (EMap (EMap a))
- emNegApp :: EMap a
- emPar :: EMap a
- emExplicitTuple :: BoxityMap (ListMap TupArgMap a)
- emCase :: EMap (MGMap a)
- emSecL :: EMap (EMap a)
- emSecR :: EMap (EMap a)
- emIf :: EMap (EMap (EMap a))
- emLet :: LBMap (EMap a)
- emDo :: SCMap (SLMap a)
- emExplicitList :: ListMap EMap a
- emRecordCon :: VMap (ListMap RFMap a)
- emRecordUpd :: EMap (ListMap RFMap a)
- emExprWithTySig :: EMap (TyMap a)
- emptyEMapWrapper :: EMap a
- extendResult :: Map RdrName a -> HoleVal -> Substitution -> [(Substitution, a)]
- singleton :: [a] -> Maybe a
- sameHoleValue :: HoleVal -> HoleVal -> Maybe ()
- alphaEquivalent :: PatternMap m => Key m -> Key m -> m () -> Maybe ()
- data SCMap a
- = SCEmpty
- | SCM {
- scmListComp :: MaybeMap a
- scmMonadComp :: MaybeMap a
- scmDoExpr :: MaybeMap a
- emptySCMapWrapper :: SCMap a
- newtype MGMap a = MGMap {}
- newtype MMap a = MMap {}
- data CDMap a
- = CDEmpty
- | CDMap {
- cdPrefixCon :: ListMap PatMap a
- cdInfixCon :: PatMap (PatMap a)
- emptyCDMapWrapper :: CDMap a
- data PatMap a
- emptyPatMapWrapper :: PatMap a
- newtype GRHSSMap a = GRHSSMap {
- unGRHSSMap :: LBMap (ListMap GRHSMap a)
- newtype GRHSMap a = GRHSMap {}
- data SLMap a
- emptySLMapWrapper :: SLMap a
- data LBMap a
- emptyLBMapWrapper :: LBMap a
- deValBinds :: HsValBinds GhcPs -> [HsBind GhcPs]
- data BMap a
- emptyBMapWrapper :: BMap a
- data SMap a
- = SMEmpty
- | SM {
- smLastStmt :: EMap a
- smBindStmt :: PatMap (EMap a)
- smBodyStmt :: EMap a
- emptySMapWrapper :: SMap a
- data TyMap a
- emptyTyMapWrapper :: TyMap a
- newtype RFMap a = RFM {}
- class RecordFieldToRdrName f where
- recordFieldToRdrName :: f -> RdrName
- fieldsToRdrNames :: RecordFieldToRdrName f => [LHsRecField' f arg] -> [LHsRecField' RdrName arg]
Documentation
TupArgMap | |
|
Instances
Functor TupArgMap Source # | |
PatternMap TupArgMap Source # | |
Defined in Retrie.PatternMap.Instances | |
type Key TupArgMap Source # | |
Defined in Retrie.PatternMap.Instances |
BoxityMap | |
|
Instances
Functor BoxityMap Source # | |
PatternMap BoxityMap Source # | |
Defined in Retrie.PatternMap.Instances | |
type Key BoxityMap Source # | |
Defined in Retrie.PatternMap.Instances |
Instances
Functor VMap Source # | |
PatternMap VMap Source # | |
Defined in Retrie.PatternMap.Instances | |
type Key VMap Source # | |
Defined in Retrie.PatternMap.Instances |
LMEmpty | |
LM | |
|
Instances
Functor LMap Source # | |
PatternMap LMap Source # | |
Defined in Retrie.PatternMap.Instances | |
type Key LMap Source # | |
Defined in Retrie.PatternMap.Instances |
emptyLMapWrapper :: LMap a Source #
OLMEmpty | |
OLM | |
|
Instances
Functor OLMap Source # | |
PatternMap OLMap Source # | |
Defined in Retrie.PatternMap.Instances | |
type Key OLMap Source # | |
Defined in Retrie.PatternMap.Instances |
emptyOLMapWrapper :: OLMap a Source #
The original infix application of ($).
The expression transformed into a normal application with parens around
EMEmpty | |
EM | |
|
Instances
Functor EMap Source # | |
PatternMap EMap Source # | |
Defined in Retrie.PatternMap.Instances | |
type Key EMap Source # | |
Defined in Retrie.PatternMap.Instances |
emptyEMapWrapper :: EMap a Source #
extendResult :: Map RdrName a -> HoleVal -> Substitution -> [(Substitution, a)] Source #
sameHoleValue :: HoleVal -> HoleVal -> Maybe () Source #
Determine if two expressions are alpha-equivalent.
alphaEquivalent :: PatternMap m => Key m -> Key m -> m () -> Maybe () Source #
SCEmpty | |
SCM | |
|
Instances
Functor SCMap Source # | |
PatternMap SCMap Source # | |
Defined in Retrie.PatternMap.Instances | |
type Key SCMap Source # | |
Defined in Retrie.PatternMap.Instances |
emptySCMapWrapper :: SCMap a Source #
Instances
Functor MGMap Source # | |
PatternMap MGMap Source # | |
Defined in Retrie.PatternMap.Instances | |
type Key MGMap Source # | |
Defined in Retrie.PatternMap.Instances |
CDEmpty | |
CDMap | |
|
Instances
Functor CDMap Source # | |
PatternMap CDMap Source # | |
Defined in Retrie.PatternMap.Instances | |
type Key CDMap Source # | |
Defined in Retrie.PatternMap.Instances |
emptyCDMapWrapper :: CDMap a Source #
Instances
Functor PatMap Source # | |
PatternMap PatMap Source # | |
Defined in Retrie.PatternMap.Instances | |
type Key PatMap Source # | |
Defined in Retrie.PatternMap.Instances |
emptyPatMapWrapper :: PatMap a Source #
GRHSSMap | |
|
emptySLMapWrapper :: SLMap a Source #
Instances
Functor LBMap Source # | |
PatternMap LBMap Source # | |
Defined in Retrie.PatternMap.Instances | |
type Key LBMap Source # | |
Defined in Retrie.PatternMap.Instances |
emptyLBMapWrapper :: LBMap a Source #
deValBinds :: HsValBinds GhcPs -> [HsBind GhcPs] Source #
Instances
Functor BMap Source # | |
PatternMap BMap Source # | |
Defined in Retrie.PatternMap.Instances | |
type Key BMap Source # | |
Defined in Retrie.PatternMap.Instances |
emptyBMapWrapper :: BMap a Source #
SMEmpty | |
SM | |
|
emptySMapWrapper :: SMap a Source #
Instances
Functor TyMap Source # | |
PatternMap TyMap Source # | |
Defined in Retrie.PatternMap.Instances | |
type Key TyMap Source # | |
Defined in Retrie.PatternMap.Instances |
emptyTyMapWrapper :: TyMap a Source #
Instances
Functor RFMap Source # | |
PatternMap RFMap Source # | |
Defined in Retrie.PatternMap.Instances | |
type Key RFMap Source # | |
Defined in Retrie.PatternMap.Instances |
class RecordFieldToRdrName f where Source #
recordFieldToRdrName :: f -> RdrName Source #
Instances
RecordFieldToRdrName (FieldOcc p) Source # | |
Defined in Retrie.PatternMap.Instances recordFieldToRdrName :: FieldOcc p -> RdrName Source # | |
RecordFieldToRdrName (AmbiguousFieldOcc GhcPs) Source # | |
Defined in Retrie.PatternMap.Instances |
fieldsToRdrNames :: RecordFieldToRdrName f => [LHsRecField' f arg] -> [LHsRecField' RdrName arg] Source #