SingletonBinaryImpl creates a singleton function definition to be used with all function overloads. Note, this approach works well if operand is expected to have a specific trait which it implements, e.g. traits.ContainerType. Otherwise, prefer per-overload function bindings. Deprecated: use Singl
(fn functions.BinaryOp, traits ...int)
| 263 | // |
| 264 | // Deprecated: use SingletonBinaryBinding |
| 265 | func SingletonBinaryImpl(fn functions.BinaryOp, traits ...int) FunctionOpt { |
| 266 | return decls.SingletonBinaryBinding(fn, traits...) |
| 267 | } |
| 268 | |
| 269 | // SingletonBinaryBinding creates a singleton function definition to be used with all function overloads. |
| 270 | // |
nothing calls this directly
no test coverage detected