Skip to content

fromCharCode BMP #153

Closed
Closed
@jamesdbrock

Description

@jamesdbrock

fromCharCode should return Nothing if the code is out of the Basic Multilingual Plane Char range, right?

fromCharCode = toEnum

>>> 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.”

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething that should function correctly isn't.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions