Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] [ANN] The Missing Library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Benjamin Geer <ben@s...>
Subject: Re: [Caml-list] Re: Common IO structure
Richard Jones wrote:
> * What programs do people need to write?

Most of what I do involves financial messages, which tend to be small, 
and come in many different encodings and formats.  So what I usually 
need to do is read until EOF (from a file, a socket or whatever), 
convert the data to a Unicode string, and run it through some kind of 
parser (e.g. an XML parser).  Going the other way, I have a Unicode 
string, and I just want to convert it to bytes and write it to a file or 
socket.  That covers 90% of what I do with I/O.

Ben

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners