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

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

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.