Page MenuHomePhabricator

What Does the End of a Generic List Look Like?
Closed, ResolvedPublic

Description

Z13? Empty Z10? Something else?

Event Timeline

Z13.

Using, generics, here's how a list would look like, for [ "abc", "def" ].

{
    "Z1K1": {
        "Z1K1": "Z7",
        "Z7K1": "Z1010",
        "Z1010K1": "Z6"
    },
    "K1": "abc",
    "K2": {
      "Z1K1": {
          "Z1K1": "Z7",
          "Z7K1": "Z1010",
          "Z1010K1": "Z6"
      },
      "K1": "def",
      "K2": {
        "Z1K1": {
            "Z1K1": "Z7",
            "Z7K1": "Z1010",
            "Z1010K1": "Z6"
        }
      }
    }
  }
}

So the end of the list is as follows:

{
    "Z1K1": {
      "Z1K1": "Z7",
      "Z7K1": "Z1010",
      "Z1010K1": "Z6"
   }
}