Trying to create a datatype/constructor given just its constructor as a string, something like:<br><br>mkConstr :: String -> Constr<br>parseData :: (Data a) => String -> a<br><br>***without knowing in advance anything about the datatype apart from the string contents***
<br><br>So, not something like:<br><br>parseData "Just 3" :: [Maybe]<br><br>but simply:<br><br>parseData "Just 3"<br><br>(This is linked to the other post: the goal is to be able to deserialize xml without needing to know in advance the data type we are deserializing)
<br><br>