Re: What will the new syntax be like? (O'Caml + O'Labl)

From: skaller (skaller@maxtal.com.au)
Date: Tue Dec 07 1999 - 19:32:15 MET


Date: Wed, 08 Dec 1999 05:32:15 +1100
From: skaller <skaller@maxtal.com.au>
Subject: Re: What will the new syntax be like? (O'Caml + O'Labl)

let foo bar:a ?qux:c{=10} : unit = ...

        How do I curry a function with a default argument?
Does

        foo aa

mean

        foo aa 10 (* type unit *)

or is it a function with type int -> unit?

-- 
John Skaller, mailto:skaller@maxtal.com.au
10/1 Toxteth Rd Glebe NSW 2037 Australia
homepage: http://www.maxtal.com.au/~skaller
voice: 61-2-9660-0850



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:29 MET