Making it generic is useless IMHO...

I don't completely hate forcing Unit, but Any sounds good to me. `function` could be called `f`.

Other opinions?