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
How to fix this unbound value problem?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-08-30 (21:42)
From: Jon Harrop <jonathandeanharrop@g...>
Subject: Re: [Caml-list] How to fix this unbound value problem?
On Saturday 30 August 2008 22:29:51 circ ular wrote:
> how do I compile a program?

The compile line for that program is given at the bottom of this page:


  ocamlopt -rectypes -inline 1000 -o ray

> what suffix does ocaml files have? 

.ml and .mli files are OCaml source code. In this case, you should save that 
code into a "" file. However, that code was designed for Linux and not 
Windows so you may have problems with Windows injecting unwanted \r 
characters into the output, resulting in wonky images.

Dr Jon D Harrop, Flying Frog Consultancy Ltd.