Skip to content

Commit 09e2836

Browse files
committed
TP4: give pointer to monadicIO
1 parent 4ae504b commit 09e2836

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tps/TP4.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ import Test.QuickCheck
3131
-- For 'readProcess' documentation, see:
3232
-- https://hackage.haskell.org/package/process-1.6.13.2/docs/System-Process.html#v:readProcess
3333
--
34+
-- Use 'monadicIO' to use 'pyEval' in a QuickCheck property:
35+
-- https://hackage.haskell.org/package/QuickCheck-2.15.0.1/docs/Test-QuickCheck-Monadic.html#v:monadicIO
36+
--
3437
-- Use https://hoogle.haskell.org/ to find the functions you need
3538
pyEval :: String -> IO String
3639
pyEval expr = do

0 commit comments

Comments
 (0)