<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aknow2</author_name>
  <author_url>https://blog.hatena.ne.jp/aknow2/</author_url>
  <blog_title>aknow2</blog_title>
  <blog_url>https://aknow2.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>この記事はOOP思考でずっとやってきた人が、どうにかFPの流れにのっていくために足掻いている記事です。なので、随所にOOPの場合はこんなイメージだよねというのを書いてます。 関数型の知識的にはすごいH本を斜め読み、Elmのtutorialをやってみた程度です。 まず課題感。 APIを呼び出した結果がJSONの中にundefinedになるパラメーターがある場合、またはアプリの状態,例えばReduxやVuexのStoreにundefinedが合った方が都合が良い時。 イメージとしてはこんな感じ。 interface OptionalState { param? : number } if (st1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faknow2.hatenablog.com%2Fentry%2F2019%2F03%2F26%2F142409&quot; title=&quot;【typescriptで関数型】fp-tsのOption型を使ってundefinedと戦う - aknow2&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://cdn-ak.f.st-hatena.com/images/fotolife/a/aknow2/20190326/20190326122005.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-03-26 14:24:09</published>
  <title>【typescriptで関数型】fp-tsのOption型を使ってundefinedと戦う</title>
  <type>rich</type>
  <url>https://aknow2.hatenablog.com/entry/2019/03/26/142409</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
