Prelude> let secondElements tup = [(snd p) | p <- tup] Prelude> Prelude> secondElements [(1, 1), (2, 4), (3, 9), (4, 16), (5, 25)] [1,4,9,16,25]
This blog is primarily focus on Java fundamentals and the libraries built on top of Java programming language. Most of the post are example oriented, hope you have fun in reading my blog....:)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment