Browse thread
Question on polymorphic typing for curried functions
-
Christopher Kauffman
- Jon Harrop
- Julien Moutinho
- Harrison, John R
[
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: | 2007-08-24 (21:04) |
From: | Julien Moutinho <julien.moutinho@g...> |
Subject: | Re: [Caml-list] Question on polymorphic typing for curried functions |
On Fri, Aug 24, 2007 at 02:43:26PM -0500, Christopher Kauffman wrote: > I am looking for a bit of information on the behavior of curried functions > wrt polymorphic arguments. For instance, in the following example, using a > curried function seems to lose the nice polymorphism that I desire. > [...] > Is there a set of rules or guidelines that determine when argument types > are specialized versus staying polymorphic? This may be of interest to you: http://caml.inria.fr/pub/old_caml_site/FAQ/FAQ_EXPERT-eng.html#eta_expansion