1. Luke Plant
  2. phone2word

Commits

Luke Plant  committed 910945a

Fixed compilation error

  • Participants
  • Parent commits c8c77ef
  • Branches simple-wordtree

Comments (0)

Files changed (1)

File phone2word.hs

View file
  • Ignore whitespace
            if p + len == end
               then return [w] -- last segment
               else do
-                c <- findRoutes' words (start + len) end
+                c <- findRoutes' wordMap (start + len) end
                 -- don't add multiple 'digit words':
                 guard (hasWord w || (hasWord $ head c))
                 return (w:c)