Does anyone know if there is a way to automatically invoke the FromString method of a numeric literal in F#? I have already tried (and succeeded) with the methods FromOne, FromZero, etc but I have no idea how strings could be handled at compile time…
Share
from page 51 of the F# language specification:
That means, only when the first 4 are not satisfied,
FromStringis called. Also,xxxxmust be digits with signs, you cannot use other alphabeta set for xxxx.