Home » F# Access Elements of Tuples using Built in functions

F# Access Elements of Tuples using Built in functions

by Online Tutorials Library

F# Access Elements of Tuples Using Built-In Functions

In F#, tuples provide built-in functions. You can access first element by using fst () and second element by using snd () function. Let’s see an Example.

Output:

First element = 1  Second element = FSharp  
Next TopicF# List

You may also like