haskellfoundation / HaskellSchool

Apache License 2.0
51 stars 11 forks source link

Code style: Mandate unqualified types in the absence of conflict and explicit import statements #8

Closed Kleidukos closed 3 years ago

Kleidukos commented 3 years ago

I do not wish to clutter the reading with qualified data-types for APIs whose functions have conflicts (Vector, Text, Map, Set, etc).

We should do this instead:

import Data.Vector (Vector)
import qualified Data.Vector as V
TrueBoxGuy commented 3 years ago

Do you want me to integrate this into the style guide as part of resolving the issue?

I can also check that pull requests conform to this.

Kleidukos commented 3 years ago

@TrueBoxGuy Yes that was for introduction in the style guide. :)