Monthly Archives: November 2007
Pretty colors: Syntax Highlighting in Mercurial
I recently switched my personal revision control system from subversion to mercurial. One of the great things about mercurial is the built-in web interface, but I missed the syntax highlighting that’s available in interfaces such as ViewVC. I’ve written a … Continue reading
Posted in Mercurial, Python
Leave a comment
Python λ Shorthand
In Python a lambda expression (anonymous function) is created with the lambda keyword: map(lambda x: x+1, [1,2,3]) Some Scheme interpreters such as Dr. Scheme allow the λ symbol (U+03BB) as a shorthand for lambda. I started wondering what this would … Continue reading
Posted in Python
Leave a comment
One more time: BK Trees in Haskell
After the Python BK-tree implementation I decided to try my hand at a Haskell version. Here it is.
Posted in Haskell
Leave a comment