Probably through the Nums module. Nat, Ratio, etc, are afaik internal modules.
On 1/8/07, Holger Schulz <schulz@...-siegen.de> wrote:
> Am 2007-01-06 um 16:00 schrieb Sachin Shah:
> > Hi,
> > The best way is to download the OCaml source code. Under the
> > 'otherlibs/num' directory, you will find ratio.ml[i]. Neither file
> > is flush
> > with comments, although the function names are usually enough to
> > figure out
> > what they do.
> That sounds like there's nothing in any manual or something? I'd like
> to know how do I get ratios? Can I convert floats to ratios or what.
> Archives up to November 11, 2006 are also downloadable at http://www.connettivo.net/cntprojects/ocaml_beginners/
> The archives of the very official ocaml list (the seniors' one) can be found at http://caml.inria.fr
> Attachments are banned and you're asked to be polite, avoid flames etc.
> Yahoo! Groups Links