Writable
trait Writable[t: Type]SourceA trait for types which are resources that can be written to.
Associated Types
type Aef: EffSourceEffect associated with writing to the underlying resource.
type Elm: TypeSourceType of each element that can be written to the resource.
Signatures
def write(buffer: Array[Elm[t], r], writer: t): Result[IoError, Int32] \ r + Aef[t] with Writable[t]
 SourceReads k items from b and writes them into the underlying resource.
Returns Ok(k) to signify that k items were successfully read and written to r.
Guarantees that 0 <= k <= length(b).
Returns Err(e) if some underlying I/O error occurs.
Module Definitions
def writeLine(line: String, writer: t): Result[IoError, Unit] \ IO + Aef[t] with Writable[t] where Writable.Elm[t] ~ Char
 SourceWrites line to writer and appends a new line separator.
The new line separator is platform dependent, and is determined by the "line.separator" system property.