Q&A
Ask and answer questions to make information more available to wider audiences.
Devin Truttman @truttmandevin   22, May 2023 12:00 AM
Tuples
What are the Tuples in F#?
answers 2
 
Answer 1
Noah Antills @noahantills   31, May 2023 12:35 PM
Example:
let (id,name) = (1, "Fsharp")  
printfn "%d" id  
printfn "%s" name
 
Answer 2
Lydia Leonardson @leonardsonlydia   31, May 2023 12:24 PM
In F#, tuples are a collection of anonymous values. Values may be the same or different types. It allows us to put expression as a value also.