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