1package value 2 3// RawFunction allows creating function implementations using raw River values. 4// This is useful for functions which wish to operate over dynamic types while 5// avoiding decoding to interface{} for performance reasons. 6// 7// The func value itself is provided as an argument so error types can be 8// filled. 9type RawFunction func(funcValue Value, args ...Value) (Value, error) 10 11