Open armanbilge opened 2 years ago
Either.unit is a Cats syntax and is cached, so saves the allocation.
Either.unit
Another one in this guise is that ().pure[F] should be rewritten to Applicative[F].unit.
().pure[F]
Applicative[F].unit
Either.unit
is a Cats syntax and is cached, so saves the allocation.