16 lines
421 B
Plaintext
16 lines
421 B
Plaintext
|
const s_e : set(string) = (set_empty : set(string))
|
||
|
|
||
|
const s_fb : set(string) = set [
|
||
|
"foo" ;
|
||
|
"bar" ;
|
||
|
]
|
||
|
|
||
|
function add_op (const s : set(string)) : set(string) is
|
||
|
begin skip end with set_add("foobar" , s)
|
||
|
|
||
|
function remove_op (const s : set(string)) : set(string) is
|
||
|
begin skip end with set_remove("foobar" , s)
|
||
|
|
||
|
function mem_op (const s : set(string)) : bool is
|
||
|
begin skip end with set_mem("foobar" , s)
|