sprache/Sprache — pull request #2 by iSynaptic (2012-12-27 08:15:43+00:00)
Title: Simplifying Parser Result

This change removes the need to cast an ```IResult``` to either an ```ISuccess``` or an ```IFailure``` to determine success or failure - it does this by combining both interfaces into one (```IResult```) and introducing a boolean ```WasSuccessful``` property to test for success or failure.

Additionally, this change adds a helper static class, ```Result```, to make it easy to create success or failure results. This makes it easier to create parser results for custom parser combinators and for unit tests.

All tests have been run and pass.