// Lets take an old exampleenumGenre{casefictioncasescificasenonFictioncasehistorycasesciencecasemedicalcaseother(name:String)//Associated value}// The defacto method for pulling out associated values invloves a switch statementswitchgenre{case.fiction://...case.other(letname):print(name)}// However there is actually another method to pull out just the associated valueifcaselet.other(name)=="poetry"{print(name)}//or ifcase.other(letname)=="poetry"{print(name}