notes/deep_merge_exploration.org
This commit is contained in:
parent
b6c5e72715
commit
2ee59c5fc7
1 changed files with 13 additions and 1 deletions
|
@ -12,4 +12,16 @@ Depending on the programming language you use, you have a different set of
|
||||||
root structures.
|
root structures.
|
||||||
|
|
||||||
But in most languages you have roughly the same concepts.
|
But in most languages you have roughly the same concepts.
|
||||||
First
|
Base types, like chars, numbers, often strings
|
||||||
|
Storage types, typically, arrays, list, associative array (map, hash-map).
|
||||||
|
|
||||||
|
So let's restrict ourselves to this common denominator of data structure.
|
||||||
|
Say, base types could be: char, number, string
|
||||||
|
Construction types could be map (associative array) or arrays.
|
||||||
|
Sounds simple enough.
|
||||||
|
|
||||||
|
So a common task is to "merge" such structure.
|
||||||
|
In Haskell this kind of operation would be repugnant for most programmer.
|
||||||
|
But, even in Haskell this could be useful.
|
||||||
|
|
||||||
|
So
|
||||||
|
|
Loading…
Reference in a new issue