I have an enum like this:
object Animals extends Enumeration {
type Animals = Value
val Monkey = Value("Monkey")
val Lion = Value("Lion")
val Dog = Value("Dog")
val Cat = Value("Cat")
}
and I need to pick at random an element from this enumeration. How can i efficiently do this in scala?