hsx-0.7.0: HSX (Haskell Source with XML) allows literal XML syntax to be used in Haskell source code.

Portabilityportable
Stabilityexperimental
MaintainerNiklas Broberg, niklas.broberg@chalmers.se

HSX.Transform

Description

Functions for transforming abstract Haskell code extended with regular patterns into semantically equivalent normal abstract Haskell code. In other words, we transform away regular patterns.

Synopsis

Documentation

transform :: Module -> ModuleSource

Transform away occurences of regular patterns from an abstract Haskell module, preserving semantics.