Skip to content

Commit

Permalink
Fixed spelling in Tables.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mansbernhardt committed Aug 31, 2018
1 parent 0048d8e commit 5f555c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/Tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ typealias Row = Either<Int, String>
let table = Table<(), Row>(rows: [.left(1), .right("A")])
```

If you have more than two different types you can furhter nest `Either` types:
If you have more than two different types you can further nest `Either` types:

```swift
typealias Row = Either<Either<Int, String>, Double>
let table = Table<(), Row>(rows: [.left(.left(1)), .left(.right("A")), .right(3.14)]])
```

If you are ok to loose type information you can also consider using the `MixedReusable` helper:
If you are ok with losing type information you can also consider using the `MixedReusable` helper:

```swift
var mixedTable = Table<(), MixedReusable>(rows: [.init(1), .init("A"), .init("B"), .init(2)])
Expand Down

0 comments on commit 5f555c7

Please sign in to comment.