[Haskell-cafe] How to Hijack stdin,err,out, thread safely?
roma at ro-che.info
Tue Jun 30 19:02:10 UTC 2015
On 30/06/15 21:27, Hiromi ISHII wrote:
> I'm currently writing a web app to check the spec of input code
> usging QuickCheck.
> quickCheck* functions writes results to stderr & stdout, but I
> don't want them written to the app's original stdout/err.
> (I'm using SafeHaskell features to avoid malicious code executed,
> so don't worry about that :-))
It's not clear from your email whether you are concerned about the
output of QuickCheck itself or the functions you're testing.
In the former case, there is a way to get the output of QuickCheck as a
String without printing it. Take a look at tasty-quickcheck's code for
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the Haskell-Cafe