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
Annoying behaviour of OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David Thomas <david_hd@y...>
Subject: Re: [Caml-list] Annoying behaviour of OCaml

--- Oliver Bandel <> wrote:
> Even if this would be the case, not what we expect
> is of importance, but what the documentation says.
> If there's a difference between documentation and
> bahaviour, then there is a bug (in the
> or in the implementation, or both).

I disagree that expectations are of no importance. 
Principle of least surprise and all that...  Violation
of expectations is a bug not in documentation or
implementation, but design.  That said, there may very
well be overriding concerns that force us to introduce
behavior contrary to expectations in certain instances
- it's one guideline of many.

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.