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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Fabrice Le Fessant <fabrice.le_fessant@i...>
Subject: Re: [Caml-list] Petty complaints

>  You can create a module Types, where you define all the Pervasives
>  types, like this:
>  
>  type char = char
>  type int = int
>  and so on...
>  
>  Then, you can use Types.char instead of char, no ?

Sorry, you should probably do something like:

type my_char = char
type char = my_char

and so on... since type definitions are recusive.

- Fabrice

-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr