Module
Data.String.NonEmpty.CodePoints
- Package
- purescript-strings
- Repository
- purescript/purescript-strings
#singleton Source
singleton :: CodePoint -> NonEmptyString
#fromFoldable1 Source
fromFoldable1 :: forall f. Foldable1 f => f CodePoint -> NonEmptyString
#codePointAt Source
codePointAt :: Int -> NonEmptyString -> Maybe CodePoint
#lastIndexOf Source
lastIndexOf :: Pattern -> NonEmptyString -> Maybe Int
#lastIndexOf' Source
lastIndexOf' :: Pattern -> Int -> NonEmptyString -> Maybe Int
#uncons Source
uncons :: NonEmptyString -> { head :: CodePoint, tail :: Maybe NonEmptyString }
#length Source
length :: NonEmptyString -> Int
#take Source
take :: Int -> NonEmptyString -> Maybe NonEmptyString
#takeWhile Source
takeWhile :: (CodePoint -> Boolean) -> NonEmptyString -> Maybe NonEmptyString
#drop Source
drop :: Int -> NonEmptyString -> Maybe NonEmptyString
#dropWhile Source
dropWhile :: (CodePoint -> Boolean) -> NonEmptyString -> Maybe NonEmptyString
#countPrefix Source
countPrefix :: (CodePoint -> Boolean) -> NonEmptyString -> Int
#splitAt Source
splitAt :: Int -> NonEmptyString -> { after :: Maybe NonEmptyString, before :: Maybe NonEmptyString }
- Modules
- Data.
Char - Data.
Char. Gen - Data.
String - Data.
String. CaseInsensitive - Data.
String. CodePoints - Data.
String. CodeUnits - Data.
String. Common - Data.
String. Gen - Data.
String. NonEmpty - Data.
String. NonEmpty. CaseInsensitive - Data.
String. NonEmpty. CodePoints - Data.
String. NonEmpty. CodeUnits - Data.
String. NonEmpty. Internal - Data.
String. Pattern - Data.
String. Regex - Data.
String. Regex. Flags - Data.
String. Regex. Unsafe - Data.
String. Unsafe