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)
| 259 | // |
| 260 | // Deprecated: use SingletonBinaryBinding |
| 261 | func SingletonBinaryImpl(fn functions.BinaryOp, traits ...int) FunctionOpt { |
| 262 | return decls.SingletonBinaryBinding(fn, traits...) |
| 263 | } |
| 264 | |
| 265 | // SingletonBinaryBinding creates a singleton function definition to be used with all function overloads. |
| 266 | // |
nothing calls this directly
no test coverage detected