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