{"image_url":null,"width":"100%","blog_title":"Object.create(null)","provider_name":"Hatena Blog","categories":["TypeScript","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","\u5c0f\u30cd\u30bf"],"blog_url":"https://susisu.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/susisu/","title":"TypeScript \u3067 GADT \u3063\u307d\u3044\u306e","version":"1.0","url":"https://susisu.hatenablog.com/entry/2020/05/03/020854","published":"2020-05-03 02:08:54","type":"rich","provider_url":"https://hatena.blog","description":"TypeScript \u3067 Haskell \u306b\u3042\u308b\u3088\u3046\u306a GADT (Generalized Algebraic Data Type) \u3063\u307d\u3044\u3082\u306e\u3092\u3069\u3046\u8868\u73fe\u3067\u304d\u308b\u304b\u3068\u3044\u3046\u8a71. GADT \u3092\u4f7f\u3044\u305f\u304f\u306a\u308b\u4f8b \u5f0f\u3092\u30c7\u30fc\u30bf\u3068\u3057\u3066\u8868\u73fe\u3057\u305f\u3044\u3053\u3068\u3042\u308a\u307e\u3059\u3088\u306d. \u3042\u308b\u3068\u8a00\u3063\u3066\u304f\u308c. \u4f8b\u3048\u3070\u6570\u5024\u3068\u6570\u5024\u4e0a\u306e\u95a2\u6570, \u305d\u3057\u3066\u95a2\u6570\u9069\u7528\u304c\u3042\u308b\u5f0f\u3092\u8003\u3048\u307e\u3059. \u7d20\u6734\u306b\u8868\u73fe\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3067\u3057\u3087\u3046. type Expr = | { type: \"num\", val: number } | { type: \"fun\", val: Fun } | { type: \"app\", fun: Expr, arg: Expr }; \u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsusisu.hatenablog.com%2Fentry%2F2020%2F05%2F03%2F020854\" title=\"TypeScript \u3067 GADT \u3063\u307d\u3044\u306e - Object.create(null)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","author_name":"susisu"}