Jump to content

Associative array/Merging: Difference between revisions

m
Ol (ff-union)
m (→‎{{header|C sharp}}: Regularize header markup to recommended on category page)
m (Ol (ff-union))
Line 1,064:
 
=={{header|Ol}}==
Since version 3.1.1 function `ff-union` changed from `(ff-union a1 a2 collide)` to `(ff-union collide a1 a2 ...)`!
 
<lang scheme>
(define a1 {
Line 1,081 ⟶ 1,083:
 
(define (collide a b) b) ; will use new key value
(print "merged a1 a2: " (ff-union collide a1 a2 collide))
</lang>
{{Out}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.