The module provides functions for working with the binary representation of the historical dictionary of Polish. The dictionary is stored on a disk but we assume that it doesn't change throughtout the program session so that we can provide the pure interface for dictionary reading and searching.
Load dictionary from a disk in a lazy manner. Return
if the path doesn't correspond to a binary representation of the
A PolhM monad is a wrapper over the Polish historical dictionary in a binary form.
Execute the Polh monad against the binary Polh representation located in the given directory. Return Nothing if the directory doesnt' exist or if it doesn't look like a Polh dictionary. We assume that the binary representation doesn't change so we can provide the pure interface.