- 06 Nov, 2003 2 commits
-
-
simonpj authored
------------------------------------ Major increment for Template Haskell ------------------------------------ 1. New abstract data type "Name" which appears where String used to be. E.g. data Exp = VarE Name | ... 2. New syntax 'x and ''T, for quoting Names. It's rather like [| x |] and [t| T |] respectively, except that a) it's non-monadic: 'x :: Name b) you get a Name not an Exp or Type 3. reify is an ordinary function reify :: Name -> Q Info New data type Info which tells what TH knows about Name 4. Local variables work properly. So this works now (crashed before): f x = $( [| x |] ) 5. THSyntax is split up into three modules: Language.Haskell.TH TH "clients" import this Language.Haskell.TH.THSyntax data type declarations and internal stuff Language.Haskell.TH.THLib Support library code (all re-exported by TH), including smart constructors and pretty printer 6. Error reporting and recovery are in (not yet well tested) report :: Bool {- True <=> fatal -} -> String -> Q () recover :: Q a -> Q a -> Q a 7. Can find current module currentModule :: Q String Much other cleaning up, needless to say.
-
simonmar authored
wibble
-
- 05 Nov, 2003 3 commits
- 03 Nov, 2003 1 commit
-
-
simonpj authored
Add another module test
-
- 02 Nov, 2003 1 commit
-
-
ralf authored
Cosmetic changes.
-
- 30 Oct, 2003 2 commits
- 29 Oct, 2003 3 commits
- 28 Oct, 2003 3 commits
- 27 Oct, 2003 11 commits
-
-
simonpj authored
Update expected output
-
simonpj authored
update expected output
-
simonpj authored
Two more tests
-
dons authored
Add 64 bit expected output for mips
-
dons authored
Add 64 bit expected output for mips
-
dons authored
Add 64 bit expected output for mips
-
dons authored
Add 64 bit expected output for mips
-
dons authored
Add 64 bit expected output for mips
-
dons authored
Add 64 bit expected outptu for mips
-
dons authored
64 bit expected output
-
dons authored
64 bit result for mips64
-
- 24 Oct, 2003 3 commits
- 23 Oct, 2003 1 commit
-
-
simonmar authored
accept new output
-
- 20 Oct, 2003 1 commit
-
-
simonmar authored
Add test that generates strange duplicate error messages with GHC 6.2.
-
- 13 Oct, 2003 1 commit
-
-
simonpj authored
Update expected output
-
- 06 Oct, 2003 2 commits
- 01 Oct, 2003 1 commit
-
-
simonmar authored
Add test for returning a Bool from a foreign export.
-
- 30 Sep, 2003 2 commits
- 26 Sep, 2003 1 commit
-
-
simonmar authored
remove obsolete test (uses CCallable)
-
- 24 Sep, 2003 2 commits