CS316-18 icon indicating copy to clipboard operation
CS316-18 copied to clipboard

1 is not prime

Open YodaEmbedding opened this issue 6 years ago • 1 comments

Minor inaccuracy:

We have to treat 1 separately, because 1 should be considered a prime,
https://github.com/bobatkey/CS316-18/blob/master/lectures/Lec03.hs#L211

A prime number (or a prime) is a natural number greater than 1 that cannot be formed by multiplying two smaller natural numbers.
https://en.wikipedia.org/wiki/Prime_number

YodaEmbedding avatar Nov 05 '18 01:11 YodaEmbedding

Thanks! will fix.

bobatkey avatar Feb 01 '19 14:02 bobatkey