Advertisement
Guest User

Untitled

a guest
Mar 5th, 2013
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. -- (c) Davor Babic <davor@davor.se>
  2. square :: Integer -> Integer
  3. square n = sum $ take n [n,n..]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement