discretise function

Discretise a <dist_spec>