Navigation
Synopsis Print a value and return true.
Function bool bprintln(value arg)
Usage import IO;
Description Print a value and return true. This is useful for debugging complex Boolean expressions or comprehensions. The only difference between this function and println is that its return type is bool rather than void.
Examples
rascal>import IO;
ok
rascal>bprintln("Hello World");
Hello World
bool: true
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.