<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1877278742910158861</id><updated>2024-09-12T22:32:17.175-07:00</updated><category term="calculus"/><category term="curve"/><category term="fold lisp haskell"/><category term="haskell quine"/><category term="peano floating-point lame"/><title type='text'>x/=x</title><subtitle type='html'>What do Haskellers have for breakfast? Co-Co-Monads!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://xnotequaltox.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://xnotequaltox.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>approx</name><uri>http://www.blogger.com/profile/14437325118483171429</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1877278742910158861.post-4823302362696567557</id><published>2010-08-14T03:32:00.000-07:00</published><updated>2010-08-14T03:50:17.698-07:00</updated><title type='text'>As if from nowhere, e appears, at it&#39;s own pace!</title><content type='html'>Inspired by this &lt;a href=&quot;http://www.mostlymaths.net/2010/08/and-e-appears-from-nowhere.html&quot;&gt;lovely blogpost&lt;/a&gt; I decided to write my own slow and arcane &quot;e&quot; maker. Please compile it before running, otherwise it has runtime complexity O(forever).&lt;br /&gt;&lt;br /&gt;&lt;script src=&quot;http://gist.github.com/524200.js?file=slow%20slow%20e.hs&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://xnotequaltox.blogspot.com/feeds/4823302362696567557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xnotequaltox.blogspot.com/2010/08/as-if-from-nowhere-e-appears-at-its-own.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/4823302362696567557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/4823302362696567557'/><link rel='alternate' type='text/html' href='http://xnotequaltox.blogspot.com/2010/08/as-if-from-nowhere-e-appears-at-its-own.html' title='As if from nowhere, e appears, at it&#39;s own pace!'/><author><name>approx</name><uri>http://www.blogger.com/profile/14437325118483171429</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1877278742910158861.post-8280900397423393106</id><published>2010-08-03T17:15:00.000-07:00</published><updated>2010-08-03T17:16:38.737-07:00</updated><title type='text'>Fast enough and fancy primes oneliner</title><content type='html'>&lt;script src=&quot;http://gist.github.com/507430.js?file=niceprimes.hs&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://xnotequaltox.blogspot.com/feeds/8280900397423393106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xnotequaltox.blogspot.com/2010/08/fast-enough-and-fancy-primes-oneliner.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/8280900397423393106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/8280900397423393106'/><link rel='alternate' type='text/html' href='http://xnotequaltox.blogspot.com/2010/08/fast-enough-and-fancy-primes-oneliner.html' title='Fast enough and fancy primes oneliner'/><author><name>approx</name><uri>http://www.blogger.com/profile/14437325118483171429</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1877278742910158861.post-7543075875912399805</id><published>2010-06-27T09:49:00.000-07:00</published><updated>2010-06-27T09:57:45.328-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="haskell quine"/><title type='text'>A Couple of Haskell Quines</title><content type='html'>A simple little quine. A quaint quine.&lt;br /&gt;&lt;script src=&quot;http://gist.github.com/455016.js?file=basicquine.hs&quot;&gt;&lt;/script&gt;&lt;br /&gt;Fancier applicative version, because it&#39;s more hardcore.&lt;br /&gt;&lt;script src=&quot;http://gist.github.com/455012.js?file=fancyapplicativequine.hs&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://xnotequaltox.blogspot.com/feeds/7543075875912399805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xnotequaltox.blogspot.com/2010/06/couple-of-haskell-quines.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/7543075875912399805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/7543075875912399805'/><link rel='alternate' type='text/html' href='http://xnotequaltox.blogspot.com/2010/06/couple-of-haskell-quines.html' title='A Couple of Haskell Quines'/><author><name>approx</name><uri>http://www.blogger.com/profile/14437325118483171429</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1877278742910158861.post-6212065188648883909</id><published>2010-06-17T02:21:00.000-07:00</published><updated>2010-06-17T02:27:47.679-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="peano floating-point lame"/><title type='text'>Floating Point is Shit Part Two</title><content type='html'>Haskell is a great logical language and can be used for proofs and has Curry-Howard isomorphic-mathematical-glorious beauty. With that in mind I feel that when ghci says Peano&#39;s eighth postulate is false you best listen. &lt;br /&gt;&lt;br /&gt;&lt;script src=&quot;http://gist.github.com/441900.js?file=lame.lhs&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://xnotequaltox.blogspot.com/feeds/6212065188648883909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xnotequaltox.blogspot.com/2010/06/floating-point-is-shit-part-two.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/6212065188648883909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/6212065188648883909'/><link rel='alternate' type='text/html' href='http://xnotequaltox.blogspot.com/2010/06/floating-point-is-shit-part-two.html' title='Floating Point is Shit Part Two'/><author><name>approx</name><uri>http://www.blogger.com/profile/14437325118483171429</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1877278742910158861.post-8850455428468157593</id><published>2010-06-02T17:16:00.000-07:00</published><updated>2010-06-02T17:19:03.134-07:00</updated><title type='text'>Gorgeous Haskell Mandelbrot (and Burning Ship) in Haskell  for your Enjoyment</title><content type='html'>As usual it&#39;s slow. It could be made much faster by using a parallel map. That&#39;s an exercise for the reader. Also PPM is terrible for anything but writing to, it must be converted immediately.&lt;script src=&quot;http://gist.github.com/423229.js?file=Mandelthing.hs&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://xnotequaltox.blogspot.com/feeds/8850455428468157593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xnotequaltox.blogspot.com/2010/06/gorgeous-haskell-mandelbrot-and-burning.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/8850455428468157593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/8850455428468157593'/><link rel='alternate' type='text/html' href='http://xnotequaltox.blogspot.com/2010/06/gorgeous-haskell-mandelbrot-and-burning.html' title='Gorgeous Haskell Mandelbrot (and Burning Ship) in Haskell  for your Enjoyment'/><author><name>approx</name><uri>http://www.blogger.com/profile/14437325118483171429</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1877278742910158861.post-6209089876250067474</id><published>2010-05-20T11:37:00.001-07:00</published><updated>2010-05-20T15:46:35.783-07:00</updated><title type='text'>Why floating point is shit</title><content type='html'>&lt;script src=&quot;http://gist.github.com/408219.js?file=gistfile1.hsc&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://xnotequaltox.blogspot.com/feeds/6209089876250067474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xnotequaltox.blogspot.com/2010/05/why-floating-point-is-shit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/6209089876250067474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/6209089876250067474'/><link rel='alternate' type='text/html' href='http://xnotequaltox.blogspot.com/2010/05/why-floating-point-is-shit.html' title='Why floating point is shit'/><author><name>approx</name><uri>http://www.blogger.com/profile/14437325118483171429</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1877278742910158861.post-5520041229694077031</id><published>2010-05-11T09:14:00.000-07:00</published><updated>2010-05-11T13:30:58.873-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="fold lisp haskell"/><title type='text'>Implicit Folds in Haskell (for those jealous of LISP)</title><content type='html'>Ever wish you could do things like (+ 3 4 5) from LISP, but in Haskell? Wish no more with the beautiful FoldyList datatype! An example instance for Show is given but feel free to write your own, otherwise the code is next to useless.&lt;br /&gt;&lt;br /&gt;&lt;script src=&quot;http://gist.github.com/397826.js?file=FoldyList.hs&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://xnotequaltox.blogspot.com/feeds/5520041229694077031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xnotequaltox.blogspot.com/2010/05/implicit-folds-in-haskell-for-those.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/5520041229694077031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/5520041229694077031'/><link rel='alternate' type='text/html' href='http://xnotequaltox.blogspot.com/2010/05/implicit-folds-in-haskell-for-those.html' title='Implicit Folds in Haskell (for those jealous of LISP)'/><author><name>approx</name><uri>http://www.blogger.com/profile/14437325118483171429</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1877278742910158861.post-5266471283377664804</id><published>2010-03-23T16:44:00.000-07:00</published><updated>2010-06-02T17:26:10.921-07:00</updated><title type='text'>Bad and Slow Numeric Integration in Haskell</title><content type='html'>It&#39;s not very fast, but at least it&#39;ll work on arbitrary real functions.&lt;script src=&quot;http://gist.github.com/423241.js?file=BSIntegration.hs&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://xnotequaltox.blogspot.com/feeds/5266471283377664804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xnotequaltox.blogspot.com/2010/03/bad-and-slow-numeric-integration-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/5266471283377664804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/5266471283377664804'/><link rel='alternate' type='text/html' href='http://xnotequaltox.blogspot.com/2010/03/bad-and-slow-numeric-integration-in.html' title='Bad and Slow Numeric Integration in Haskell'/><author><name>approx</name><uri>http://www.blogger.com/profile/14437325118483171429</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1877278742910158861.post-7096457973143526991</id><published>2010-03-23T16:35:00.000-07:00</published><updated>2010-03-23T16:41:03.017-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="calculus"/><category scheme="http://www.blogger.com/atom/ns#" term="curve"/><title type='text'>On the Length of a Differentiable Curve</title><content type='html'>So for a function f on an interval (a,b) the length of the curve produced is given by:&lt;br /&gt;&lt;pre lang=&quot;eq.latex&quot;&gt;\int_a^b \sqrt{f&#39;(x)^2+1} \, dx&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can try it using f(x)=x and get 2^(1/2) x, how thrilling.</content><link rel='replies' type='application/atom+xml' href='http://xnotequaltox.blogspot.com/feeds/7096457973143526991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xnotequaltox.blogspot.com/2010/03/on-length-of-differentiable-curve.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/7096457973143526991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1877278742910158861/posts/default/7096457973143526991'/><link rel='alternate' type='text/html' href='http://xnotequaltox.blogspot.com/2010/03/on-length-of-differentiable-curve.html' title='On the Length of a Differentiable Curve'/><author><name>approx</name><uri>http://www.blogger.com/profile/14437325118483171429</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>