Leaf-nosed bat rounded tips, range in body size from 4 cm to 13.5 cm and a wingspans of up to 90 cm or more. Like other bats, leaf-nosed bats are nocturnal foragers that use echolocation to locate food sources, though the food sources they are locating vary between species. Many bats in family Phyllostomidae appear to have limited reliance on echolocation, likely because frugivorous bats do not need to quickly identify flying insects like many other bats. Instead, species of leaf-nosed fruit bats appear to use scent to identify their preferred food sources. When they are not foraging, leaf-nosed bats roost in
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