Statically resolve parameters

Closes https://github.com/nathan/phosphorus/issues/189