
25 Apr
2010
25 Apr
'10
12:42 a.m.
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@gmail.com IvanMiljenovic.wordpress.com