What's the syntax for two bounds in generics? ```f...
# getting-started
r
What's the syntax for two bounds in generics?
Copy code
fun <A: Enum<A>, Positional> EnumSet<A>.toByte(): Byte {
Apparently it's not
,
nor
:
e
Copy code
fun <A> EnumSet<A>.toByte(): Byte where A: Enum<A>, A: Positional {
https://kotlinlang.org/docs/generics.html#generic-constraints
r
Neat, thanks!