From: why the lucky stiff Date: 2006-06-07T23:52:27+09:00 Subject: Re: YAML booleans. On Wed, Jun 07, 2006 at 06:42:33PM +0900, Ola Bini wrote: > > What I'm expecting (after looking at example 4.27 in the History spec for > YAML 1.0) is that both "a: y" and "a: n" should return the same as "a: yes" > and "a: no" respectively. > This should be brought up on Yaml-core. (And has been before.) The spec is conflicting on this matter. Compare examples 2.21 and 2.24. >> YAML::load("{x: 73, y: 129}") => {'x' => 73, 'y' => 129} Or should that be {'x' => 73, true => 129} ?? Too confusing. They previously eliminated '+' and '-' on similar grounds. Before that, you could do: --- true: (y) false: (n) --- true: (+) false: (-) _why