make Trunc not depend on types/*