Skip to content

for loop in model code #600

@ChHaeni

Description

@ChHaeni

Would it be much effort to add for loop control flows and simple lists to the agrammon model code?

It would be nice to be able to loop over the application techniques and adding up its results.

Simple example:

my $res = 0;
for 'bc', 'th', 'ts' -> $tech {
  $res += $TE->{'app_tech_' . $tech};
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions