计算机科学 > 程序设计语言
[提交于 2015年7月17日]
标题:Programming with Algebraic Effects and Handlers
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Eff is a programming language based on the algebraic approach to computational effects, in which effects are viewed as algebraic operations and effect handlers as homomorphisms from free algebras. Eff supports first-class effects and handlers through which we may easily define new computational effects, seamlessly combine existing ones, and handle them in novel ways. We give a denotational semantics of eff and discuss a prototype implementation based on it. Through examples we demonstrate how the standard effects are treated in eff, and how eff supports programming techniques that use various forms of delimited continuations, such as backtracking, breadth-first search, selection functionals, cooperative multi-threading, and others.
提交历史
来自:Andrej Bauer[v1] 2015年7月17日 星期五 00:00:00 UTC