<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shammer</author_name>
  <author_url>https://blog.hatena.ne.jp/shammer/</author_url>
  <blog_title>Shammer's Philosophy</blog_title>
  <blog_url>https://shammerism.hatenadiary.com/</blog_url>
  <categories>
    <anon>Lisp</anon>
  </categories>
  <description>Lispでファイルを読み書きする場合、 ファイルのPATHを取得 そのPATHからストリームを生成 ストリームに対して読み書き実行 ストリームをクローズ という流れになる。簡単な内容だが、サンプルは以下のような感じ。 (defun file-write (message) (let ((stream (open (make-pathname :name &quot;test.txt&quot;) :direction :output :if-exists :supersede))) (format stream message) (format stream &quot;.~%&quot;) (close stream))) (de…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshammerism.hatenadiary.com%2Fentry%2F20090208%2F1303542599&quot; title=&quot;Lispでファイル読み書き - Shammer&amp;#39;s Philosophy&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>2009-02-08 16:09:59</published>
  <title>Lispでファイル読み書き</title>
  <type>rich</type>
  <url>https://shammerism.hatenadiary.com/entry/20090208/1303542599</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
