Taming effects with monadic typing
Taming effects with monadic typing
复制标题
通过单元类型驯服效果
DOI:
10.1145/289423.289428
复制
发表时间:
1998
期刊:
影响因子:
--
通讯作者:
R. Kieburtz
中科院分区:
文献类型:
--
作者:
R. Kieburtz
The familiar Hindley-Milner type system of the ML language family is extended with monad annotations to account for possible side effects of expression evaluation. This also allows effects to be effectively encapsulated by lexical scopes Γ with enforcement provided by type checking. A type-and-effects analysis supports type inference. Type soundness and completeness theorems establish the coherence of monadic type inference with the reference semantics of a small ML-style language.