Unfortunately traits with generics aren't object-safe, so dyn Trait won't work. But you can use Either (see previous screenshot)
Unfortunately traits with generics aren't object-safe, so dyn Trait won't work. But you can use Either (see previous screenshot)
clojure doesn't have type based function overloads, so this is a workaround.
think of it as protocols, but at macroexpansion time.
clojure doesn't have type based function overloads, so this is a workaround.
think of it as protocols, but at macroexpansion time.