The animals on the cover of Developing Web Apps with Haskell and Yesod, Second Editionare a common rhinoceros beetle (Xylotrupes ulysses) and an Apollo butterfly(Parnassius apollo).
Common rhinoceros beetles are famous for their size and unique head shape—themales possess a set of large horns, one pointing from the top of the head and anotherfrom the center of the thorax. These horns are used to fight other males for matingrights, and also to dig in search of food. The size of the horn relative to the body is agood indication of physical health and nutrition.
Male rhinoceros beetles can reach up to six inches in length, and this large size providesprotection from most predators. However, these beetles cannot bite or sting,which makes them popular pets in some Asian countries. Their violent bids forfemale attention also make them widely used for gambling fights.
The Apollo butterfly is a beautiful white butterfly with black spots on the forewingsand red eyespots on the hindwings. The size, placement, and shade of these spots canvary depending on the region the butterfly is from. This makes them a very attractivespecies to collectors, who endeavor to capture one of each variant.
These butterflies are native to Europe, and can be found as far east as central Asia.They prefer a habitat of mountain meadows that contain many nectar-providingflowers and rocky outcroppings for cocoon formation.
Due in part to over-collecting, but mostly to habitat loss, these butterflies are listed as“vulnerable” on the IUCN Red List. There are laws in place to restrict trade of individualApollo butterflies, but more conservation needs to be done to prevent furtherloss of habitat. Climate change, acid rain, and urbanization are all contributing factorsto the displacement of this species, but thankfully countries like Poland and Germanyhave small groups of conservationists working to protect their localpopulations.