Competitive programming in Haskell: better binary search | Hacker News Reader