schem

when と and

(when ok? (do-something)) と (and ok? (do-something)) 個人的には、前者の方が直感的だが、後者の方がタイプ数が1少ない。

utf32->string, string->utf32

utf32->string, string->utf32 などを実装。内部文字エンコーディングが UTF32 なので楽。 併せて decode/encode 時のエラー処理などをまともに。久しぶりに電車でコードを書いた。