informatikr / hedis

A Redis client library for Haskell.
http://hackage.haskell.org/package/hedis
BSD 3-Clause "New" or "Revised" License
327 stars 121 forks source link

What does the `Bool` result for `hset` signify? #152

Closed kahlil29 closed 3 years ago

kahlil29 commented 3 years ago

I've used the hset function and it makes the call and returns a False but the value was written to the Redis Store perfectly without any issues. As per the Redis docs, this command returns an Integer.

k-bx commented 3 years ago

@kahlil29 you are correct, it should probably be an Integer, not a Bool. Would you care enough to make a PR? (with tests)