Skip to content

HowThePipeOperatorIsDefined #93

Description

@KingKnecht

Would be nice to tell newbies, that F# will make an Infix-operator out of (|>). I was thinking ~30min about the black magic that is going on with the given definition:

let (|>) x f =
      f x

How can x (the list in the example) ever be on the left side of the function |>?

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