Skip to content

Postfix Notation #44

Open
Open

Description

@keean

If IDE tooling, and autocomplete is so important, should functional languages use postfix notation?

((3, 4)add)print

In a way the . is used for this in most OO languages, but with multiple-dispatch, which arguments go before and which after the function name? Perhaps this syntax is more readable?

(3, 4).add.print

Activity

  1. shelby3 commented on Aug 29, 2018

    @shelby3

    Dot notation as syntax sugar only.

    First argument is always the the one applied by dot notation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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