Skip to content

Comment on Show HN: A threaded, TCP, key value store in Haskell

Comments

    conv k v db = insert k v db
You could rewrite that as:
    conv = insert
Probably some remnant of you figuring out how you should write appV, which is a proper helpful function, but probably should be called updateTVar or something :)

LOL, thanks! You're absolutely right. You hack and hack until you just can't see what's right in front of you.

hslint will also find things like this.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.