<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuntan_t</author_name>
  <author_url>https://blog.hatena.ne.jp/yuntan_t/</author_url>
  <blog_title>yuntan_tのブログ（仮）</blog_title>
  <blog_url>https://yuntan-t.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>Haskellで定期実行をしたいと思い，HaskellのスレッドシステムとSTMについて その1 — ありえるえりあとか見ながら書いた． gist.github.com 先のリンクの記事にもあるようにメインスレッドで待ってやらないと終了するので，chanを使って待たせた．Goのchanと同じ考えで，chanの受信待機するとスレッドが止まると思いこうした． ところで，GoのtimeパッケージにはAfterとTickという関数がある．どちらもchan Timeを返し，これを用いて定期実行を以下のように実行できる．Haskellでも同じことができないかと考えた． gist.github.com Ha…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuntan-t.hateblo.jp%2Fentry%2F2015%2F12%2F03%2F041926&quot; title=&quot;HaskellでGoのtimeパッケージの模倣 - yuntan_tのブログ（仮）&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>2015-12-03 04:19:26</published>
  <title>HaskellでGoのtimeパッケージの模倣</title>
  <type>rich</type>
  <url>https://yuntan-t.hateblo.jp/entry/2015/12/03/041926</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
