Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] strange behaviors with output
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Michaël_Grünewald <michael-grunewald@w...>
Subject: [Caml-list] Re: strange behaviors with output
Yang Shouxun <yangsx@fltrp.com> writes:

> Hi,
> 
> I found a strange behavior when compiling and running a simple ocaml program.  
> When the file to process (a testing case) is small, it works as expected. But 
> when the file (the real case) is very large, it does not. For instance, if 
> the expected output should be:
> ----8<----
> a
> b
> c
> d
> ...
> ----8<----
> What I get may be:
> ----8<----
> a
> d
> c
> b
> ...
> ----8<----

Your output sample is not very cute, it might have been

>For instance, if 
> the expected output should be:
> ----8<----
> GOOD
> ----8<----
> What I get may be:
> ----8<----
> BAD
> ----8<----

posting your code might be (more) helpful.
-- 
Michaël Grünewald <michael-grunewald@wanadoo.fr>  - RSA PGP Key ID: 0x20D90C12
-------------------
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