Trying to create a datatype/constructor given just its constructor as a string, something like:<br><br>mkConstr :: String -&gt; Constr<br>parseData :: (Data a) =&gt; String -&gt; 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 &quot;Just 3&quot; :: [Maybe]<br><br>but simply:<br><br>parseData &quot;Just 3&quot;<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>