From: Clark C . E. <cc...@cl...> - 2002-09-06 13:41:28
|
On Fri, Sep 06, 2002 at 02:35:48AM -0700, Brian Ingerson wrote: | I am confused by example B5 in the spec: | | ? [ New York Yankees, | Atlanta Braves ] | : [ 2001-07-02, 2001-08-12, | 2001-08-14 ] What's confusing about it? | I didn't know that '?' could be used to start a flow collection key. I | thought they were simply: | | [1, 2]: foo | {bar: baz}: 42 The point of the ? : form is to allow the key and value to start on their own line (specifically to support multi-line stuff more clearly). Clark |