<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>higepon</author_name>
  <author_url>https://blog.hatena.ne.jp/higepon/</author_url>
  <blog_title>higepon blog</blog_title>
  <blog_url>https://higepon.hatenablog.com/</blog_url>
  <categories>
    <anon>scheme</anon>
  </categories>
  <description>OSが提供する環境変数は NULL 終端されたバイト列であって、必ずしも Scheme の世界の String に変換できるとは限らないよね。 getenv の戻り値は bytevector の方が良いのじゃない？という話題。 getenv vs. locale これに対して shiro さんが戻り値は String なのを維持しつつ、3つの方法を挙げてくださっている。 (A)変換できないときは例外を上げる (B)変換できないときは、戻り値で変換できないと言うことを示す (C)オプショナルな filter 手続き引数を用意して、ユーザーに変換を任せる 個人的には厳密にやるならば(C)。 ただし…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigepon.hatenablog.com%2Fentry%2F20080720%2F1216556461&quot; title=&quot; getenv は string を返すのか？問題 - SRFI に getenv を提案しようその12 - higepon blog&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>2008-07-20 21:21:01</published>
  <title> getenv は string を返すのか？問題 - SRFI に getenv を提案しようその12</title>
  <type>rich</type>
  <url>https://higepon.hatenablog.com/entry/20080720/1216556461</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
