Stability | experimental |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
| This module defines some types from the Web IDL specification
Documentation
type DOMString = Text Source #
(spec) The `DOMString` type corresponds to the set of all possible sequences of code units. Such sequences are commonly interpreted as UTF-16 encoded strings RFC2781 although this is not required. TODO: This implementation doesn't allow invalid UTF-16 codepoints, which probably makes it not work regarding https://www.w3.org/TR/webauthn-2/#sctn-strings Write a test case that doesn't work and find a better representation.
type USVString = Text Source #
(spec) The `USVString` type corresponds to the set of all possible sequences of Unicode scalar values, which are all of the Unicode code points apart from the surrogate code points. TODO: This implementation allows for surrogate code points. Figure out if this can violate the spec in any way.
type UnsignedLongLong = Word64 Source #
type UnsignedLong = Word32 Source #
type UnsignedShort = Word16 Source #