Version française
Home     About     Download     Resources     Contact us    
Browse thread
recmod
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Anastasia Gornostaeva <ermine@e...>
Subject: recmod
Hello, Happy New Year!

Is it possible to compile such files?

mod1.ml: 
let get a =
   if Mod2.mem a then 1 else 2

mod2.ml:
let mem a = List.mem a [1;2;3]
let other () =
   print_int (Mod1.get 5)

ermine