Fix example for fold

Need to provide a type for the example to work
Merge pull request #2 from novemberkilo/master

Fix example for Result.fold