Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] unix.chop_extension
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] unix.chop_extension
On May 27, 2004, at 06:33, skaller wrote:

> If I call open on 'fred' 'joe' and 'max' on my system
> I will get an error in all three cases because I
> do not have any 'fred' 'joe' and 'max' files.

Try this:

     open_out "fred";;

> In particular 'equivalent files' definition is
> of no use to me, because pathname components
> almost never refer to files.

Please read the documentation.  It doesn't talk about equivalent
files, but about equivalent names.  Two names are equivalent if
they refer to the same file.

-- Damien

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: