original.name="Template_Valid_31" ====== >>> main.whiley public type Attribute is { function handler(T)->(T) } public type Node is { Attribute[] attributes } public function h1() -> Node: return { attributes: [] } public type State is { bool flag } function view(State s) -> Node: return h1() public export method test(): // assume view({flag:false}) == { attributes: [] } ---