package my:resources; interface with-lists { resource x { constructor(l: list); get: func() -> list; set: func(l: list); etc: static func(l: list) -> list; } } world resources { import with-lists; export with-lists; }