<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>heyhachi</author_name>
  <author_url>https://blog.hatena.ne.jp/heyhachi/</author_url>
  <blog_title>冷やし中華終えました - We’ve finished cold noodle</blog_title>
  <blog_url>https://heyhachi.hatenadiary.org/</blog_url>
  <categories>
    <anon>gauche</anon>
    <anon>scheme</anon>
  </categories>
  <description>とりあえず解答を晒してみます。 不慣れながらなんとか解いていきます。 今回は６章の５の練習問題です。 ■リストの長さを計算するlengthを直接(foldを使わずに)定義してみる (define (length lis) (if (null? lis) 0 (+ 1 (length (cdr lis))))) ■リストの中から、条件を満たす要素だけを抜き出したリストを返すfilterを定義してみる これの「条件を満たす」部分をどうすれば良いのかわからず手詰まり。条件式のリスト、例えば'(</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fheyhachi.hatenadiary.org%2Fentry%2F00000101%2F1268985289&quot; title=&quot;プログラミング Gauche 練習問題を解く[6.5] - 冷やし中華終えました - We’ve finished cold noodle&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>0000-01-01 16:54:49</published>
  <title>プログラミング Gauche 練習問題を解く[6.5]</title>
  <type>rich</type>
  <url>https://heyhachi.hatenadiary.org/entry/00000101/1268985289</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
