<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>riemann1618</author_name>
  <author_url>https://blog.hatena.ne.jp/riemann1618/</author_url>
  <blog_title>logicoffee プログラミング勉強日記</blog_title>
  <blog_url>https://logicoffee.hatenablog.com/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>本記事の目的 解説 Stateモナドの定義 ひとつの補題 コードを読み解いていく まずは部分的に そして全体へ まとめ 本記事の目的 Stateモナドの挙動を定義から導出したい. それが本記事の目標です. Stateモナドについて調べると, いくつかの記事がヒットします. そこではStateモナドの使い方として以下のようなサンプルコードが引き合いに出されることが多いでしょう. import Control.Monad.State pickHead :: State [Int] Int pickHead = do x:xs &lt;- get -- 状態(整数のリスト)を取得 put xs -- 先頭…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogicoffee.hatenablog.com%2Fentry%2F2018%2F10%2F24%2F155858&quot; title=&quot;HaskellのStateモナドを定義から理解する - logicoffee プログラミング勉強日記&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>2018-10-24 15:58:58</published>
  <title>HaskellのStateモナドを定義から理解する</title>
  <type>rich</type>
  <url>https://logicoffee.hatenablog.com/entry/2018/10/24/155858</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
