



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




making an object
updating a method
invoking a method
o = [ value = ς(x). 0,
set = ς(x). x.value ← ς(y). 1,
reset = ς(x). x.value ← ς(y). 0 ]
BitType = [ value : int, set : BitType, reset : BitType]
BitType = [ value : int, set : BitType, reset : BitType]
FlipBitType = [ value : int, set : FlipBitType, reset : FlipBitType, flip : FlipBitType]
[… mi^0 : B …] < [… mi^0 : B’ …] if B = B’
[… mi+^ : B …] < [… mi+^ : B’ …] if B < B’
[… mi-^ : B …] < [… mi-^ : B’ …] if B’ < B
Class(A) = [new : A, mi : A → Bi]
lendVal = ς(z) λx:t