statebox / cql

CQL: Categorical Query Language implementation in Haskell
GNU Affero General Public License v3.0
163 stars 15 forks source link

abbreviate repeated qualifiers #121 #125

Closed marcosh closed 5 years ago

marcosh commented 5 years ago

@wisnesky I changed ShowOrdTypeableNFDataN to MultiTyMap '[Show, Ord, Typeable, NFData]. I'd like, at least for the moment, to keep the used types explicit. This solution should be a good compromise between clarity and brevity.

Once we are at a more advanced state of the project, we can define a type alias to hide these details

wisnesky commented 5 years ago

Repeating 'Ord, Show' etc at each function definition or using an opaque name is a matter of style, so I'll defer to @epost.

marcosh commented 5 years ago

@epost conflicts resolved and docs added