> 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