• DocumentCode
    2893935
  • Title

    The type and effect discipline

  • Author

    Talpin, Jean-Pierre ; Jouvelot, Pierre

  • Author_Institution
    Ecole Nat. Superieure des Mines de Paris, Fontainebleau, France
  • fYear
    1992
  • fDate
    22-25 Jun 1992
  • Firstpage
    162
  • Lastpage
    173
  • Abstract
    The type and effect discipline, a framework for reconstructing the principal type and the minimal effect of expressions in implicitly typed polymorphic functional languages that support imperative constructs, is introduced. The type and effect discipline outperforms other polymorphic type systems. Just as types abstract collections of concrete values, effects denote imperative operations on regions. Regions abstract sets of possibly aliased memory locations. Effects are used to control type generalization in the presence of imperative constructs while regions delimit observable side effects. The observable effects of an expression range over the regions that are free in its type environment and its type; effects related to local data structures can be discarded during type reconstruction. The type of an expression can be generalized with respect to the variables that are not free in the type environment or in the observable effect
  • Keywords
    data structures; formal languages; programming theory; data structures; effects; imperative constructs; implicitly typed; observable effects; polymorphic functional languages; type and effect discipline; types; Concrete; Data structures; Labeling; Reconstruction algorithms;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Logic in Computer Science, 1992. LICS '92., Proceedings of the Seventh Annual IEEE Symposium on
  • Conference_Location
    Santa Cruz, CA
  • Print_ISBN
    0-8186-2735-2
  • Type

    conf

  • DOI
    10.1109/LICS.1992.185530
  • Filename
    185530