Drop 'All' data constructor from 'Lang'
Removing the `All` data constructor from the `Lang` datatype has several benifits, the main one being that we now have total functions for things like `toISO693`. This will make possible to write an uniform interface for stemming `stem :: Lang -> StemmingAlgorithm -> T.Text -> T.Text`, as now `Lang` will always map to a valid (ISO693) language.
Showing
Please register or sign in to comment