Skip to content

Instantly share code, notes, and snippets.

@akira093
Created December 11, 2012 20:24
Show Gist options
  • Save akira093/4261835 to your computer and use it in GitHub Desktop.
Save akira093/4261835 to your computer and use it in GitHub Desktop.
main = f xs
f xs = do
print (sin (head xs), (head xs) / pi * 180)
f $ tail xs
xs = [1,1.01..1.57]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment