[Haskell-cafe] Constructing a datatype given just its constructor
as a string?
Neil Mitchell
ndmitchell at gmail.com
Sun Jun 24 08:28:44 EDT 2007
Hi
> mkConstr :: String -> Constr
> parseData :: (Data a) => String -> a
fromConstr, plus a bit of work to create the constructor.
http://www.haskell.org/hoogle/?q=fromConstr
Thanks
Neil
More information about the Haskell-Cafe
mailing list