Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

(´∀`) Prime numbers (,,゚Д゚)

Name: Anonymous 2007-04-15 11:11 ID:00E9fssW

|code]isPrime x = (filter (0 ==) (map (mod x) [2..x-1])) == [][/code]

Name: Anonymous 2007-04-15 11:40 ID:Heaven

>>6
That's horrible. It's not a one-liner just because you've removed the newlines.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List