@igallegosagas

Learning some Cats for wirk
[ 3 replies ]

Scala

Medium
9 tips about using cats in Scala you might want to know
The *> operator, defined on any Apply (so, Applicative, Monad etc.), simply means "process the original computation, and replace the result with whatever is given in the second argument", or, in code terms (in the Monad variant) :
...
more importantly, >> has the second operand be invoked call-by-name, i.e. fb: => F[B] .
...
mapN is a helpful utility function in the context of tuples.
[
]
Always room for more cats! cc @felipe @romulodiniz @yadukrishnan
[
]
@igallegosagas how's your experience so far? are you coming from standard scala, scalaz or zio? thank you for sharing!

@micshasan
[
]
[ post ]