おぼえがき

その1

let b = 3 
let c = 1
let x, y = 
 if c = 1 then 
  2, 
  if b = 2 then
   3
  else 4
 else
  3, 1
 
printfn "%d %d" x y
output
2 4

その2

open System
let printparam = ("{0} {1}", 3, 4.0)
Console.WriteLine printparam
printparam |> Console.WriteLine
output
({0} {1}, 3, 4)
3 4
広告を非表示にする