[Haskell-cafe] Writing a function isPrime using recursion.

Bulat Ziganshin bulat.ziganshin at gmail.com
Wed Oct 15 18:43:50 EDT 2008


Hello Kalashnikov,

Thursday, October 16, 2008, 2:41:05 AM, you wrote:

> I'm supposed to write a function isPrime that checks whether or not a given
> integer is a prime number or not. The function has to use recursion. The
> only advice I was given, was to use a helper function.

seems that russian institutes also started to teach haskell :)


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list