Returns an enumeration over lines of an input channel, as read by the
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.