 //: The RFC says that the host name can only consist of lowercase letters, numbers, and dashes.  We'll skip some
 //: steps here and combine them all into one big generator.
 
-let hostname = Gen<Character>.oneOf([
+let hostname = Gen<Character>.one(of: [
 	lowerCaseLetters,
 	numeric,
 	Gen.pure("-"),

reportProperty("All Prime") <- forAll { (n : Positive<Int>) in
	let primes = sieve(n: n.getPositive)
	return primes.count > 1 ==> {
		let primeNumberGen = Gen<Int>.fromElementsOf(primes)
		return forAll(primeNumberGen) { (p : Int) in
			return isPrime(p)
		}


// `Gen.fromElementsIn` constructs a generator that pulls values from inside the  bounds of the 
// given Range.  Because generation is random, some values may be repeated.
let fromOnetoFive = Gen<Int>.fromElements(in: 1...5)

fromOnetoFive.generate
fromOnetoFive.generate
