(self: Doc.Doc<A>)
| 405 | |
| 406 | /** @internal */ |
| 407 | export const unbounded = <A>(self: Doc.Doc<A>): DocStream.DocStream<A> => |
| 408 | wadlerLeijen( |
| 409 | self, |
| 410 | (stream) => !failsOnFirstLine(stream), |
| 411 | { pageWidth: InternalPageWidth.unbounded } |
| 412 | ) |
| 413 | |
| 414 | const failsOnFirstLine = <A>(self: DocStream.DocStream<A>): boolean => { |
| 415 | let stream = self |
no test coverage detected