Skip to content

Instantly share code, notes, and snippets.

@RobertFischer
Created December 15, 2017 15:37
Show Gist options
  • Save RobertFischer/0131a21170bcfe2acab04d2d12235983 to your computer and use it in GitHub Desktop.
Save RobertFischer/0131a21170bcfe2acab04d2d12235983 to your computer and use it in GitHub Desktop.
providerName =
case global.selectedProvider of
Nothing -> "(None)"
provider.name
-- Same as
providerName = Maybe.unwrap "(None)" .name global.selectedProvider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment