The README file is displayed below the directory index.
Name | Last modified | Size |
---|---|---|
Parent Directory | - | |
BetaReduce.hs | 2006-07-06 02:13 | 1.3K |
Deriving/ | 2020-07-22 12:56 | - |
FieldSelectors.hs | 2004-12-18 20:20 | 836 |
Flags.ghc | 2003-03-12 22:55 | 269 |
MapDeclM.hs | 2004-12-16 01:36 | 688 |
MapDeclMBase.hs | 2002-02-27 18:27 | 281 |
MapDeclMBaseStruct.hs | 2004-12-16 01:36 | 605 |
RemoveIrrefPats.hs | 2002-10-22 23:42 | 1.3K |
RemoveIrrefPatsBase.hs | 2002-09-30 04:32 | 561 |
RemoveIrrefPatsBaseStruct.hs | 2003-03-19 09:42 | 4.3K |
RemoveListComp.hs | 2004-12-18 06:24 | 1.4K |
RemoveListCompBase.hs | 2004-12-18 06:24 | 265 |
RemovePatBinds.hs | 2005-06-01 21:58 | 2.8K |
SimpFieldLabels.hs | 2004-12-18 20:20 | 3.3K |
SimpFunBind.hs | 2005-06-01 21:58 | 1.7K |
SimpPatMatch.hs | 2006-06-13 00:15 | 9.5K |
SimpPatMatchBase.hs | 2004-12-18 21:58 | 359 |
Substitute.hs | 2005-05-19 07:31 | 1.0K |
SubstituteBase.hs | 2004-12-16 01:36 | 358 |
SubstituteBaseStruct.hs | 2005-05-19 07:31 | 883 |
tests/ | 2002-10-22 00:29 | - |
tstRemPatBind.hs | 2002-04-13 00:05 | 567 |
This directory contains implementations of various source level
program transformations.
The subdirectory Deriving/
contains
modules that generate code for derived instances.
Modules | Purpose |
---|---|
FieldSelectors | A function that generates selector functions for data constructors with labelled fields |
MapDeclM, MapDeclMBase, MapDeclMBaseStruct | Monadic traversal of all declarations in an abstract syntax tree |
RemoveIrrefPats, RemoveIrrefPatsBase, RemoveIrrefPatsBaseStruct | Transform away irrefutable patterns |
RemoveListComp, RemoveListCompBase | Transform away list comprehensions (section 3.11 in the Haskell 98 report) |
RemovePatBinds | Transform away pattern bindings |
SimpFunBinds | Simplify function bindings (similar to section 4.4.3.1 in the Haskell 98 report) |
SimpPatMatch, SimpPatMatchBase | Pattern match simplification (as described in section 3.17.3 of the Haskell 98 report) |
Substitute, SubstituteBase, SubstituteBaseStruct | Substitute expressions for variables in expressions. Apply a function to all expressions in a larger structure. |