Skip to content

Instantly share code, notes, and snippets.

@gdejohn
Last active March 25, 2016 07:32
Show Gist options
  • Save gdejohn/a8876cce126e1882083a to your computer and use it in GitHub Desktop.
Save gdejohn/a8876cce126e1882083a to your computer and use it in GitHub Desktop.
Fixed point of cosine function
x = fst $ fromJust $ find (uncurry (==)) $ liftA2 ($) zip tail $ iterate cos 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment