Fixed type signature for decodeByName

There was accidentally an extra '=>' instead of '->'
Generalized dependencies

This allows it to compile on the Haskell Platform that comes with Debian stable
Merge pull request #1 from Gabriel439/master

Two fixes