Computer Science ›› 2011, Vol. 38 ›› Issue (11): 114-118.

Previous Articles     Next Articles

Coinductive Data Types and their Applications in Programming Languages

SU Jin-dian,YU Shan-shan   

  • Online:2018-12-01 Published:2018-12-01

Abstract: Inductive data types mainly focus on the finite syntactic structures inductively in terms of algebras from the construction perspective, but have some disadvantages in describing dynamic behaviors. As their categorical dual nodons, coinductive data types aim to coinductivcly describe the observable behaviors of data types in terms of coalgebras from the observation perspective. We firstly gave the definitions of inductive data types in programming languages from the categorical and algebraic viewpoints. After that, we continued to present the definition of coinductive data types with coalgebras and analyze the corresponding corecursion operations according to the finality of coinductive data types. Finally, we pointed out how to use J,-bialgebras and distributive laws to combine inductive and coinductive data types and discuss the relations between syntactic constructions and dynamic behaviors of data types.

Key words: Inductive data type, Coinductive data type, Category theory, Algebras, Coalgebras, Bialgcbras

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!