Guest User

Untitled

a guest
Dec 13th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. # Deep Merge Semantics are:
  2. - keys of objects get merged { a: .. , b: .. } with { b: .. , c: .. }
  3. - the value of b needs to be merged; recurse
  4. - elements of arrays get
  5. - primitives in left and right that are distinct, produce a type error
  6.  
  7. so
  8. - objects have set semantics; recursive set merge
  9. - arrays have sequence semantics; order is important
  10. - certain objects produce nonsensical merge results
Add Comment
Please, Sign In to add comment