Commits

Gabriel Farrell committed 6365c64

Replaced right arrow symbols with "->" -- they weren't displaying
correctly in WP

Comments (0)

Files changed (2)

code4lib13/isis2couchdb-unwrap.txt

 And to access its value we must write <code>doc["1"][0][0][1]</code>. Here is why:
 
 <pre>
-doc   →  {"1": [[["_", "UY6.1"]]]}      # entire document
-doc["1"]   →   [[["_", "UY6.1"]]]     # list of occurrences of field #1
-doc["1"][0]  →  [["_", "UY6.1"]]    # list of subfields of occurrence 0 of #1
-doc["1"][0][0] → ["_", "UY6.1"]   # subfield 0 of occurrence 0 of #1 (key "_")
-doc["1"][0][0][1]   →  "UY6.1"  # value of subfield 0 of occurrence 0 of #1
+doc   ->   {"1": [[["_", "UY6.1"]]]}     # entire document
+doc["1"]   ->   [[["_", "UY6.1"]]]     # list of occurrences of field #1
+doc["1"][0]  ->  [["_", "UY6.1"]]    # list of subfields of occurrence 0 of #1
+doc["1"][0][0] -> ["_", "UY6.1"]   # subfield 0 of occurrence 0 of #1 (key "_")
+doc["1"][0][0][1]  ->  "UY6.1"   # value of subfield 0 of occurrence 0 of #1
 </pre>
 
 

code4lib13/isis2couchdb.txt

 why:
 
 <pre>
-doc   →  {"1": [[["_", "UY6.1"]]]}      # entire document
-doc["1"]   →   [[["_", "UY6.1"]]]     # list of occurrences of field #1
-doc["1"][0]  →  [["_", "UY6.1"]]    # list of subfields of occurrence 0 of #1
-doc["1"][0][0] → ["_", "UY6.1"]   # subfield 0 of occurrence 0 of #1 (key "_")
-doc["1"][0][0][1]   →  "UY6.1"  # value of subfield 0 of occurrence 0 of #1
+doc   ->   {"1": [[["_", "UY6.1"]]]}     # entire document
+doc["1"]   ->   [[["_", "UY6.1"]]]     # list of occurrences of field #1
+doc["1"][0]  ->  [["_", "UY6.1"]]    # list of subfields of occurrence 0 of #1
+doc["1"][0][0] -> ["_", "UY6.1"]   # subfield 0 of occurrence 0 of #1 (key "_")
+doc["1"][0][0][1]  ->  "UY6.1"   # value of subfield 0 of occurrence 0 of #1
 </pre>