7 lines
79 B
Swift
7 lines
79 B
Swift
import Foundation
|
|
|
|
public enum Either<A, B> {
|
|
case left(A)
|
|
case right(B)
|
|
}
|