Megabat Megabat Megabats constitute the family Pteropodidae of the order Chiroptera (bats). They are also called fruit bats, Old World fruit bats, or, especially the genera "Acerodon" and "Pteropus", flying foxes. Megabats are found in tropical and subtropical areas of Eurasia, Africa, and Oceania. Compared to insectivorous bats, fruit bats are relatively large, and with some exceptions, do not navigate by echolocation. They are herbivores and rely on their keen senses of sight and smell to locate food. Most fruit bats are larger than insectivorous bats or Microchiroptera, but a number of small fruit bats exist, also. The smallest species is
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