
29 Mar
2016
29 Mar
'16
12:58 p.m.
I would recommend using http://hackage.haskell.org/package/base-4.8.2.0/docs/Prelude.html#v:asTypeOf
And passing a dummy variable of the correct type.
Thanks, this is exactly what I was looking for. Kind regards, Martijn Rijkeboer