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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Benedikt Grundmann <benedikt-grundmann@w...>
Subject: Re: [Caml-list] module interface?
module Drules : Map.S with type key = string

2007/7/30, skaller <skaller@users.sourceforge.net>:
> Erhm .. how to I declare this in mli file ..
> without listing the instantiated Map signature by hand?
>
> module Drules = Map.Make(struct
>   type t = string
>   let compare = compare
> end)
>
>
> --
> John Skaller <skaller at users dot sf dot net>
> Felix, successor to C++: http://felix.sf.net
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>


-- 
Calvin: I try to make everyone's day a little more
surreal.

(From Calvin & Hobbes)