On Thu, May 3, 2012 at 2:52 AM, Andrew Seniuk ras...@gmail.com wrote:
Note that the Annotated version of the HSE parser/AST will probably
not provide enough
generality for the sorts of attributes you want to store (it's for
source locations, unless something changed in the most recent
On Thu, May 3, 2012 at 2:22 AM, Niklas Broberg niklas.brob...@gmail.com wrote:
On Thu, May 3, 2012 at 2:52 AM, Andrew Seniuk ras...@gmail.com wrote:
Note that the Annotated version of the HSE parser/AST will probably
not provide enough generality for the sorts of attributes you want to
Is there a library to traverse a source AST keeping state?
--
Tony Morris
http://tmorris.net/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On Wed, May 2, 2012 at 7:20 PM, Tony Morris tonymor...@gmail.com wrote:
Is there a library to traverse a source AST keeping state?
Hi Tony, I was able to do this [1] using haskell-src-exts and a state
monad. AST traversal is possible due to HSE deriving instances for
Data in all its datatype