-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Cross-platform access to a list of words -- -- This is a simple wrapper around getting a list of words, that works in -- a common across multiple platforms. @package words @version 0.1 -- | This module exposes collections of words in a best guess of the -- current language on the computer the application is running on. -- -- For UNIX-based systems, including MacOS, this list is taken either -- usrsharedictwords or -- usrdict/words, whichever is the first that exists. If -- neither path exists, then the list is taken from a built-in collection -- of English language words. -- -- Better localization in several ways would be nice, including a better -- source of words for languages that are incompatible with the ISO -- 8859-1 character encoding used for usrsharedictwords, -- and localization for platforms that do not have words files. module Language.Words allWords :: [Text] allStringWords :: [String]