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