 
 /*** What is functional programming? ***/
 
-/* This is an unfunctional function */
+// Unfunctional
 
 var a = 0
 

let helloCountFunctional = greetings.reduce(0, combine: { $0 + ((string($1, contains:"hello")) ? 1 : 0) })

print(helloCountFunctional)

///////////////////////////////////////////////////////


let myBandTransform = composeBandTransforms(setCanadaAsCountry, capitalizeName)
let formattedBands = bands.map { band in myBandTransform(band) }

print(bands)
print(formattedBands)

// Functional 3
