The author chooses Bytestring as the type for both Key and Value. But isn’t it better to use Text?
Redis uses pascal style length prefixed C locale byte strings as its value format. Text in Haskell is Unicode text, and might also be null terminated, which would make it incompatible.
The author chooses Bytestring as the type for both Key and Value. But isn’t it better to use Text?
Redis uses pascal style length prefixed C locale byte strings as its value format. Text in Haskell is Unicode text, and might also be null terminated, which would make it incompatible.