Since XSLT is basically a pattern-matching functional programming language, we should be able to use it to compute. I’m going to use it to implement one of the most basic functions: Peano-style addition. First of all we have to have an idea of what the numbers look like. We want to simulate this in XSL: [...]
Pages
Tags
.net bind9 Books Broken C# C# code comparison Cool criticism Critique csharp Default Development DNS Firefox Functional programming Game GNOME Haskell horrid Java Links Linux massey Mathematics Me Mono music Odd Programming Reference Review self short silly snippet Thought thoughts Types Ubuntu Unicode Unix Work XMLCategories
Archives

2π better than π?
I just came across Bob Palais’ article from 2001, entitled Pi is wrong! He makes some very interesting points; however the notation he has chosen is rather unfortunate. The definition of his three-legged ‘2π’ is given as: \def \newpi{{\pi\mskip -7.8 mu \pi}} This, when rendered by pdfLaTeX, gives: Zoomed in, we can see the problems [...]