Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- holesPretty :: forall ki fam codes f at ann. (HasDatatypeInfo ki fam codes, RendererHO ki) => Proxy fam -> (Doc ann -> Doc ann) -> (forall at'. f at' -> Doc ann) -> Holes ki codes f at -> Doc ann
- holesZipRep :: MonadPlus m => Holes ki codes f at -> NA ki (Fix ki codes) at -> m (Holes ki codes (f :*: NA ki (Fix ki codes)) at)
- class HasIKProjInj (ki :: kon -> *) (f :: Atom kon -> *) where
- data IsI :: Atom kon -> * where
- getIsISNat :: IsI (I i) -> SNat i
- type HolesTestEqualityCnstr ki f = (TestEquality ki, TestEquality f, HasIKProjInj ki f)
Documentation
:: (HasDatatypeInfo ki fam codes, RendererHO ki) | |
=> Proxy fam | |
-> (Doc ann -> Doc ann) | styling |
-> (forall at'. f at' -> Doc ann) | |
-> Holes ki codes f at | |
-> Doc ann |
Pretty-prints a treefix using a specific function to print holes.
holesZipRep :: MonadPlus m => Holes ki codes f at -> NA ki (Fix ki codes) at -> m (Holes ki codes (f :*: NA ki (Fix ki codes)) at) Source #
Test Equality Instance
class HasIKProjInj (ki :: kon -> *) (f :: Atom kon -> *) where Source #
Instances
HasIKProjInj (ki :: kon -> Type) (MetaVarIK ki :: Atom kon -> Type) Source # | |
HasIKProjInj (ki :: kon -> Type) (CChange ki codes :: Atom kon -> Type) Source # | |
HasIKProjInj (ki :: kon -> Type) (Holes2 ki codes :: Atom kon -> Type) Source # | |
HasIKProjInj ki phi => HasIKProjInj (ki :: kon -> Type) (Holes ki codes phi :: Atom kon -> Type) Source # | |
type HolesTestEqualityCnstr ki f = (TestEquality ki, TestEquality f, HasIKProjInj ki f) Source #
Orphan instances
HolesTestEqualityCnstr ki f => TestEquality (Holes ki codes f :: Atom kon -> Type) Source # | |