| |||||
| |||||
Description | |||||
Automatically derive Text.GRead.Gram instances for data types. Note! This is not a complete implementation and will not work for all datatypes. Unsupported are
Use with care. | |||||
Synopsis | |||||
| |||||
Documentation | |||||
| |||||
Derive a Text.GRead.Gram instance. This is a Template Haskell function. Usage example: data T1 = C1 | C2 | C3 $(deriveGrammar ''T1) | |||||
| |||||
Simpler version of deriveGrammar that doesn't do binding group calculations. Use this for large types without cyclic references to other types. For example, if you want to derive the HDYRM.Gram for T3 and T4 below, you will need the normal deriveGrammar. data T3 = T3 T4 | C3 data T4 = T4 T3 | C4 | |||||
Produced by Haddock version 2.4.2 |