Seeking stability by being lazy and shallow: lazy and shallow instantiation is user friendly
Seeking stability by being lazy and shallow: lazy and shallow instantiation is user friendly
复制标题
通过懒惰和浅薄来寻求稳定:懒惰和浅薄的实例化是用户友好的
DOI:
10.1145/3471874.3472985
复制
发表时间:
2021
期刊:
影响因子:
--
通讯作者:
Eisenberg, Richard A.
中科院分区:
文献类型:
--
作者:
Bottu, Gert-Jan;Eisenberg, Richard A.
Designing a language feature often requires a choice between several, similarly expressive possibilities. Given that user studies are generally impractical, we propose using stability as a way of making such decisions. Stability is a measure of whether the meaning of a program alters under small, seemingly innocuous changes in the code (e.g., inlining).Directly motivated by a need to pin down a feature in GHC/Haskell, we apply this notion of stability to analyse four approaches to the instantiation of polymorphic types, concluding that the most stable approach is lazy (instantiate a polytype only when absolutely necessary) and shallow (instantiate only top-level type variables, not variables that appear after explicit arguments).
登录
查看更多内容
影响因子:
1.1
作者:
S. Jones;Stephanie Weirich;R. Eisenberg;Dimitrios Vytiniotis
通讯作者:
Dimitrios Vytiniotis
DOI:
10.1007/978-3-662-49498-1_10
发表时间:
2016
期刊:
Proceedings of the 41st ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages
影响因子:
--
作者:
R. Eisenberg;Stephanie Weirich;Hamidhasan G. Ahmed
通讯作者:
Hamidhasan G. Ahmed
DOI:
10.1145/3242744.3242753
发表时间:
2018
期刊:
Haskell Symposium
影响因子:
--
作者:
Eisenberg, Richard A.;Breitner, Joachim;Peyton Jones, Simon
通讯作者:
Peyton Jones, Simon
DOI:
10.1145/3192366.3192389
发表时间:
2018
期刊:
Proceedings of the 39th ACM SIGPLAN Conference on Programming Language Design and Implementation
影响因子:
--
作者:
A. Serrano;Jurriaan Hage;Dimitrios Vytiniotis;S. P. Jones
通讯作者:
S. P. Jones
DOI:
10.1145/1708016.1708023
发表时间:
2010
期刊:
Proceedings of the 41st ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages
影响因子:
--
作者:
Dimitrios Vytiniotis;S. Jones;Tom Schrijvers
通讯作者:
Tom Schrijvers