You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use hlint to output warnings for definitions of identifiers (type or value) that contain capitalisms, e.g., getSMSOTP. This is almost what the camelCase rule does.
The rule formal rule would be this: no two consecutive capitals on the LHS of type, data, newtype, =, <-.
What is the recommended way to implement this?
The text was updated successfully, but these errors were encountered:
I think before adding it to HLint it would be best to try and get this agreed by the Haskell community. Does the base library follow this rule? Do common style guides recommend it?
All I can say to defend this idea currently is that this is the style we want to enforce at my job, and I thought hlint would be the best way to do that.
I would like to use hlint to output warnings for definitions of identifiers (type or value) that contain capitalisms, e.g.,
getSMSOTP
. This is almost what thecamelCase
rule does.The rule formal rule would be this: no two consecutive capitals on the LHS of
type
,data
,newtype
,=
,<-
.What is the recommended way to implement this?
The text was updated successfully, but these errors were encountered: