<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wafuwafu13</author_name>
  <author_url>https://blog.hatena.ne.jp/wafuwafu13/</author_url>
  <blog_title>経験は何よりも饒舌</blog_title>
  <blog_url>https://wafuwafu13.hatenadiary.com/</blog_url>
  <categories>
    <anon>TypeScript</anon>
    <anon>関数型</anon>
  </categories>
  <description>関数型プログラミングの基礎 JavaScriptを使って学ぶ作者:立川察理リックテレコムAmazonこの本で関数型プログラミングの基礎を押さえようとしたけれど、p140の「代数的データ構造とパターンマッチ」あたりから理解に苦しんだのでメモをとりながらじっくり進めることにした。 全てのコードはここに置いてある。 akimichi.github.io JavaScriptのswitch文では、配列のように可変なデータの場合にはアドレス値で比較されるので、マッチングは失敗する。 以下が良い例である。 よって、複数の選択肢からいずれか1つの型だけを選ぶデータ構造である代数的データ構造を使ってマッチング…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwafuwafu13.hatenadiary.com%2Fentry%2F2021%2F01%2F09%2F174413&quot; title=&quot;「関数型プログラミングの基礎」代数的データ構造とパターンマッチを理解する - 経験は何よりも饒舌&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>https://m.media-amazon.com/images/I/51OuxCyQM1L.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-01-09 17:44:13</published>
  <title>「関数型プログラミングの基礎」代数的データ構造とパターンマッチを理解する</title>
  <type>rich</type>
  <url>https://wafuwafu13.hatenadiary.com/entry/2021/01/09/174413</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
