ThepublicAPIofcyclerconsistsofaclassCycler,afactoryfunctioncycler(),andaconcatenationfunctionconcat().Thefactoryfunctionprovidesasimpleinterfaceforcreating‘base’Cyclerobjectswhiletheclasstakescareofthecompositionanditerationlogic.