Implementing the aho-corasick algorithm in Haskell