My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 26: Default argument to sections and repeated sections should be @
1 person starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  gtempacc...@yahoo.com


 
Project Member Reported by gtempacc...@yahoo.com, Jun 22, 2009
For repeated sections, a common idiom to put them inside a section:

{.section foo}
  {.repeated section}  {# leave off @ here}
  {.end}
{.end}

If sections grow predicates, then you might do something like:

{.section foo}
  Stuff here
  {.section?plural}
    Only in the plural case
  {.end}
{.end}

{.section?plural} is the same as {.section @ ? plural}

(still don't like the ? syntax)



Powered by Google Project Hosting