[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Keith Sheppard <keithshep@g...> |
| Subject: | basic question about Functors |
Hello, I'm still figuring out OCaml syntax and I have a very basic question. I've looked through the Functors section of the ocaml tutorial (http://www.ocaml-tutorial.org/modules) and so I see how I can declare a StringMap like: > module StringMap = Map.Make(String);; Now I can define a function like: > remove_fish = StringMap.remove "fish" What I'm confused about is what type signature I can use in the mli file if I want to make the remove_fish function public... Thanks in advance Keith