ddc-core-simpl-0.4.2.1: Disciplined Disciple Compiler code transformations.

Safe HaskellSafe
LanguageHaskell98

DDC.Core.Transform.TransformModX

Description

Helper for transforming the bindings in a module

Synopsis

Documentation

transformModX :: (Exp a n -> Exp a n) -> Module a n -> Module a n Source

Apply transform to each expression let binding in module

transformModLet :: (Bind n -> Exp a n -> Exp a n) -> Module a n -> Module a n Source

Apply transform to each expression let binding in module, with bind too