Closed crlf0710 closed 4 years ago
I'd have the API take a RestrictionLevel and return bool instead
OK. And where should we implement the is_recommended()
API? Should we add it to unicode-script
?
Yes, please add it to unicode-script. While you're at it can you split the public intersect()
method into a self -> Self
intersection()
and a &mut self
intersect()
or intersect_with()
?
ok. I'll create a branch and PR when i return from work today.
I made the changes upstream.
This is a draft implementation. I implemented the algorithm itself, however there's a
Recommended
script concept which is defined in TR31. For now thisis_recommended()
method is not defined.