Version 3 (modified by john@…, 12 years ago) (diff)

language qualities

These are properties or qualities of any haskell standard we would like to preserve or make sure the language has. This is not about certain extensions or libraries the language should have, but rather properties of the language as a whole.

  • import-safe - importing a new module can never silently change the behavior of a program, but it may cause a compile-time error. two programs that are identical except one has a superset of the imports of the other will either behave identically or at least one will fail to compile. (defaulting and OverlappingInstances break this)
  • admits an efficient implementation. features that require large amounts of run-time support or non-trivial restrictions on the implementation method should be avoided.
  • transformation safe. the language will not have features that cause common optimizations and transformations to become non-meaning-preserving. All lambda calculus transformations should apply. (this is broken by the MonomorphismRestriction (eta-reduction/expansion) and ImplicitParams (beta-reduction))