   ///         .success(n + 1)
   ///     }
   ///
-  ///     let result = getNextInteger().map({ getNextAfterInteger($0) })
+  ///     let result = getNextInteger().map { getNextAfterInteger($0) }
   ///     // result == .success(.success(5))
   ///
-  ///     let result = getNextInteger().flatMap({ getNextAfterInteger($0) })
+  ///     let result = getNextInteger().flatMap { getNextAfterInteger($0) }
   ///     // result == .success(5)
   ///
   /// - Parameter transform: A closure that takes the success value of the

  ///
  ///     let integerResult = getNextInteger()
  ///     // integerResult == .success(5)
  ///     let stringResult = integerResult.map({ String($0) })
  ///     // stringResult == .success("5")
  ///
  /// - Parameter transform: A closure that takes the success value of this

  ///
  ///     let result: Result<Int, Error> = // ...
  ///     // result == .failure(<error value>)
  ///     let resultWithDatedError = result.mapError { DatedError($0) }
  ///     // result == .failure(DatedError(error: <error value>, date: <date>))
  ///
  /// - Parameter transform: A closure that takes the failure value of the
