Hello,<br>
<br>
I have the following problem. I'd like to infer types of local bindings using 'reify':<br>
------------------------------------<br>
testValue = <br>
let<br>
a = 10<br>
in<br>
$(do<br>
VarI _ t _ _ <- reify 'a<br>
lift (pprint t)<br>
)<br>
-------------------------------------<br>
But this code prints only:<br>
-------------------------------------<br>
*Debug> testValue<br>
"t_0"<br>
-------------------------------------<br>
Is this intended behavior? Are there any workarounds? <br>
Things work fine if symbol is defined in another module.<br>
I do realise that in general $(...) may add additional constraints on local variables.<br>
<br>
OM<br>