doc "A top-level function, with multi-line documentation." void topLevel(String? a, Integer b=5, String... seqs) { function nested(String s) { print(s[1..2]); return true; } for (s in seqs.filter((String x) x.size > 2)) { nested(s); } value uppers = seqs.sequence[].uppercased; String|Nothing z = a; Sequence ints = { 1, 2, 3, 4, 5 }; } shared class Example(name, element) satisfies Comparable> given Element satisfies Comparable { shared String name; shared Element element; shared actual Comparison compare(Example other) { return element <=> other.element; } shared actual String string { return "Example with " + element.string; } } Example instance = Example { name = "Named args call"; element = 5; };