[Haskell-cafe] TemplateHaskell forces manual declaration ordering?
edwards.benj at gmail.com
Tue May 20 14:25:48 UTC 2014
I was making the naive assumption that if OP didn't know about it then it
wasn't prominent. That perhaps was a little hasty. There is a discussion of
this very thing in the official user guide. First section, 7.16.1. Syntax.
On Tue May 20 2014 at 15:20:54, Brandon Allbery <allbery.b at gmail.com> wrote:
> On Tue, May 20, 2014 at 7:00 AM, edwardsbenj at gmail.com <
> edwards.benj at gmail.com> wrote:
>> This is a known limitation. You can't refer to items in splices that
>> haven't already been mentioned in the source. I don't know why it isn't
>> (prominently) documented, it's definitely part of the folklore.
> I think it's pretty well documented? At least I recall noting it first
> time I looked into TH.
> brandon s allbery kf8nh sine nomine
> allbery.b at gmail.com
> ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe