<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zecl</author_name>
  <author_url>https://blog.hatena.ne.jp/zecl/</author_url>
  <blog_title>Bug Catharsis</blog_title>
  <blog_url>https://zecl.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>F#</anon>
    <anon>息抜き</anon>
  </categories>
  <description>最近、C#ほったらかしてF#でいろいろやってます。F#にお熱です。 OCamlらくだ本を読み返しつつ、いげ太さんのブログやdeko_ponさんのF#入門などで勉強しています。 というわけで、また息抜きに当ブログ恒例の「世界のナベアツ問題」（風化問題ってレベルじゃねーぞ）を、 俄仕込みではありますが、アクティブパターンを使って書いてみました。 #light open System (* b / a が割り切れるときにその商を返すアクティブパターン *) let (|M|_|) a b = if b % a = 0 then Some (b / a) else None (* string b に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzecl.hatenablog.com%2Fentry%2F20090618%2Fp1&quot; title=&quot;F#のアクティブパターンがふつくしすぎる。あらまほしき言語なり。 - Bug Catharsis&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-06-18 00:00:00</published>
  <title>F#のアクティブパターンがふつくしすぎる。あらまほしき言語なり。</title>
  <type>rich</type>
  <url>https://zecl.hatenablog.com/entry/20090618/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
