Skip to content

(Syntax) Better method chaining #212

@rahulmutt

Description

@rahulmutt

Say you had the following in Java:

int lines = sc.textFile("README.md").count();

The same thing in Eta (with appropriate imports) is:

lines <- sc <.> textFile "README.md"
             >- count

Suggestions for alternatives to <.> and >-?

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