首页    期刊浏览 2024年11月28日 星期四
登录注册

文章基本信息

  • 标题:Inferring Algebraic Effects
  • 本地全文:下载
  • 作者:Matija Pretnar
  • 期刊名称:Logical Methods in Computer Science
  • 印刷版ISSN:1860-5974
  • 电子版ISSN:1860-5974
  • 出版年度:2014
  • 卷号:10
  • 期号:3
  • 页码:1
  • DOI:10.2168/LMCS-10(3:21)2014
  • 出版社:Technical University of Braunschweig
  • 摘要:We present a complete polymorphic effect inference algorithm for an ML-style language with handlers of not only exceptions, but of any other algebraic effect such as input & output, mutable references and many others. Our main aim is to offer the programmer a useful insight into the effectful behaviour of programs. Handlers help here by cutting down possible effects and the resulting lengthy output that often plagues precise effect systems. Additionally, we present a set of methods that further simplify the displayed types, some even by deliberately hiding inferred information from the programmer.
  • 其他关键词:algebraic effects, effect handlers, effect inference, effect system.
国家哲学社会科学文献中心版权所有