Add Template Haskell state. wip/th-new
authorGeoffrey Mainland <mainland@apeiron.net>
Tue, 4 Jun 2013 15:22:06 +0000 (16:22 +0100)
committerGeoffrey Mainland <mainland@apeiron.net>
Fri, 4 Oct 2013 18:58:26 +0000 (14:58 -0400)
commit9c805c2007b826f629ab17d8bcdc6fcf96a7fc0c
tree90d8fda2a00d4d5185eb1f5791622bb1fed80cae
parente8ac00ce079abd87396e3413ee4159f8b54e80dd
Add Template Haskell state.

The Quasi monad can now carry state, and this state can be shared amongst
quasiquoters/splices/etc. State is stored in a finite map of Dynamic values and
is indexed by TypeReps.
Language/Haskell/TH/Syntax.hs