expect

fun <T> ListReader<T>.expect(value: T): T