Open
Description
We'd like to inject effectively an entire package into our Expr environment with a dozen or so methods. We were hoping to be able to effectively treat it like Go's package syntax and do something like:
expr.Function("pkg.NewThing", func(p ...any) (any, error) { }
But pkg.
seems disallowed as the Compile step throws an error like:
unknown name pkg (1:9)
| let x = pkg.NewThing([1, 2, 3]); x.String()
| ........^