jandrewthompson/automata — pull request #1 by nathanic (2012-09-15 16:33:20+00:00)
Title: forked and made some suggestions

Hey Andrew,

I took the liberty of making some revisions to 'idiomatize' the code a little.
In particular I rewrote `getVal` into `applyRule`.
I also altered some formatting, elided some unneeded parens, and used more hs std lib functions. While I was at it, I removed most uses of `head` and `tail` and replaced them with pattern matching.

Let me know what you think!