2 importJava "org.simantics.scl.runtime.procedure.StringIO" where
\r
3 "Reads all lines of the file whose name is given as a parameter"
\r
4 readLines :: String -> <Proc> [String]
\r
6 "`readLinesWithCharset \"charset\" \"file\"` reads all lines of the file whose name is given as a parameter using the given charset."
\r
7 readLinesWithCharset :: String -> String -> <Proc> [String]
\r
9 "Creates a new file with the given file name whose contents are the given lines."
\r
10 writeLines :: String -> [String] -> <Proc> ()
\r
12 "`appendLine fileName line` appends `line` to the file with name `fileName`"
\r
13 appendLine :: String -> String -> <Proc> ()
\r