I've been wondering for a good while whether it's possible with what we have. Looks like it is, modulo some gnarly hacks in introspecting function types. https://github.com/D-Programming-Language/phobos/pull/3394 Destroy! Andrei