English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2004-05-28 (19:34)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] unix.chop_extension
On Sat, 2004-05-29 at 02:44, Damien Doligez wrote:
> 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";;

Ah, point taken! I was reading files, didn't
even consider open_out :)

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

I did. You didn't follow the full discussion.

> It doesn't talk about equivalent
> files, but about equivalent names.  

yeah, and I had no idea what that meant.
So I asked and Xavier replied:

> Two names are equivalent if
> they refer to the same file.

and that characterisation is what I have been disputing.

John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net

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