← Back to context Comment by pyrolistical 9 hours ago I don’t get itWhy write:EqPoint.eql(a, c)When you can write:Point.eql(a, c) 1 comment pyrolistical Reply riffraff 8 hours ago I believe EqPoint allows you to pass around a bag of functions (aka an interface, which Zig does not have as a concept) to functions which can be written in terms of "I need these functions" rather than in terms of a concrete type.
riffraff 8 hours ago I believe EqPoint allows you to pass around a bag of functions (aka an interface, which Zig does not have as a concept) to functions which can be written in terms of "I need these functions" rather than in terms of a concrete type.
I believe EqPoint allows you to pass around a bag of functions (aka an interface, which Zig does not have as a concept) to functions which can be written in terms of "I need these functions" rather than in terms of a concrete type.