-- tests/import.cat -- `use name` imports by module name. -- -- The operand is a bare module name (`math`) or a path string. A name -- resolves (in order) to: , .cat, std//.cat, -- /.cat, std/.cat. A path is used as-is. use math print("double 21 =", double(21)) print("square 7 =", square(7)) use io print("join:", join({"a", "b", "c"}, "-")) -- a path string still works (used as-is) use "std/math/math.cat" print("abs(-5) =", abs(-5))