I'm not sure what you intend here. Can you be more concrete? Simon
| -----Original Message----- | From: [email protected] [mailto:glasgow-haskell-users- | [email protected]] On Behalf Of Bertram Felgenhauer | Sent: 08 March 2010 10:28 | To: [email protected] | Subject: Annotations and Template Haskell | | Hello, | | I'm wondering whether annotations [1] could be made available to | Template Haskell users as a ghc specific extension. | | Would that be feasible? Would it be useful? | | An example use would be annotating a type with a representation of a | default value that could be used in generating instances for various | type classes (like parsers that take the default value into account). | | The alternative would be to pass that representation explicitely to | every single Template Haskell invocation that uses it. | | Regards, | | Bertram | | [1] http://hackage.haskell.org/trac/ghc/wiki/Annotations | _______________________________________________ | Glasgow-haskell-users mailing list | [email protected] | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users _______________________________________________ Glasgow-haskell-users mailing list [email protected] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
