Result

class Result(val iter: Iterator<Str>, val completedLineCount0: () -> Int, val lastLineLength0: () -> Int)

The intermediate return type of the pretty-print system: provides an iterator which produces the actual string output, as well as metadata around that output that is only available after the iterator is exhausted

Constructors

Link copied to clipboard
constructor(iter: Iterator<Str>, completedLineCount0: () -> Int, lastLineLength0: () -> Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val lastLineLength0: () -> Int

Functions

Link copied to clipboard
fun flatMap(f: (Int, Int) -> Result): Result