type Set = Int => Boolean
I'm trying figure out what this means. From my understanding type is like an alias, but I'm not sure how that's different from using def. If my teacher wouldn't have told me to use type, I would have went with def. I also need a little clarity on the what the rest means. So we have a type named Set, that is Int, but what does => Boolean mean?
