Zulip Chat Archive
Stream: Is there code for X?
Topic: Typeclass for 3,4,...,n distinct elements
SnO2WMaN (Apr 03 2024 at 09:20):
I know there's a typeclass for when there's a single element (Inhabited
), and another for when there are two distinct elements (Nontrivial
). Are there similar typeclasses for three, four, and in general, n?
Yaël Dillies (Apr 03 2024 at 09:21):
No, we don't have that
Last updated: May 02 2025 at 03:31 UTC