[Haskell-cafe] I need help getting started

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Sun Apr 25 00:42:59 EDT 2010


<mitchell at kaplan2.com> writes:
> I'm just starting to learn, or trying to learn Haskell.  I want to write a
> function to tell me if a number's prime.  This is what I've got:

Have you read through any tutorials?

Do you need to write this prime detection function yourself (if so, is
this homework?) or can you use a pre-defined function?

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com


More information about the Haskell-Cafe mailing list