Persimmon


Writable

Namespace: Persimmon.Output

Some implementations of the IWritable.

Functions and values

Function or valueDescription
char(ch)
Signature: ch:char -> IWritable

Create IWritable that writes one character to TextWriter.

doNothing
Signature: IWritable

This does not write anything to TextWriter.

group(writables)
Signature: writables:seq<IWritable> -> IWritable

Create IWritable that is a grouping of multiple IWritable.

newline
Signature: IWritable

Create IWritable that writes newline to TextWriter.

stringSeq(strs)
Signature: strs:seq<string> -> IWritable

Create IWritable that writes lines to TextWriter.

xdocument(xdoc)
Signature: xdoc:XDocument -> IWritable

Create IWritable that writes xml to TextWriter.

Fork me on GitHub