diff --git a/README b/README index 15f08d3..3b46211 100644 --- a/README +++ b/README @@ -74,13 +74,13 @@ individual instances. For example, the otherwise method: T otherwise(T defaultValue); -will return the Maybe's value if it exists one and the defaultValue if -there is not. E.g. +will return the Maybe's value if it is known and the defaultValue if it is not. +E.g. assertThat(unknown().otherwise(""), equalTo("")); assertThat(definitely("foo").otherwise(""), equalTo("foo")); -Otherwise is overloaded to take a Maybe as a default: +Otherwise is overloaded to take a Maybe as a default: Maybe otherwise(Maybe maybeDefaultValue);