Text in Haskell pedantry
George Russell
ger@tzi.de
Fri, 09 Aug 2002 13:45:50 +0200
Ashley wrote
[quote]No, a file is always a list of octets. Nothing else (ignoring metadata,
forks etc.).
[/quote]
On MVS at least a file is a list of list of octets, because record boundaries are
not handled by a "record boundary character" but by other means. There are
still more horrible details of MVS access methods no-one here will want to
know about.
I think it would be more correct to say a file is always a
list of C characters, since while this may not be true, at least every system
in the foreseeable future is going to make it possible to pretend it is, at least
for the sort of files people are likely to want to process using Haskell.