Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] functor question
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Brian Naylor <bwv211mail@y...>
Subject: [Caml-list] functor question
Is there any efficiency difference between:

module Foo = Make (Bar) (Baz)


module Both = struct module Bar = Bar module Baz = Baz end
module Foo = Make (Both)

In other words, is it better to coalesce structures into a single functor
application rather than to apply multiple functors?  Do I pay more indirection
costs in the first case?  Thanks.

Do You Yahoo!?
Yahoo! Health - Feel better, live better
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: