@hackage enumerate0.0.0

enumerate all the values in a finite type (automatically)

enumerate

enumerate all the values in a finite type (automatically)

(extensive) documentation

https://hackage.haskell.org/package/enumerate