Some proposal for dealing with various kinds of side effects are presented. We suggest that qlobals should be used only in a controlled way, and we show how the correct use of qlobals can be verified by the standard type checker, without requiring any "ad hoc" tool, by adding to the type of a procedure a list of its qlobals. Furthermore, to control aliasing, we introduce a scope mechanism and we propose to associate with each identifier an attribute specifying how the object denoted by it will be used.

Language constructs for controlling side effects: a proposal

Asirelli P;
1978

Abstract

Some proposal for dealing with various kinds of side effects are presented. We suggest that qlobals should be used only in a controlled way, and we show how the correct use of qlobals can be verified by the standard type checker, without requiring any "ad hoc" tool, by adding to the type of a procedure a list of its qlobals. Furthermore, to control aliasing, we introduce a scope mechanism and we propose to associate with each identifier an attribute specifying how the object denoted by it will be used.
1978
Istituto di Scienza e Tecnologie dell'Informazione "Alessandro Faedo" - ISTI
Language constructs
side effects
File in questo prodotto:
File Dimensione Formato  
prod_434185-doc_155172.pdf

solo utenti autorizzati

Descrizione: Language constructs for controlling side effects: a proposal
Dimensione 10.23 MB
Formato Adobe PDF
10.23 MB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14243/378661
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact