<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bitterharvest</author_name>
  <author_url>https://blog.hatena.ne.jp/bitterharvest/</author_url>
  <blog_title>bitterharvest’s diary</blog_title>
  <blog_url>https://bitterharvest.hatenablog.com/</blog_url>
  <categories>
    <anon>Functional Reactive Programming</anon>
  </categories>
  <description>８．一直線上で衝突するボール（完成編） ８．１ 微小間隔時間をパラメータで引き渡す 前の記事では、計算の時間間隔を値で与えたが、この値は、コンピュータの速度やプログラム内部の設定などで変わる可能性があるので、プログラムの中でパラメータとして渡せるようにする。そこで、ボールのデータ型を変更して名前、半径、現在の速度、現在の位置、微小な時間間隔\(dt\)を与えることとする。 data Ball = Ball String Double (V2 Double) (V2 Double) (V2 Double) deriving (Eq, Show, Read) なお、\(dt\)は、速度や場所と同じ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbitterharvest.hatenablog.com%2Fentry%2F2015%2F10%2F04%2F202811&quot; title=&quot;ボールの衝突をFunctional Reactive Programmingで表現する（７）  - bitterharvest’s diary&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-10-04 20:28:11</published>
  <title>ボールの衝突をFunctional Reactive Programmingで表現する（７） </title>
  <type>rich</type>
  <url>https://bitterharvest.hatenablog.com/entry/2015/10/04/202811</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
