{"id":1537,"date":"2011-09-21T16:00:59","date_gmt":"2011-09-21T23:00:59","guid":{"rendered":"https:\/\/www.reenigne.org\/blog\/?p=1537"},"modified":"2011-08-29T13:18:35","modified_gmt":"2011-08-29T20:18:35","slug":"a-weird-thing-in-haskell","status":"publish","type":"post","link":"https:\/\/www.reenigne.org\/blog\/a-weird-thing-in-haskell\/","title":{"rendered":"A weird thing in Haskell"},"content":{"rendered":"<p>Here's something odd I noticed while playing around with the Haskell programming language. Sometimes, a==b does not imply f(a)==f(b). Look:<\/p>\n<pre lang=\"haskell\">> 1\/0\r\nInfinity\r\n> 1\/(-0)\r\n-Infinity\r\n> 0==(-0)\r\nTrue\r\n> (1\/0)==(1\/(-0))\r\nFalse\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Here's something odd I noticed while playing around with the Haskell programming language. Sometimes, a==b does not imply f(a)==f(b). Look: > 1\/0 Infinity > 1\/(-0) -Infinity > 0==(-0) True > (1\/0)==(1\/(-0)) False<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,5],"tags":[],"class_list":["post-1537","post","type-post","status-publish","format-standard","hentry","category-language","category-maths"],"_links":{"self":[{"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/posts\/1537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/comments?post=1537"}],"version-history":[{"count":2,"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/posts\/1537\/revisions"}],"predecessor-version":[{"id":1539,"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/posts\/1537\/revisions\/1539"}],"wp:attachment":[{"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/media?parent=1537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/categories?post=1537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.reenigne.org\/blog\/wp-json\/wp\/v2\/tags?post=1537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}