Skip to content

Grouping capabilities? #29

@shurane

Description

@shurane

It would be kind of nifty if there was a way to group lines together in the same 'group'. This way, you could do operations on the group, i.e. sum.

I was thinking about this while trying to break down the amount of work someone had to do for their college classes/jobs/etc.

Example with some syntax:

168 hours * 60 minutes a week = 10,080 minutes a week
#work {{
4 * 60 minutes weekdays + 6 * 60 minutes weekend = 600 minutes
12 * 60 minutes library + 8 * 60 minutes IT support = 1,200 minutes
}}
{#work.righthand.sum} minutes of work

#classes {{
3 * 50 minutes + 2 * 75 minutes calculus III = 300 minutes
3 * 60 minutes discrete mathematics = 180 minutes
3 * 60 minutes communications = 180 minutes
3 * 60 minutes gps \220 = 180 minutes
2 * 75 minutes politics = 150 minutes
}}
{#classes.righthand.sum} minutes of class

#homework {{
5 * 60 minutes * 5 days a week = 1,500 minutes
}}

{#classes.righthand.sum} minutes of classes + {#work.righthand.sum} minutes of work + {#homework.righthand.sum} minutes of homework = 'total' minutes reserved.

Syntax doesn't seem the most ideal, but seems pretty nifty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions