Egyptian fruit bat their days roosting in trees or caves, often with large groups of other bats, sometimes numbering in the thousands. They emerge from the roost to forage for food in the late evening, and return just before dawn. They hang upside down, with their wings folded closely around their bodies. Egyptian fruit bats, along with other species in the genus "Rousettus", are the only megachiropterid bats to use echolocation, which they accomplish by emitting a series of sharp clicks with their tongues. The clicks are normally slow and constant, but these clicks speed up dramatically when the bats approach an object.
Type family versa. Type families are regarded as being generally easier to type-check than functional dependencies. Another advantage of associated types over functional dependencies is that the latter requires clients using the type class to state all of the dependent types in their contexts, including ones they do not use; since associated types do not require this, adding another associated type to the class requires updating only the class's instances, while clients can remain unchanged. The main advantages of functional dependencies over type families are in their added flexibility in handling a few unusual cases. Type family In computer science, a type