Why are tags tied to kinds?

Burt Harris <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <63391FD9067F734E829A283F1BB6893004760E3F@TK5EX14MBXC101.redmond.corp.microsoft.com>
The YAML representation model ties each tag to a Kind.   It seems to me that allowing several different Kinds for a tag might add to the human factors of the language.  For example, someone might want to allow different representations of a 2-D point:

  - !point (4, 5)  # Scalar
  - !point [4, 5]  # seq
  - !point {x:4, y:5} # map


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.