Skip to content

Pipeline operator |> (like in F#) #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
F1uctus opened this issue Apr 21, 2020 · 0 comments
Open

Pipeline operator |> (like in F#) #21

F1uctus opened this issue Apr 21, 2020 · 0 comments
Labels
area: parser Related to Abstract Syntax Tree parsing pipeline enhancement New feature or request language syntax

Comments

@F1uctus
Copy link
Collaborator

F1uctus commented Apr 21, 2020

messages =
   friends
   |> Seq.map(fn (x): x.Messages)
   |> Seq.concat

Note: Implemented as infix operator, converted to regular FuncCallExpr through traversing.

Multiple arguments usage still unimplemented.

@F1uctus F1uctus added the enhancement New feature or request label Apr 21, 2020
@F1uctus F1uctus added area: parser Related to Abstract Syntax Tree parsing pipeline language syntax labels Sep 17, 2020
@F1uctus F1uctus added this to the Version 0.6.0.0 milestone Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: parser Related to Abstract Syntax Tree parsing pipeline enhancement New feature or request language syntax
Projects
None yet
Development

No branches or pull requests

1 participant