[Haskell-cafe] TemplateHaskell forces manual declaration ordering?
Brandon Allbery
allbery.b at gmail.com
Tue May 20 14:20:54 UTC 2014
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 associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140520/bf38c7a8/attachment.html>
More information about the Haskell-Cafe
mailing list