<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohpapa</author_name>
  <author_url>https://blog.hatena.ne.jp/yohpapa/</author_url>
  <blog_title>Yohpapa’s note</blog_title>
  <blog_url>https://yohpapa.hatenadiary.org/</blog_url>
  <categories>
    <anon>haskell</anon>
  </categories>
  <description>8.3 部分適用 なるほど、引数の一部を指定して、新しい関数を作っちゃう。 関数型プログラミング言語の真骨頂ともいうべきでしょうか。 これまで見たことのない手法です。 ですが、とても自然に馴染む考え方です。 何となくですが、今までにあまりよく理解せずに使っていました。 main = do cs &lt;- getContents putStr $ unlines $ map (myFold 60) $ lines cs myFold :: Int -&gt; String -&gt; String myFold _ [] = [] myFold n cs = let (cs1, cs2) = splitAt n…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohpapa.hatenadiary.org%2Fentry%2F20100714%2F1279058708&quot; title=&quot; 関数 - Yohpapa’s note&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>2010-07-14 07:05:08</published>
  <title> 関数</title>
  <type>rich</type>
  <url>https://yohpapa.hatenadiary.org/entry/20100714/1279058708</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
