Javatpoint Logo
Javatpoint Logo

F# Function Composition

In F#, functions can be composed from other functions. It is a process of composing in which a function represents the application of two composed functions.

The composition operator (>>) takes two functions as operands and it returns a function.

F# Function Composition Example

Output:

Hello FSharp Programming
 

F# Function Pipelining

F# function pipelining allows us to call functions in chain. Pipelining operator takes a function and an argument as operands and returns a value.


F# Function Pipelining example

Output:

Hello FSharp Programming




Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA