yes, which is why Monad should be an interface that types like List, Option, Result etc implement, instead of flatMap being just a random discrete function that exists on random types by accident, with no common abstract link between them
Kotlin, Java, basically every other language except Haskell, F# etc didn't get that memo
Kotlin, Java, basically every other language except Haskell, F# etc didn't get that memo