ddc-core-simpl-0.4.2.1: Disciplined Disciple Compiler code transformations.
DDC.Core.Transform.TransformModX
Description
Helper for transforming the bindings in a module
Synopsis
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