What's the purpose of `id` function in the FSharp.Core?
问题 From Operators.id<'T> Function (F#): The identity function. Parameters: x Type: 'T (The input value) Return Value: The same value F# Core Library Versions, supported in: 2.0, 4.0, Portable Why is there a function that returns its input? 回答1: When working with higher-order functions (i.e. functions that return other functions and/or take other functions as parameters), you always have to provide something as parameter, but there isn't always an actual data transformation that you'd want to