<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bellbind</author_name>
  <author_url>https://blog.hatena.ne.jp/bellbind/</author_url>
  <blog_title>ラシウラ</blog_title>
  <blog_url>https://bellbind.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>id:ABA:20060627 で循環importができないという話題の続き。コメント欄でいただいたABAさんからのコメントで気づいたのですが、Listで使うための、ユニオン型だったんですね。たしかにmapってはいってた。そうであれば、以下のようなのはどうでしょうか。 module TokenT where class TokenT t where update :: t -&gt; t -- 以下、中でupdateを使うような公開関数とかこれは同じ module SubEnemy where import TokenT data Enemy = Enemy {x :: Double, y :: D…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbellbind.hatenadiary.org%2Fentry%2F20060629%2F1151598511&quot; title=&quot; 続、関数型でのmodule分割 - ラシウラ&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>2006-06-29 01:28:31</published>
  <title> 続、関数型でのmodule分割</title>
  <type>rich</type>
  <url>https://bellbind.hatenadiary.org/entry/20060629/1151598511</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
