@lyxal I have a little example using Scala
here. I'll add an explanation later. It's a little more verbose than Python because of the wrapping in
VList
,
VNum
, etc. and then unboxing using
.lst
,
.num
, etc. but we can just use
Any
instead or there's a chance union types might work (but we'll probably have to use
Any
)