What/where is get_Zero in F#'s int?
问题 I'm just learning F#, and while playing at tryfsharp.org I noticed that if I change this code: [0..100] |> List.sum to ["A"; "B"; "D"] |> List.sum I get the following error: The type 'string' does not support the operator 'get_Zero' (Here's the script that you can run/amend in your browser, though it only seems to work in IE for me!) When I checked the definition of List.sum; it says that the type must have a static member called Zero. This seems to explain the error; except for the fact that