Skip to content
Snippets Groups Projects
Commit f2507326 authored by sof's avatar sof
Browse files

[project @ 1998-11-10 08:51:22 by sof]

do&where interaction tests
parent 243e5687
No related merge requests found
--!!! do & where interaction
module ShouldSucceed where
f1 :: IO a -> IO [a]
f1 x = do
v <- x
return [v]
where
g x = [x,x]
f2 :: IO a -> IO [a]
f2 x = do
v <- x
return (g v)
where
g x = [x,x]
f3 :: IO a -> IO [a]
f3 x = do
v <- x
return (g v)
where
g x = [x,x]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment