O'Reilly logo
  • Jagat Singh thinks this is interesting:

[1,2,2,3,4]

From

Cover of Learn You a Haskell for Great Good!

Note

This will be [5,3,3,3] , the output is wrong.