NovelIO


TextChannel

Namespace: NovelFS.NovelIO

Operations on text channels

Functions and values

Function or valueDescription
close channel
Signature: channel:TChannel -> IO<unit>

An action that closes a text channel

getLine channel
Signature: channel:TChannel -> IO<string>

An action that reads a line from the text channel

isEOF channel
Signature: channel:TChannel -> IO<bool>

An action that determines if the text channel is at the end of the file. This a synonym for isEOS

isEOS channel
Signature: channel:TChannel -> IO<bool>

An action that determines if the text channel is at the end of the stream. This a synonym for isEOF

isReady channel
Signature: channel:TChannel -> IO<bool>

An action that determines if the text channel has data available

putStrLn channel str
Signature: channel:TChannel -> str:string -> IO<unit>

An action that writes a line to the text channel

Fork me on GitHub