I want to create an interface for a (numeric) algorithm for which I want to provide an implementation with ndarray and similar libraries (let's say pytorch bind
I have the following protocol and a class that conforms to it: protocol Foo{ typealias BazType func bar(x:BazType) ->BazType } class Thing: Foo {