ddc-core-simpl-0.4.3.1: Disciplined Disciple Compiler code transformations.
DDC.Core.Transform.Flatten
Description
Flattening nested let and case expressions.
Synopsis
flatten :: Ord n => TransformUpMX Identity c => c a n -> c a n Source #
Flatten binding structure in a thing.
Flattens nested let-expressions, and single alternative let-case expressions.