 //: amazing ways.
 
 // `Gen.oneOf` randomly picks one of the generators from the given list and draws element from it.
-let uppersAndLowers = Gen<Character>.oneOf([
+let uppersAndLowers = Gen<Character>.one(of: [
 	lowerCaseLetters,
 	upperCaseLetters,
 ])

//: 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([
	lowerCaseLetters,
	numeric,
	Gen.pure("-"),

fromOnetoFive.generate
fromOnetoFive.generate

let lowerCaseLetters : Gen<Character> = Gen<Character>.fromElements(in: "a"..."z")

lowerCaseLetters.generate
lowerCaseLetters.generate
lowerCaseLetters.generate

let upperCaseLetters : Gen<Character> = Gen<Character>.fromElements(in: "A"..."Z")

upperCaseLetters.generate
upperCaseLetters.generate
