What is the correct way to create a semigroup for ...
# arrow
c
What is the correct way to create a semigroup for
Nel
? I’m doing something along the lines of
list.parTraverseValidated(Nel.semigroup(), ::foobar)
but this is not correct
s
Hey @Cody Mikol, It’s the other way around.
Semigroup.nonEmptyList()
. The instances are always present on the companion of the interface.
c
🙌 Thank you
🙌 1