Navigation
Synopsis Print a indented representation of a value and add a newline at the end.
Function void iprintln(value arg)
Usage import IO;
Description See iprintlnExp for a version that returns its argument as result and iprint for a version that does not add a newline.
Examples
rascal>import IO;
ok
rascal>iprintln(["fruits", ("spider" : 8, "snake" : 0), [10, 20, 30]]);
[
  "fruits",
  ("snake":0,"spider":8),
  [10,20,30]
]
ok
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.