Browse thread
Instruction selection in the OCaml compiler: Modules or classes?
[
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: | David Baelde <david.baelde@g...> |
| Subject: | Re: [Caml-list] Instruction selection in the OCaml compiler: Modulesor classes? |
On 2/24/07, skaller <skaller@users.sourceforge.net> wrote: > It seems like a module functor allows both anonymous > signatures (structural) and also anonymous argument > modules (structural), yet you cannot have > anonymous functor applications: you have to bind the application to > a module name. If we really had structural typing that name would > simply be an alias. Why can't we eliminate that name? *** One worthy remark here might be that side-effects can occur at functor instantiation. Then, forcing the user to think about when the instantiation occurs is useful... --David