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
Theoretical Informatics and Applications Will be set by the publisher Informatique Theoriqu Abstract. The question of how to combine monads arises naturally in...
Theoretical Informatics and Applications Informatique Th?orique et Applications e Will be set by the publisher , , TREE INCLUSION PROBLEMS ? ? Patrick Cegi...
Accepted for publication in R.A.I.R.O- Theoretical Informatics and Applications We present an algorithm for the recognition of rational trace languages that...
Accepted for publication in R.A.I.R.O- Theoretical Informatics and Applications We present an algorithm for the recognition of rational trace languages that...
based informatics and applications in biodiversity ...of applied and theoretical applications [1–3]. ...the set of conditions and resources necessary for...
Theoretical Informatics and Applications, Journal of...Awarded by the Italian Council of the EATCS as ...(set of actions, multiset of actions, finite-...
Department of Biomedical Informatics, Vanderbilt University...dataset applications and using 5 microarray datasets...better than the full gene set for the diagnos...
Applications and Methods... 暂无评价 10页 免费喜欢...informatics [1], where texture measurements give ...The application of a set of convolution kernels ...
a set R of expansion rules of f f the form ...cients ηqr can be simply computed by solving (...RAIRO (Theoretical Informatics and Applications), ...

我要评论