Abusing PrintfFormat in F#
#96b31d6e code {
background-color: #f5f5f5;
border: 1px solid #d9d9d9;
}
#96b31d6e pre {
background-color: #f5f5f5;
border: 1px solid #d9d9d9;
} A cool little feature of OCaml and F# is their type-safe printf, e.g. you can write: printfn "Hi, my name is %s and I'm %d years old" "John" 29
but:
printfn "I'm %d years old"...
[read more]
Submit a review:
Login required.