Skip to content

Instantly share code, notes, and snippets.

@CoditCompany
Created August 24, 2017 08:04
Show Gist options
  • Select an option

  • Save CoditCompany/7d5bd057cadea3891eca3db3adb2106b to your computer and use it in GitHub Desktop.

Select an option

Save CoditCompany/7d5bd057cadea3891eca3db3adb2106b to your computer and use it in GitHub Desktop.
if (maybeThis.IsPresent)
{
Maybe<That> maybeThat = maybeThis.Value.GetMaybeThat();
if (maybeThat.IsPresent)
{
Maybe<AnotherThing> maybeAnother = maybeThat.Value.GetMaybeAnother();
if (maybeAnother.IsPresent)
{
...
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment