Thanks, I'll look through that code. A couple of minor points -- I am not using a Dict, simply a list of records holding the word pairs. Is Dict better performing in this situation?
My use case is slightly different - as the source language (Thai) is written without spaces between words, I need access to all the Dict keys when parsing a text to determine where the word breaks go, so it's not just a matter of interrogating the database. Also, the Dict items need to be sorted in a particular way (by length of the key), which is an added challenge. Anyway, thanks for showing me a new direction to pursue. -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.