Lena wants to create a generic function allEqual that checks if all the elements in a slice have the same value.
Lena has already created a custom type comparableSlice that can only have comparable data types as slice elements, and has also written the algorithm to check if all the elements in the slice have the same value.
Your task is to help Lena write the correct generic function declaration for allEqual, using the custom comparableSlice type she created.