All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.tel.schich.parserkombinator.ParserResult.kt Maven / Gradle / Ivy

There is a newer version: 0.3.0
Show newest version
package tel.schich.parserkombinator

sealed interface ParserResult {

    val rest: StringSlice

    data class Ok(val value: T, override val rest: StringSlice) : ParserResult
    data class Error(val message: String, override val rest: StringSlice) : ParserResult
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy