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

Simple modulus math

Name: Anonymous 2011-01-22 7:16

Solve this prague, I'm having a brain fart.

anus :: Int -> [Int]

0 -> [1,2,3,4]
1 -> [2,3,4,1]
2 -> [3,4,1,2]
3 -> [4,1,2,3]
4 -> [1,2,3,4]
5 -> [2,3,4,1]
e t c...

Name: Anonymous 2011-01-22 9:20

>>7
Why all you people continue to use Java, isn't the verbosity getting to you?

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