学海网 文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > Theoretical Informatics and Applications Will be set by the publisher Informatique Théoriq

Theoretical Informatics and Applications Will be set by the publisher Informatique Théoriq

Abstract. This paper proposes an operational semantics for value recursion in the context of monadic metalanguages. Our technique for combining value recursion with computational effects works uniformly for all monads. The operational nature of our approac

TheoreticalInformaticsandApplications

InformatiqueTh´eoriqueetApplicationsWillbesetbythepublisher

ANABSTRACTMONADICSEMANTICSFOR

VALUERECURSION ,

EugenioMoggi1andAmrSabry2

Abstract.Thispaperproposesanoperationalsemanticsforvaluere-

cursioninthecontextofmonadicmetalanguages.Ourtechniquefor

combiningvaluerecursionwithcomputationale ectsworksuniformly

forallmonads.Theoperationalnatureofourapproachisrelatedto

theimplementationofrecursioninSchemeanditsmonadicversion

proposedbyFriedmanandSabry,butitde nesadi erentsemantics

anddoesnotrelyonassignments.Whencontrastedtotheaxiomatic

approachproposedbyErk¨okandLaunchbury,oursemanticsforthe

continuationmonadinvalidatesoneoftheaxioms,addingtotheevi-

dencethatthisaxiomisproblematicinthepresenceofcontinuations.

1991MathematicsSubjectClassi cation.68N18,68Q55.

Introduction

Howshouldrecursivede nitionsinteractwithcomputationale ectslikeassign-mentsandjumps?Consideraterm xx.ewhere xissome xedpointoperatorandeisanexpressionwhoseevaluationhasside-e ects.Thereareatleasttwonaturalmeaningsfortheterm:

(1)thetermisequivalenttotheunfoldinge{x= xx.e},andtheside-e ects

areduplicatedbytheunfolding;

(2)theside-e ectsareperformedthe rsttimeeisevaluatedtoavaluevand

thenthetermbecomesequivalenttotheunfoldingv{x= xx.v}.

The rstmeaningcorrespondstothestandardmathematicalview[7].Thesecondmeaningcorrespondstothestandardoperationalviewde nedsincetheSECDma-chine[12,32]andasimplementedinSchemeforexample[31].Thetwomeanings

1

2SupportedbyEUprojectDARTIST-2001-33477andAPPSEM-IIIST-2001-38957.SupportedbytheNSFunderGrantsNo.CCR0196063andCCR0204389.DISI,Univ.diGenova,email:moggi@disi.unige.itDept.ofComputerScience,IndianaUniv.,email:sabry@indiana.edu

cEDPSciences1999

第1页

TOP相关主题

  • bioinformatics
  • informatics
  • bioinformatics杂志
  • geoinformatics
  • bioinformatics期刊
  • spatial informatics
  • health informatics
  • chemoinformatics

我要评论

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
新浪认证  诚信网站  绿色网站  可信网站   非经营性网站备案
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.xuehai.net All Rights Reserved.  email
返回顶部