SRFI 166: Monadic Formatting

by Alex Shinn

status: final (2020-07-30)

keywords: I/O

See also SRFI 13: String Libraries, SRFI 159: Combinator Formatting, and SRFI 165: The Environment Monad.

Abstract

A library of procedures for formatting Scheme objects to text in various ways, and for easily concatenating, composing and extending these formatters efficiently without resorting to capturing and manipulating intermediate strings.

This SRFI is an updated version of SRFI 159, primarily with the difference that state variables are hygienic.

Summary of differences from SRFI 159: