[Haskell-cafe] [newbie] How to test this function?
br1 at internet.com.uy
Thu Sep 21 10:28:28 EDT 2006
On Thu, 21 Sep 2006 05:30:34 -0300, Bulat Ziganshin
<bulat.ziganshin at gmail.com> wrote:
> Hello Bruno,
> Thursday, September 21, 2006, 8:28:23 AM, you wrote:
>> First, how do I fix the identation of the if then else?
> http://haskell.org/haskellwiki/IO_inside contains a lot of information
> about using IO monad
That page is very good.
>> Second, I want to test this function, without hitting the filesystem.
>> C++ I would use a istringstream. I couldn't find a function that
>> a Handle from a String.
I'll give this a try.
Conectese mas rapido y ahorre hasta un 50%
Tel. 0909.2030 => $0,15 IVA incluido el minuto
http://www.internet.com.uy - En Uruguay somos internet
More information about the Haskell-Cafe