<?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>7.8 本章のまとめ 練習問題がんばるぞ！ 7.9 練習問題 いつものようにまずは自力でやってみます。 まずは実験。 Prelude&gt; splitAt 3 [0,1,2,3,4] ([0,1,2],[3,4]) Prelude&gt; splitAt 60 [0,1,2,3,4] ([0,1,2,3,4],[]) なるほど、引数のリストよりも大きい数値に対して関数適用すると、 タプルの第一要素に引数のリストがそのまま入るんですね。 というわけでこんな感じ。 fold.hs {-- 7.9 練習問題 2010/7/11 written by yohpapa --} {-- mainアクション 標準出力…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohpapa.hatenadiary.org%2Fentry%2F20100711%2F1278804588&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-11 08:29:48</published>
  <title> 基本的な構文</title>
  <type>rich</type>
  <url>https://yohpapa.hatenadiary.org/entry/20100711/1278804588</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
