Seeking Stability by being Lazy and Shallow

06/28/2021
by   Gert-Jan Bottu, et al.
0

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. 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).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/03/2021

Fast Estimation Method for the Stability of Ensemble Feature Selectors

It is preferred that feature selectors be stable for better interpretabi...
research
01/29/2018

A notion of stability for k-means clustering

In this paper, we define and study a new notion of stability for the k-m...
research
08/09/2020

Stability analysis for the Implicit-Explicit discretization of the Cahn-Hilliard equation

Implicit-Explicit methods have been widely used for the efficient numeri...
research
06/27/2019

Further Results on Stability-Preserving Mechanisms for School Choice

We build on the stability-preserving school choice model introduced and ...
research
12/12/2020

Stabilized explicit Adams-type methods

In this work we present explicit Adams-type multistep methods with exten...
research
04/27/2010

On the comparison of plans: Proposition of an instability measure for dynamic machine scheduling

On the basis of an analysis of previous research, we present a generaliz...
research
07/13/2022

Stability of Weighted Majority Voting under Estimated Weights

Weighted Majority Voting (WMV) is a well-known optimal decision rule for...

Please sign up or login with your details

Forgot password? Click here to reset