{"title":"FUNCTIONAL PROGRAMMING WITH APOMORPHISMS (CORECURSION)","authors":"V. Vene, Tarmo UUSTALUb","doi":"10.3176/phys.math.1998.3.01","DOIUrl":null,"url":null,"abstract":"In the mainstream categorical approach to typed (total) functional programming, functions with inductive source types defined by primitive recursion are called paramorphisms; the utility of primitive recursion as a scheme for defining functions in programming is well known. We draw attention to the dual notion of apomorphisms — functions with coinductive target types defined by primitive corecursion and show on examples that primitive corecursion is useful in programming.","PeriodicalId":308961,"journal":{"name":"Proceedings of the Estonian Academy of Sciences. Physics. Mathematics","volume":"111 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"41","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the Estonian Academy of Sciences. Physics. Mathematics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3176/phys.math.1998.3.01","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 41
Abstract
In the mainstream categorical approach to typed (total) functional programming, functions with inductive source types defined by primitive recursion are called paramorphisms; the utility of primitive recursion as a scheme for defining functions in programming is well known. We draw attention to the dual notion of apomorphisms — functions with coinductive target types defined by primitive corecursion and show on examples that primitive corecursion is useful in programming.