[stringtemplate-interest] Use case supported by ST?

Terence Parr parrt at cs.usfca.edu
Wed Feb 3 10:58:46 PST 2010


On Feb 3, 2010, at 2:05 AM, Ronald Muller wrote:

> Hi,
> 
> I have the following use case:
> 
> I have to list items and display "Yes" or "No" if they are present in a set (Checklist items in my case, modeled as enums), So:
> 
> Task1: Yes
> Task2: No
> Task3: No
> ...

Hi.  What's in the set? must be an object with string/boolean?  wouldn't this work then

$yourdomainobject.checkList:{o | $o.str$: $o.bool$}$

Ter



More information about the stringtemplate-interest mailing list