package fmlib_pretty

  1. Overview
  2. Docs
Pretty printing support for tree like structures

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.6.1.tar.gz
sha256=22d5648fe40ab6c6106ee4c7092db6f3547b721c299092dd12f092a307c8ac59

doc/fmlib_pretty/Fmlib_pretty/Pretty/Stream/index.html

Module Pretty.Stream

Lazy stream of characters

type t

t A stream of items.

val has_more : t -> bool

has_more s Does the stream s have more items?

val peek : t -> char

peek s Peek the next item from the stream s.

Precondition: has_more s

val advance : t -> t

advance s Pop the top item off the stream s.

Precondition: has_more s