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
fun vs function
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-11-17 (12:11)
From: Pierre Weis <Pierre.Weis@i...>
Subject: Re: fun vs function
> I am learning OCaml and am confused on the difference between fun and
> function. I saw a message to this list earlier, but I didn't understand
> it. Could anyone please either explain the difference or point me in the
> right direction? I've read the manual and various other docs, but maybe I
> missed a clear explaination.
> Thank you!
> --Brock

You should have a look to the FAQ, there is an answer to the question

     * What is the difference between fun and function ? 

that could be relevant to your problem.

Remember that the FAQ is bilingual (french and english), so read one
of the following URLs

If you have any difficulty to understand the FAQ answer, please let me
know, in order to improve our support to users...

Thanks in advance,

Pierre Weis

INRIA, Projet Cristal,,