![]() |
|
Navigation |
Synopsis Print an indented representation of a value to the specified location.
Function
void iprintToFile(loc file, value arg)
Usage
import IO;
Description See iprint for a version that displays the result on the console
and iprintExp for a version that returns its argument as result
and iprintln for a version that adds a newline.
Examples
rascal>import IO; ok rascal>iprintToFile(|file:///tmp/fruits.txt|, ["fruits", ("spider" : 8, "snake" : 0), [10, 20, 30]]); ok ![]() |