Re: How do interpret sequence of sequences

Pieter Heyvaert <[email protected]> Wed, 7 Jun 2017 11:27:14 +0000
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
Hi Keith,


OK. That's what I thought initially, but the spec gave me the impression that both were equivalent in some way. Thanks for clearing that up.


Kind regards
Pieter Heyvaert
Ghent University - imec
________________________________
From: [email protected] <[email protected]>
Sent: Wednesday, June 7, 2017 1:24 PM
To: Pieter Heyvaert
Cc: [email protected]
Subject: Re: How do interpret sequence of sequences


If you are referring to http://www.yaml.org/spec/1.2/spec.html,<http://www.yaml.org/spec/1.2/spec.html> then example 2.5 is not the same as example 2.6.


2.6 is a mapping of mappings, a completely different thing to a sequence of sequences.  A mapping has keys; a sequence only has indices.


Keith


________________________________
From: Pieter Heyvaert <[email protected]>
Sent: 07 June 2017 12:10
To: [email protected]
Subject: [Yaml-core] How do interpret sequence of sequences


Hi all,


I'm checking into the YAML spec and I came across 'sequence of sequences'.

I have issues with understanding it completely. From the spec I understand that example 2.5 is the same as example 2.6.

If so, what 'rules' are followed to get to this result?


Kind regards
Pieter Heyvaert
Ghent University - imec

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core