We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2bdb19 commit faaa026Copy full SHA for faaa026
2 files changed
vdmlib/src/main/resources/Bag.vdmsl
@@ -105,7 +105,7 @@ functions
105
munion
106
(bset[@T](a) <-: b)
107
108
- { x |-> a(x) + b(x) | x in set dom a inter dom b }
+ { x |-> a(x) + b(x) | x in set bset[@T](a) inter bset[@T](b) }
109
pre
110
type_convergent[@T](a) and type_convergent[@T](b)
111
post
vdmlib/src/main/resources/StrBag.vdmsl
@@ -86,7 +86,7 @@ functions
86
87
(bset(a) <-: b)
88
89
+ { x |-> a(x) + b(x) | x in set bset(a) inter bset(b) }
90
91
bset(RESULT) = bset(a) union bset(b)
92
and
0 commit comments