Hi,

Is there any "common wisdom" regarding the inclusion of optional functions in a 
module signature?  The two most obvious approaches involve 1) a pair of boolean 
flag and a function, where the function raises an exception if unimplemented OR 
2) using the option type. I see pros/cons to each approach, but am curious if 
there's any (unofficial) standard approach.

Yitzhak
-----------------------------
Yitzhak Mandelbaum





-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to