Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Additional functions.
val input_lines : in_channel -> string Enum.t
Returns an enumeration over lines of an input channel, as read by the input_line
function.
val input_chars : in_channel -> char Enum.t
Returns an enumeration over characters of an input channel.
val input_list : in_channel -> string list
Returns the list of lines read from an input channel.
val input_all : in_channel -> string
Return the whole contents of an input channel as a single string.
creates a filename, write text into it and close it.
represent a runtime value as a string. Since types are lost at compile time, the representation might not match your type. For example, None will be printed 0 since they share the same runtime representation.