<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zehnpaard</author_name>
  <author_url>https://blog.hatena.ne.jp/zehnpaard/</author_url>
  <blog_title>Arantium Maestum</blog_title>
  <blog_url>https://zehnpaard.hatenablog.com/</blog_url>
  <categories>
    <anon>Haskell</anon>
    <anon>Thinking Functionally with Haskell</anon>
  </categories>
  <description>第６章の最後はJohn BentleyのProgramming Pearlsに出てくる「Maximum Segment Sum」を今までのような式変換と証明で解く、という演習。 Maximum Segment Sum問題 あるリスト（は整数）の中にある連続部分の和の最大値を求める関数mssを定義せよ ただし空の連続部分の和は0だとする 例えば mss [-1, 2, -3, 5, -2, 1, 3, -2, -2, -3, 6] = sum [5, -2, 1, 3] = 7 含まれる整数は負の値を取ることがあるが、mssは負にはならない（空リストの和が0なので）。 問題をコードで表現 愚直に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2018%2F03%2F25%2F220433&quot; title=&quot;Thinking Functionally with Haskell勉強メモ: 第６章４　Maximum Segment Sum - Arantium Maestum&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>https://chart.apis.google.com/chart?cht=tx&amp;chl=%7BA%20%3D%20%28a_1%2C%20a_2%2C%20...%20a_n%29%7D</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-03-25 22:04:33</published>
  <title>Thinking Functionally with Haskell勉強メモ: 第６章４　Maximum Segment Sum</title>
  <type>rich</type>
  <url>https://zehnpaard.hatenablog.com/entry/2018/03/25/220433</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
