Skip to content

Instantly share code, notes, and snippets.

@llinardos
Last active May 8, 2018 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save llinardos/9f8fbf36ecd61db95663fa25ab40c817 to your computer and use it in GitHub Desktop.
Save llinardos/9f8fbf36ecd61db95663fa25ab40c817 to your computer and use it in GitHub Desktop.
let successResult: Result<[Thing]> = .success([aThing, anotherThing])
let failureResult: Result<[Thing]> = .failure(Error(...))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment