Input *.wit
interface host-funcs {
current-user: func() -> string
}
world demo {
import host: host-funcs
default export interface {
record person {
name: string,
age: u32,
}
// Say hello to either the specified person or the current user
hello: func(who: option<person>) -> string
}
}