ddc-core-simpl-0.4.3.1: Disciplined Disciple Compiler code transformations.
DDC.Type.Transform.Alpha
class Alpha c where Source #
Minimal complete definition
alpha
Methods
alpha :: forall n1 n2. Ord n2 => (n1 -> n2) -> c n1 -> c n2 Source #
Apply a function to all the names in a thing.
Instances
alpha :: Ord n2 => (n1 -> n2) -> Bind n1 -> Bind n2 Source #
alpha :: Ord n2 => (n1 -> n2) -> Bound n1 -> Bound n2 Source #
alpha :: Ord n2 => (n1 -> n2) -> Type n1 -> Type n2 Source #
alpha :: Ord n2 => (n1 -> n2) -> TypeSum n1 -> TypeSum n2 Source #
alpha :: Ord n2 => (n1 -> n2) -> TyCon n1 -> TyCon n2 Source #