F#

おぼえがき

F#

その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 outpu…

F#はじめました

F#

明日はF#読書会だそうです。 そして、ちょっと勉強がてらこちらのを写経してみました。 ⇒#98 FunctionalでReactiveなGUIを作る 普通に写経するのも単調なのでGUIにはGTK#を使って見ます 使ったことないけど上手に使えますかね ReactiveForm.fs module Reacti…