record.{en,de}code allow but strip keys outside domain
Other changes:
added/modified appropriate record tests
distinguished HyphenatedString from HyphenatedStringFromNonHyphenated so that the former can be used for (only) testing a domain that is a subset of string, and the latter for testing a prismatic domain
Addresses #704.
New behavior is that:
record.is
allows keys outsidedomain
record.{en,de}code
allow but strip keys outsidedomain
Other changes:
record
testsHyphenatedString
fromHyphenatedStringFromNonHyphenated
so that the former can be used for (only) testing adomain
that is a subset ofstring
, and the latter for testing a prismaticdomain
enumerableRecord
in terms ofexact
Happy to iterate based on feedback.