On Prior Distributions for Orthogonal Function Sequences