2007-04-24から1日間の記事一覧

Concurrent Clean : Re: 遅延IO

[id:lethevert:20070423:p3]について、検証してみた。 module Main import StdFile, StdDebug Start w # (_,fout,w) = fopen "output.txt" FWriteText w (_,fin,w) = fopen "input.txt" FReadText w (cfin,fin) = lazyIO fin (data,fin) = toLines fin fout …

Concurrent Clean : ChannelとHandle

状態の表現に関する一連のエントリ [id:lethevert:20070422:p2] [id:lethevert:20070423:p1] と、遅延IOの一連のエントリ [id:lethevert:20070423:p3] [id:lethevert:20070424:p1] を通して、ひとつの考え方がまとまってきた。 これまでファイルアクセス用オ…