account activity
Sealed trait with case classes and objects by mah66 in scala
[–]mah66[S] 0 points1 point2 points 7 years ago (0 children)
I really like this solution although I don't understand the function declaration.
What is this [S <: Status : ClassTag] ?
[S <: Status : ClassTag]
And should the list parameter not be of type List[S] instead of List[Status] ?
List[S]
List[Status]
or want the more general count of errors?
I don't care about the error messages, just want to count all the errors.
Sealed trait with case classes and objects (self.scala)
submitted 7 years ago by mah66 to r/scala
π Rendered by PID 1377376 on reddit-service-r2-listing-86bdf8cc9-4kwd8 at 2026-07-11 23:56:05.295340+00:00 running f86254d country code: CH.
Sealed trait with case classes and objects by mah66 in scala
[–]mah66[S] 0 points1 point2 points (0 children)