News for hackers. Stuff that matters.
Re:Swift Functors, Applicatives, and Monads in Pictures by octocoupler on Wednesday July 15, 2015 @07:51AM (#9890809)
How do your examples specify that T and U are generics?
Re:Swift Functors, Applicatives, and Monads in Pictures by kittenfluff on Wednesday July 15, 2015 @10:47AM (#9891522)
As I said, in Haskell "unquantified type variables are implicitly universally quantified" i.e. type variables (which are always lowercase in Haskell, to distinguish them from concrete types which are uppercase) are always generic.

So it's true that in the Swift examples, you would need a convention to distinguish type variables from concrete types, or else you need to explicitly mark them as generic.