I am trying to print an int using the F # interactive console.
let x = sprintf "%d", 3 printf x
gives:
stdin (12.8): error FS0001: type '(int β string) * System.Numerics.BigIntege r' incompatible with type 'Printf.TextWriterFormat <' a> '
What am I doing wrong?
source share