Regularly surprised by the subtleties of FP maths. TIL there are FP environments and it can even throw exceptions!
miniblog.
Related Posts
Fun blog post on the subtleties of lazy IO in Haskell:
The Surprising Subtleties of Zeroing a Register https://randomascii.wordpress.com/2012/12/29/the-surprising-subtleties-of-zeroing-a-register/ (modern superscalar CPUs are like JITs, happy paths are not obvious)