Changes between Initial Version and Version 1 of Ticket #4946


Ignore:
Timestamp:
Feb 4, 2011 1:36:41 PM (4 years ago)
Author:
simonmar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4946 – Description

    initial v1  
    1 reify does not work on data structures defined in files without Language pragma of Template Haskell and without -fth or -XTemplateHaskell command line flags
     1reify does not work on data structures defined in files without Language pragma of Template Haskell and without `-fth` or `-XTemplateHaskell` command line flags
    22
    3 Main.hs: File with the splice expression
    4 Fields.hs: File with the Template Haskell code that lists all the fields in particular datastructures recursively.
    5 DataStructure.hs: File with the datastructure being reified in TH.hs
     3 * `Main.hs`: File with the splice expression
     4 * `Fields.hs`: File with the Template Haskell code that lists all the fields in particular datastructures recursively.
     5 * `DataStructure.hs`: File with the datastructure being reified in TH.hs
    66
    7 When all the files have the TemplateHaskell Language pragma, everything works
    8 When the command line flag -fth or -XTemplateHaskell are used, everything works
    9 When the DataStructure.hs does not have the TemplateHaskell Language pragma, then when the data-structure is being reified in TH.hs, it generates blank lists for all the fields of TyConI (DataD ...
     7When all the files have the `TemplateHaskell` Language pragma, everything works.  When the command line flag `-fth` or `-XTemplateHaskell` are used, everything works.  When the `DataStructure.hs` does not have the `TemplateHaskell` Language pragma, then when the data-structure is being reified in `TH.hs`, it generates blank lists for all the fields of `TyConI (DataD ...`