[web-devel] Data.Word8 (word8 library)

Bas van Dijk v.dijk.bas at gmail.com
Thu Sep 20 17:59:46 CEST 2012


On 20 September 2012 17:57, Bas van Dijk <v.dijk.bas at gmail.com> wrote:
> toLower :: Word8 -> Word8
> toLower w
>   |  65 <= w && w <=  90 ||
>     192 <= w && w <= 214 ||
>     216 <= w && w <= 222 = w + 32
>   | otherwise            = w

BTW if nobody minds the extra dependency, I would probably accept a
patch that replaces these numbers by nicer looking symbols from your
word8 package.



More information about the web-devel mailing list