[Haskell-cafe] Hspec + QuickCheck passing type

Martijn Rijkeboer haskell at bunix.org
Tue Mar 29 16:58:42 UTC 2016


> 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



More information about the Haskell-Cafe mailing list