I have this record type:
type syllable = {onset: consonant list; nucleus: vowel list; coda: consonant list};;
What if I want to instantiate a syllable where only the nucleus is defined? Can I give it a default value? Does it default to [] or something like that?
I think it’s a better idea to use “optional” fields.
That way, you can define what you need.
I think that’s the syntax.