4 ms·Just for fun, I translated it to Haskell: https://gist.github.com/4105055 https://gist.github.com/4105055by tmhedberg 14y agoJust for fun, I translated it to Haskell: https://gist.github.com/4105055 https://gist.github.com/4105055tinco 14y agoHi, I added documentation to your code so people new to Haskell might understand what is going on: https://gist.github.com/4105864 https://gist.github.com/4105864 Even with extensive documentation it is only 3 lines longer than the Go version ;)tmhedberg 14y agoLooks good, thanks. :)