optional

fun <T> Parser<T>.optional(): (Parseable) -> Pair<Parseable, Option<T>>

Returns a parser that always succeeds and returns the optional value if input was consumed