kwechiri:eriri
The module exports five provisional pre-1.0 functions. All are pure, non-mutating, case-sensitive, and free of implicit coercion or normalization.
| Function | Signature | Meaning |
|---|---|---|
nwereEriri | (string, string) -> boolean | Contains |
maliteNa | (string, string) -> boolean | Starts with |
kwụsịNa | (string, string) -> boolean | Ends with |
ogologoEriri | (string) -> number | Grapheme-cluster length |
jikọọEriri | (string, string) -> string | Exact concatenation |
Standard Library .kwe
webata { nwereEriri, maliteNa, kwụsịNa, ogologoEriri, jikọọEriri } site na "kwechiri:eriri"
bipụta(nwereEriri("Kwechiri", "chiri"))
bipụta(maliteNa("Kwechiri", "Kwe"))
bipụta(kwụsịNa("Kwechiri", "chiri"))
bipụta(ogologoEriri("Ụbọchị"))
bipụta(jikọọEriri("Kwe", "chiri")) Output: eziokwu
eziokwu
eziokwu
6
Kwechiri
Exact string behavior
- Matching is case-sensitive and exact.
- String contents are not normalized.
- The empty string is contained in every string and is a prefix and suffix of every string.
ogologoEriricounts user-perceived characters; an Igbo letter with combining marks counts once.jikọọEririjoins exact raw sequences without inserting separators.- Wrong arity and statically known wrong argument types are located semantic errors.
The names are provisional.
All five string function names remain subject to the 1.0 terminology
review.
Read the Standard Library documentation and ADR-020 through ADR-023 for the full contract.