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
status of some big "important" features?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-12-30 (19:10)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: status of some big "important" features?

On Tue, Dec 26, 2000 at 03:47:08PM -0800, Chris Hecker wrote:

> PS.  Minor question I thought of the other there any way to
> write "nth" for tuples (as opposed to "fst", which is hard-coded to
> 2-tuples)?  This is related to the overloading and generic questions
> above, but it also touches on some introspection issues, since nth
> would need to know the "length" of the tuple to either recurse or
> loop.  I guess I could use camlp4 for this if I really wanted
> to...couldn't I?

Impossible in Camlp4, it is a typing problem.