text1-0.0.1: Non-empty values of `Data.Text`.
Data.Text1
data Text1 Source
Constructors
Instances
singleton :: Char -> Text1 Source
cons :: Char -> Text1 -> Text1 Source
snoc :: Text1 -> Char -> Text1 Source
append :: Text1 -> Text1 -> Text1 Source
last1 :: Text1 -> Char Source
init1 :: Text1 -> Text Source
isSingle :: Text1 -> Bool Source
length :: Text1 -> Int Source
compareLength :: Text1 -> Int -> Ordering Source
_text :: Prism' Text Text1 Source
_string :: Prism' String Text1 Source
_head1 :: Lens' Text1 Char Source
_tail1 :: Lens' Text1 Text Source
class IsText1 t where Source
Minimal complete definition
packed1
Methods
packed1 :: Iso' (NonEmpty Char) t Source
text1 :: IndexedTraversal' Int t Char Source
unpacked1 :: IsText1 t => Iso' t (NonEmpty Char) Source