1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
package foo:foo; interface foo { a: func(); } interface bar { a: func(x: u64, y: string); } interface baz { baz: func(x: list<u8>) -> list<u8>; } world module { import bar; import baz; import foo; }