look

fun <A> look(): Parser<A, List<A>>

A parser that returns the current input without consuming any symbols.

Return

A parser that returns the current input and the current index.