Globals are default private
in Rascal, to prevent you from easily doing such nastiness :-)
module Foo
public int x = 1;
int x() = 1;
This is a bit inconsistent, since the function is public
by default but not when you consider that we will eventually remove globals from the language :-)