<div class="gmail_quote">On 11 March 2012 05:04, Andrei Alexandrescu <span dir="ltr"><<a href="mailto:SeeWebsiteForEmail@erdani.org">SeeWebsiteForEmail@erdani.org</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

This analogy is tenuous for D because functions are defined to return one type, e.g. typeof(fun(args)) is defined. Once we get into disallowing that for certain functions, we're looking at major language changes for little benefit.</blockquote>
<div><br></div><div>I do appreciate this point though...</div><div>Is it currently possible to enumerate a functions argument list? How do you express that? The problems seem very similar to me.</div></div>