         && lhs.build == rhs.build
 }
 
+
+// MARK: - Comparable
+
+extension Version : Comparable {}
 
 public func <(lhs: Version, rhs: Version) -> Bool {
     if (lhs.major < rhs.major

}


// MARK: Operators
// required by Equatable, Comparable

public func ==(lhs: Version, rhs: Version) -> Bool {
    return lhs.major == rhs.major

import Foundation


public struct Version {
    public var major: Int
    public var minor: Int?
    public var patch: Int?
