improvements to Result
Merge pull request #9 from jniznan/result_improvements

improvements to Result