 		self.other = y
 	}
 	
+	/// Check if both specifications are satisfied.
+	///
+	/// - parameter candidate: The object to be checked.
+	///
+	/// - returns: `true` if the candidate satisfies both specifications, `false` otherwise.
 	public func isSatisfiedBy(_ candidate: Any?) -> Bool {
 		return one.isSatisfiedBy(candidate) && other.isSatisfiedBy(candidate)
 	}
 }
 
+
+/// Check if either of the specifications are satisfied.
+///
+/// This is a composite specification that combines two specifications
+/// into a single specification.
 public class OrSpecification: Specification {
 	private let one: Specification
 	private let other: Specification

// MIT license. Copyright (c) 2016 SwiftyFORM. All rights reserved.

/// A type that can check whether or not a candidate object satisfy the rules.
///

	}
}


/// Check if two specifications are both satisfied.
///
/// This is a composite specification that combines two specifications 
/// into a single specification.
public class AndSpecification: Specification {
	private let one: Specification
	private let other: Specification
