Is there an equivalent of Nil for Set in scala?
Nil
Set
I tried using Nil as a value for Set, but I got an error (expected s
You can use Set.empty or simply Set().
Set.empty
Set()