<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kazu-yamamoto</author_name>
  <author_url>https://blog.hatena.ne.jp/kazu-yamamoto/</author_url>
  <blog_title>あどけない話</blog_title>
  <blog_url>https://kazu-yamamoto.hatenablog.jp/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>PatternSynonymsは、その名の通り、パターンの別名である。GHC 7.8.1 で導入された。GHC 7系のPatternSynonymsは、モジュール内に閉じて入れば何の問題もなかったが、モジュールの外へexportする際は、patternキーワードが必要であり、構成子らしくなかった。 {-# LANGUAGE PatternSynonyms #-} module A (Foo, pattern Zero) where newtype Foo = Foo Int pattern Zero :: Foo pattern Zero = Foo 0 GHC 8 からは、patternキー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazu-yamamoto.hatenablog.jp%2Fentry%2F20170919%2F1505787393&quot; title=&quot;PatternSynonymsのススメ - あどけない話&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-09-19 11:16:33</published>
  <title>PatternSynonymsのススメ</title>
  <type>rich</type>
  <url>https://kazu-yamamoto.hatenablog.jp/entry/20170919/1505787393</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
