<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>blanketsky</author_name>
  <author_url>https://blog.hatena.ne.jp/blanketsky/</author_url>
  <blog_title>blanket log</blog_title>
  <blog_url>https://blanketsky.hatenadiary.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
    <anon>ふつけるメモ</anon>
  </categories>
  <description>関数定義の一般形 関数名 パターンA1 パターンA2 ... | ガードA1 = 定義A1 | ガードA2 = 定義A2 | ガードA3 = 定義A3 : 関数名 パターンB1 パターンB2 ... | ガードB1 = 定義B1 | ガードB2 = 定義B2 | ガードB3 = 定義B3 : : :一つの関数は複数の引数を持ち、各引数をパターンで受け、さらにパターンごとにガードで絞り込み、対応する動作を定義をする。 パターン 変数パターン id x = x 任意の値にマッチし、その値に変数を束縛する ワイルドカード &quot;_&quot; map _ [ ] = [ ] 任意の値にマッチするが、その値を使わな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblanketsky.hatenadiary.org%2Fentry%2F20060929%2F1160050105&quot; title=&quot; パターンマッチとガード - blanket log&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>2006-09-29 21:08:25</published>
  <title> パターンマッチとガード</title>
  <type>rich</type>
  <url>https://blanketsky.hatenadiary.org/entry/20060929/1160050105</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
