[Haskell-cafe] Reading open data types
Stefan O'Rear
stefanor at cox.net
Wed Jun 13 18:09:51 EDT 2007
On Wed, Jun 13, 2007 at 05:12:25PM +0300, Benja Fallenstein wrote:
> However, this is still kind of boring. Is there a better way? If not,
> would it be a good idea to have compiler support for building this
> kind of type table?
The compiler does build exactly such a table - it's called a symbol
table. If you aren't afraid of massive overkill, you can use hs-plugins
to write String -> exists a. Read a => a .
Stefan
More information about the Haskell-Cafe
mailing list