Documentation

Init.Data.Char.Basic

@[inline, reducible]

Determines if the given integer is a valid Unicode scalar value.

Note that values in [0xd800, 0xdfff] are reserved for UTF-16 surrogate pairs.

Instances For
    def Char.lt (a : Char) (b : Char) :
    Instances For
      def Char.le (a : Char) (b : Char) :
      Instances For
        @[inline, reducible]

        Determines if the given nat is a valid Unicode scalar value.

        Instances For
          @[inline]
          def Char.toNat (c : Char) :

          Underlying unicode code point as a Nat.

          Instances For

            Is the character a space (U+0020) a tab (U+0009), a carriage return (U+000D) or a newline (U+000A)?

            Instances For

              Is the character in ABCDEFGHIJKLMNOPQRSTUVWXYZ?

              Instances For

                Is the character in abcdefghijklmnopqrstuvwxyz?

                Instances For

                  Is the character in ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz?

                  Instances For

                    Is the character in 0123456789?

                    Instances For

                      Is the character in ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789?

                      Instances For

                        Convert an upper case character to its lower case character.

                        Only works on basic latin letters.

                        Instances For

                          Convert a lower case character to its upper case character.

                          Only works on basic latin letters.

                          Instances For