Samplers as uniforms