[
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: | Lauri Alanko <la@i...> |
| Subject: | Re: [Caml-list] What about polymorphic methods? |
On Sat, May 25, 2002 at 12:55:30PM +0900, Jacques Garrigue wrote:
> With the CVS version, you would have to write
>
> method left_iter : 'b. ('a -> 'b) -> 'b list = fun f -> ...
> method right_iter : 'b. ('a -> 'b) -> 'b list = fun f -> ...
^^^
Is this type parameter declaration really necessary? Since class type
parameters are explicitly declared already, can't method-specific type
parameters be recognized automatically?
Lauri Alanko
la@iki.fi
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners