Folklore trick for dollar-store dependent types