{"url":"https://any-programming.hatenablog.com/entry/2018/04/12/000511","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fany-programming.hatenablog.com%2Fentry%2F2018%2F04%2F12%2F000511\" title=\"\u30ec\u30b3\u30fc\u30c9\u578b\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u96a0\u853d\uff08F#\uff09 - \u4f55\u3067\u3082\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"any-programming","image_url":null,"author_url":"https://blog.hatena.ne.jp/any-programming/","provider_name":"Hatena Blog","published":"2018-04-12 00:05:11","categories":["F#"],"description":"\u4f8b\u3048\u3070\u4e0b\u8a18\u306e\u3088\u3046\u306aCounter\u30af\u30e9\u30b9\u3092\u8003\u3048\u307e\u3059\u3002 type Counter() = let mutable count = 0 member this.CountUp() = count <- count + 1 member this.CountDown() = count <- count - 1 member this.Count = count \u3053\u308c\u3092\u30ec\u30b3\u30fc\u30c9\u578b\u3092\u7528\u3044\u3066\u5b9f\u88c5\u3059\u308b\u3068\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002private\u3092\u4ed8\u52a0\u3059\u308b\u3053\u3068\u3067\u3001\u5916\u5074\u304b\u3089\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002 [<AutoOpen>] module CounterModule = type Counter = pr\u2026","blog_url":"https://any-programming.hatenablog.com/","provider_url":"https://hatena.blog","type":"rich","blog_title":"\u4f55\u3067\u3082\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","title":"\u30ec\u30b3\u30fc\u30c9\u578b\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u96a0\u853d\uff08F#\uff09","height":"190","width":"100%"}