<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>notogawa</author_name>
  <author_url>https://blog.hatena.ne.jp/notogawa/</author_url>
  <blog_title>ぼくのぬまち 出張版</blog_title>
  <blog_url>https://notogawa.hatenablog.com/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>(注:この記事はかなり前に書いて公開し忘れていたことに今日気付いたものです．もう当たり前になってるかもしれないけどもったいないので一応)ghc8以降TypeApplications拡張が入ったこともあり一応の注意喚起．たとえば，次のように関数fとgを定義する．時系列的にはfの型をgの型に変更したような想定で． data X a b = X a b f :: (Show a, Show b) =&gt; X a b -&gt; String f (X a b) = show a ++ show b -- fと比べて型変数aとbに対するShowコンテキストを入れ換えたもの g :: (Show b, Show…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnotogawa.hatenablog.com%2Fentry%2F2017%2F08%2F09%2F120225&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-08-09 12:02:25</published>
  <title>コンテキストの順番を入れ換えると互換性が崩れることがある</title>
  <type>rich</type>
  <url>https://notogawa.hatenablog.com/entry/2017/08/09/120225</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
