rule : Review.Rule.Rule
Reports in types of module scope declarations
- single-use type variables that don't have a -_ suffix
- multi-use type variables that have a -_ suffix
config =
[ OnlyAllSingleUseTypeVarsEndWith_.rule
]
Fail
empty : List element
drop : Int -> List element_ -> List element_
Success
empty : List element_
drop : Int -> List element -> List element
Why you might not want this
- You want to keep the conventional way of naming type variables for consistency?
- You already use the -_ suffix in possibly multi-use type variables?
- You dislike having possibly multi-use -_ suffixed type variables in your let declarations?