rampion/ReadArgs — pull request #1 by DanBurton (2012-01-06 16:18:45+00:00)
Title: Add instance for single arguments

As implemented by Adam Wagner: http://stackoverflow.com/a/8752683

No additional language pragmas were necessary, since ReadArgs.hs already uses Flexible, Undecidable, Overlapping Instances. I made sure that it cabal-dev installs still, but haven't performed any testing on the end product. Intuition says that Adam's testing should be relevant, but if you have a test suite you might want to run it through again just in case this screws up optional args or varargs or something. I can't imagine how it would, though.