News for hackers. Stuff that matters.
Re:TOML, Tom's Own Markup Language by mikegirouard on Saturday February 23, 2013 @11:11PM (#5272781)
The README says not to mix data types because "that's stupid" (which I don't know if I agree with); but I don't know if that answers your question.

You have an array of array, which at that level, satisfies the spec. The children individually keep types contained.

That said, I'm going to assume the intent is to not allow that.

Re:TOML, Tom's Own Markup Language by Comkid on Saturday February 23, 2013 @11:19PM (#5272804)
Would it be okay to understand arrays as integer indexed keys?

For example, wouldn't that mean something like:

  array = [ [1,2], ["a", "b"] ]
Be the same as this:

  [array]
  0 = [1,2]
  1 = ["a", "b"]