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-26 (13:27)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] unix.chop_extension
On May 26, 2004, at 12:34, skaller wrote:

> For example:
> #include <stdio.h>
> Woops. stdio.h doesn't denote a file. Neither does ./stdio.h.

What ???  "stdio.h" does denote a file, and "./stdio.h" does
denote the same file.  That file may or may not exist, but if
you open it with either name, you will access the same file,
whether it exists or not.

> Neither does 'foobar'.

"foobar" also denotes a file.

>  But either all are equivalent

No, they are not equivalent.  Opening "foobar" does not access
the same file as opening "stdio.h".

-- Damien

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