2010-01-15から1日間の記事一覧

lisp-transformer

R6RSには、伝統的なマクロを作るためのlisp-transformerが紹介されている。 http://github.com/okuoku/yunilibs/blob/master/lib/yuni/rnrs/ref/lisp-transformer.ss http://practical-scheme.net/wiliki/wiliki.cgi?R6RS%3A%E7%BF%BB%E8%A8%B3%3AStandard%2…

SRFI-42の拡張

SRFI-42では、ファイルの各行を扱う:lines-of-fileジェネレータが提案されているので実装してみた。 http://github.com/okuoku/yunilibs/blob/master/lib/yuni/ec.ss これにより、SRFI-42のsome-ec手続きでファイルを直ぐに読めるようになる。 (import (rnrs…