samisagit / natskell

A NATS client library written in Haskell
MIT License
7 stars 0 forks source link

Use min/max bound in ranges #58

Closed samisagit closed 2 years ago

samisagit commented 2 years ago
charCases = zip (map charToByteString ['\t'..'~']) [W8._tab..W8._tilde]

could use minBound and maxBound, which would be more readable and make sure we're accounting for all chars