J4

• 计算机科学 • Previous Articles     Next Articles

Reflection in Monad

LU Jiang-hua, JIN Cheng-zhi   

  1. College of Computer Science and Technology, Jilin University, Changchun 130012, China
  • Received:2003-09-10 Revised:1900-01-01 Online:2004-04-26 Published:2004-04-26
  • Contact: LU Jiang-hua

Abstract: In this paper the definition and quality of computational reflection are given over the definition of structure reflection. However, as a new programming technology and language semantics description method, Monad has received more and more attention of researchers. As a result it is important to investigate the union of Monad and reflection. The reflection quality of Monad is given and proved in this paper, on the basis of which the corresponding operations in reflection are also defined and proved by shift and reset operations of CPS. Based on the discussion in the paper, it is easy to construct a reflective Monad-oriented program.

Key words: reflection, Monad, meta-level, continuation

CLC Number: 

  • TP301