pona/compound
Types
pub type Compound {
Compound(word: String, definitions: Dict(String, Int))
}
Constructors
-
Compound(word: String, definitions: Dict(String, Int))
pub type CompoundError {
DynamicError(dynamic.Dynamic)
WordNotFound(String)
}
Constructors
-
DynamicError(dynamic.Dynamic)
-
WordNotFound(String)
pub type CompoundFetcher {
CompoundFetcher(english: String)
}
Constructors
-
CompoundFetcher(english: String)
Functions
pub fn get_definitions(compound: Compound) -> Dict(String, Int)