Précédent Index Suivant



Traits impératifs II



Référence
(ref exp)
Env  |-  exp : t
Env  |-  ref  exp : t  ref


Affectation
(exp1 := exp2)

Env  |-  exp1 : t1   ref     Env  |-  exp2 : t1
Env  |-  exp1 := exp2 : unit


Séquence
(exp1 ; exp2)

Env  |-  exp1 : t1 ;   Env  |-  exp2 : t2
Env  |-  exp1;exp2 : t2


Exceptions
(exception idf of typ;;)
Env  |-  idf : typ ® exn
Env  |-  raise :  a.exn ® a


Précédent Index Suivant