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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: nakata keiko <keiko@k...>
Subject: [Caml-list] using arguments insides functors
Hello,
why the following code does not get type checked ?

module type I = 
  sig 
    module type T
  end


module F = functor (Elt : I) ->
  struct
    module type T = Elt.T
    module F = functor (Elt : T) -> 
      struct 
	include Elt
      end
  end

Thanks,
Keiko

-------------------
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