このアイテムのアクセス数: 94

このアイテムのファイル:
ファイル 記述 サイズフォーマット 
3674641.pdf374.68 kBAdobe PDF見る/開く
タイトル: Abstracting Effect Systems for Algebraic Effect Handlers
著者: Yoshioka, Takuma
Sekiyama, Taro
Igarashi, Atsushi
著者名の別形: 吉岡, 拓真
五十嵐, 淳
キーワード: algebraic effects and handlers
effect algebras
type-and-effect systems
発行日: Aug-2024
出版者: ACM
誌名: Proceedings of the ACM on Programming Languages
巻: 8
号: ICFP
開始ページ: 455
終了ページ: 484
論文番号: 252
抄録: Many effect systems for algebraic effect handlers are designed to guarantee that all invoked effects are handled adequately. However, respective researchers have developed their own effect systems that differ in how to represent the collections of effects that may happen. This situation results in blurring what is required for the representation and manipulation of effect collections in a safe effect system. In this work, we present a language λ[EA] equipped with an effect system that abstracts the existing effect systems for algebraic effect handlers. The effect system of λ[EA] is parameterized over effect algebras, which abstract the representation and manipulation of effect collections in safe effect systems. We prove the type-and-effect safety of λ[EA] by assuming that a given effect algebra meets certain properties called safety conditions. As a result, we can obtain the safety properties of a concrete effect system by proving that an effect algebra corresponding to the concrete system meets the safety conditions. We also show that effect algebras meeting the safety conditions are expressive enough to accommodate some existing effect systems, each of which represents effect collections in a different style. Our framework can also differentiate the safety aspects of the effect collections of the existing effect systems. To this end, we extend λ[EA] and the safety conditions to lift coercions and type-erasure semantics, propose other effect algebras including ones for which no effect system has been studied in the literature, and compare which effect algebra is safe and which is not for the extensions.
記述: ICFP 2024: The 29th ACM SIGPLAN International Conference on Functional Programming will be in Milan, Italy, in September 2024.
著作権等: © 2024 Copyright held by the owner/author(s).
This work is licensed under a Creative Commons Attribution 4.0 International License.
URI: http://hdl.handle.net/2433/290199
DOI(出版社版): 10.1145/3674641
出現コレクション:学術雑誌掲載論文等

アイテムの詳細レコードを表示する

Export to RefWorks


出力フォーマット 


このアイテムは次のライセンスが設定されています: クリエイティブ・コモンズ・ライセンス Creative Commons