Can pure expression be reduced/inlined and optimized at compile time?

Evaluation at compile time might also be a good way to eliminate unsafePartial in some situations.