RE: Documentation fix for TH example

"Simon Peyton-Jones" <[email protected]>
Newsgroups gmane.comp.lang.haskell.template
Message-ID <4B93206CA3C55D4F96A61C9B1DC80DE3C587DC@EUR-MSG-03.europe.corp.microsoft.com>
All true!  Good suggestions.  

Are you getting on all right with TH now.  The mailing list has been
rather quiet recently.

Simon

| -----Original Message-----
| From: [email protected]
[mailto:glasgow-haskell-bugs-
| [email protected]] On Behalf Of Gregory Wright
| Sent: 29 January 2004 22:04
| To: [email protected]
| Subject: Documentation fix for TH example
| 
| 
| Hi,
| 
| The GHC 6.2 User's Guide has some misleading information w.r.t.
| template haskell.
| 
| It still uses Expr instead of ExpQ. It refers to Tim Sheard's notes,
| but doesn't have the link
| 
| http://research.microsoft.com/~simonpj/tmp/notes2.ps
| 
| It should also warn that not all of the features discussed in the
above
| notes are implemented.
| In particular, the way to get TH is still to import
| Language.Haskell.THSyntax, not Language.Haskell.TH.
| 
| The example doesn't compile under 6.2. The attachment corrects this.
| 
| A note that TH is rapidly evolving and that the API is likely to
change
| incompatibly between
| compiler releases might not be out of place either. (I know that such
| warnings are present
| in the literature and in some places on the mailing list, but language
| users who are not
| part of the FP community look to the documentation first.)
| 
| Best Wishes,
| 
| Greg
| 
| Gregory Wright
| Antiope Associate LLC
| 18 Clay Street
| Fair Haven, New Jersey 07704
| 
| [email protected]
|
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.