Functional Pearl: Species and Functors and Types, Oh My!
نویسنده
چکیده
The theory of combinatorial species, although invented as a purely mathematical formalism to unify much of combinatorics, can also serve as a powerful and expressive language for talking about algebraic data types. With potential applications to automatic test generation, generic programming, and language design, the theory deserves to be much better known in the functional programming community. This paper aims to teach the theory of combinatorial species using motivation and examples from the world of functional programming. It also introduces the species library, available on Hackage, which is used to illustrate the concepts introduced and can serve as a platform for continued study and research. General Terms Combinatorial Species, Algebraic Data Types
منابع مشابه
Plant Species and Functional Types’ Diversity in Relation to Grazing in Arid and Semi-arid Rangelands, Khabr National Park, Iran
In arid and semi-arid rangelands, grazing as one of the natural or human induced processes has direct and indirect effects on structure and dynamics of plant community and ecosystems. A study was done to analyze the effects of grazing on plant species diversity and Plant Functional Types‘ (PFTs) diversity of arid and semi-arid rangelands. We analyzed plant richness and diversity data from 75 sa...
متن کاملAssessment of genetic diversity in accessions of pearl millet (Pennisetum glaucum) and napier grass (Pennisetum purpureum) using microsatellite (ISSR) markers
Pearl millet (Pennisetum glaucum (L.) R. Br.) and napier grass (Pennisetum purpureum Schumach) are the most economically important species in the genus Pennisetum. Knowledge of genetic diversity of these two species would enhance their potentials for utilization. The present work assessed the genetic diversity and phylogenetic relationship among Nigerian and Indian accessions of pearl millet an...
متن کاملInvestigation of natural habitats of pearl oyster Pinctada radiata around the Lavan Island, northern Persian Gulf
Mohar pearl oyster Pinctada radiata is the dominant economic species of pearl oyster in the Persian Gulf, particularly along the Iranian coastal waters. As pearling has been banned since 2006, stocks of pearl oysters has not been investigated during these years. For this purpose, conditions of natural habitats and stocks of Mohar pearl oyster in its old catch sites were surveyed in the present ...
متن کاملConstructing Applicative Functors
Applicative functors define an interface to computation that is more general, and correspondingly weaker, than that of monads. First used in parser libraries, they are now seeing a wide range of applications. This paper sets out to explore the space of non-monadic applicative functors useful in programming. We work with a generalization, lax monoidal functors, and consider several methods of co...
متن کاملتنوع گونهای و شناسایی گروههای عملکردی گیاهی در مراتع مشجر منطقه حفاظت شده شیمبار در استان خوزستان
Measuring the diversity of plant functional types, identifying their characteristics, and their classification will help to identification of woodland germination capacity and implementing appropriate range management programs. The study was designed to measure the species diversity and to identify plant functional types in three adjacent ecological sites in Shimbar or Shirin Bahar region. Duri...
متن کامل