We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 231aef0 + a9e32a8 commit d3d6335Copy full SHA for d3d6335
src/main/kotlin/Word.kt
@@ -35,7 +35,7 @@ class Word(val parts: Sequence<String>) {
35
fun flatMapParts(transform: (String) -> Sequence<String>) = Word(parts.flatMap(transform))
36
37
/**
38
- * Creates a new words, with all its parts parsed by the provided [notation]. Allows to parse words that use a combination of notations.
+ * Creates a new word, with all its parts parsed by the provided [notation]. Allows to parse words that use a combination of notations.
39
*/
40
fun partsFromNotation(notation: StringNotation) = Word(parts.flatMap { it.fromNotation(notation).parts })
41
0 commit comments