[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Caml-list] Release 3.09.1



On Sat, Jan 07, 2006 at 01:37:18PM +1100, skaller wrote:
> I cannot and do not want to error out code that choses to name
> unused function parameters, for example: one could even say that in
> the presence of type inference this is a good thing.

BTW, you can use a sensible name prefixed with an underscore to
prevent the compiler from complaining:

    let foo n _unused1 _unused2 = n + 1

-- 
Eric Cooper             e c c @ c m u . e d u



Reply to: