Sanitise a spec for an 'choice'

sanitise_spec_choice(spec)

Arguments

spec

named list object with 'type', 'nbits', etc

Value

Return sanitised spec with any generic default values set