2-- Module : Streamly.Data.Internal.Unicode.Char
3-- Copyright : (c) 2018 Composewell Technologies
6-- Maintainer : streamly@composewell.com
7-- Stability : experimental
10module Streamly.Internal.Data.Unicode.Char
15 -- * Unicode aware operations
25import Data.Char (isAsciiUpper, isAsciiLower)
27-- import Streamly (IsStream)
29-------------------------------------------------------------------------------
30-- Unicode aware operations on strings
31-------------------------------------------------------------------------------
33-- | Select alphabetic characters in the ascii character set.
37{-# INLINE isAsciiAlpha #-}
38isAsciiAlpha :: Char -> Bool
39isAsciiAlpha c = isAsciiUpper c || isAsciiLower c
41-------------------------------------------------------------------------------
42-- Unicode aware operations on strings
43-------------------------------------------------------------------------------
48toCaseFold :: IsStream t => Char -> t m Char
53toLower :: IsStream t => Char -> t m Char
58toUpper :: IsStream t => Char -> t m Char
63toTitle :: IsStream t => Char -> t m Char
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list