Closed
Description
fromCharCode
should return Nothing
if the code is out of the Basic Multilingual Plane Char
range, right?
purescript-strings/src/Data/Char.purs
Line 16 in 157e372
>>> show $ fromCharCode 65900
(Just 'Ŭ')
The Bounded
instance for Char
says that “Characters fall within the Unicode range,” but the Char
says “guaranteed to contain one code unit.”