Generic formatter (parser/printer).

IParserFactory

Available since version 1.0 (view source)

not referred automatically

PROTOCOL with method -parse

A factory protocol for parsers.

See also: parser?, parse, parse-whole

-parse

Available since version 1.0 (view source)

not referred automatically

Usage:
  • (-parse this)

  • (-parse this coll)

Type signatures:
  • (IParserFactory) → Transducer

  • (IParserFactory ⨯ []) → IRed

Returns a transducer which parses step items or returns recipe of parsed items if coll is supplied.

See also: IParserFactory

IPrinterFactory

Available since version 1.0 (view source)

not referred automatically

PROTOCOL with method -print

A factory protocol for printers.

See also: printer?, print, print-one

-print

Available since version 1.0 (view source)

not referred automatically

Usage:
  • (-print this)

  • (-print this coll)

Type signatures:
  • (IPrinterFactory) → Transducer

  • (IPrinterFactory ⨯ []) → IRed

Returns a transducer which prints step items items or returns recipe of printed items if coll is supplied.

See also: IPrinterFactory