Skip to content

feature request: formulae #3

Description

@cowens

I understand the desire to avoid functions, but they do allow code reuse. A happy medium would be formulae, that is names attached to a specific expression. It could be as simple as

> sqr := a * a
formula sqr created
> a = 5
ans = 5.0
> sqr
ans = 25.0

or, with a little more work, as nice as

> sqr(a) := a * a
formula sqr created
> sqr(5)
ans = 25.0

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