• Alfredo Di Napoli's avatar
    Drop 'All' data constructor from 'Lang' · 63fcd605
    Alfredo Di Napoli authored
    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.
    63fcd605
Name
Last commit
Last update
..
API Loading commit data...
Core Loading commit data...
Data/HashMap/Strict Loading commit data...
Database Loading commit data...
System Loading commit data...
Utils Loading commit data...
API.hs Loading commit data...
Core.hs Loading commit data...
Database.hs Loading commit data...
Defaults.hs Loading commit data...