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] mutually referencing compilation units
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Francois Thomasset <francois.thomasset@i...>
Subject: Re: [Caml-list] function polymorphic in number of arguments?
> Is it possible to make a function of N arguments (3 or more), the first 
> two are functions of N-2 arguments, and the function calls the first 
> two functions passing its remaining arguments to each of the first two 
> functions.
Whar about this one :
let f a b =
  let g x = a x; b x
  in g;;

François Thomasset

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: