
21 Sep
2006
21 Sep
'06
1:48 a.m.
dons:
br1:
Second, I want to test this function, without hitting the filesystem. In C++ I would use a istringstream. I couldn't find a function that returns a Handle from a String. The closer thing that may work that I could find was making a pipe and convertind the file descriptor. Can I simplify that function to take it out of the IO monad? How? I thought about getContents, but that eats all input.
I've summarised this little introduction to QuickCheck on the haskell.org wiki here, http://haskell.org/haskellwiki/Introduction_to_QuickCheck -- Don