I think I will try my hand at an Elixir version, based off the (very functionally well written!) Ruby version.
Also, you should have test suites for these. :)
Elixir's pretty cool if you haven't played with it yet- http://elixir-lang.org
It's like Ruby, but 100% functional, immutable, concurrent, and faster. :)