<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>IzumiSy</author_name>
  <author_url>https://blog.hatena.ne.jp/IzumiSy/</author_url>
  <blog_title>Runner in the High</blog_title>
  <blog_url>https://izumisy.work/</blog_url>
  <categories>
    <anon>Elm</anon>
    <anon>JavaScript</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>ElmのMaybeはデータの有無を型で表現できるゆえ非常に便利なものであるが、文脈が失われるため無闇に使い過ぎるとワケがわからなくなる。ケースによっては、カスタム型を使うことによって型でデータの有無を Maybe に代えて表現するほうがよりメンテナブルにある可能性がある。 前提 ユーザーログインの機能を持つTODOアプリを開発している。 上記の仕様から、おそらくモデルに currentUser: User みたいなフィールドと TODO を表す todos: List Todo があるだろうと言うことは容易に想像できる。 だが、実際には「ログインしていない」と「ログインしている」のふたつのコン…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fizumisy.work%2Fentry%2F2019%2F01%2F04%2F153713&quot; title=&quot;Maybeに代えてカスタム型を使う - Runner in the High&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://images-fe.ssl-images-amazon.com/images/I/51G32HC7rSL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-01-04 15:37:13</published>
  <title>Maybeに代えてカスタム型を使う</title>
  <type>rich</type>
  <url>https://izumisy.work/entry/2019/01/04/153713</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
