Florian Gross wrote:
> It's possible to do YAML.load("- foo"), but YAML.load("[foo]") produces 
> a parse error. (YAML.load("---\n[foo]") also works.)

yes, historically, root-level inline collections needed a document 
header.  but a recent version of the YAML specification does allow this.

i've fixed this in syck cvs.  rolling over to ruby 1.9 shortly.  lovely 
catch.

_why