Comfy Cats Effect room. Ask questions. Rant about config file formats. Be nice!
F[_]
means in terms of language feature
kind
?
F[_]
is a higher kinded type parameter
*
(pronounced star
, or type
)
Int
String
Option[Int]
, Option[List[Either[String, Int]]]
etc
Option
has kind * -> *
, because it requires a proper type (say Int
), and it gives you another proper type Option[Int]
Either
is of kind * -> * -> *
(they are curried, so you can think of it as having two arguments)
Resource
is (* -> *) -> * -> *
* -> *
and a second of kind *
and it gives you something of kind *
Resource[IO, Int]