chris blogs

March 2006

18mar2006 · Dynamic Programming in Haskell

This is a blog post of a different kind, because I spent quite some time writing it, and now I want you to enjoy it properly typeset.


The purpose of this Literate Haskell program is to implement a function that does global sequence alignment using Needleman/Wunsch techniques.

Dynamic Programming in Haskell (PDF)

Dynamic Programming in Haskell (Literate Haskell)

The latter link is directly runnable in Haskell but also can be typeset with LaTeX and lhs2TeX, an excellent tool that can be quirky nevertheless.

Don’t let that scare you, enjoy. Haskell is a beautiful language to write in, I’ll need to blog more about it soon.

NP: Silver Jews—Sometimes a pony gets depressed

Copyright © 2004–2013