-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Non-empty values of `Data.Text`. -- -- -- Non-empty values of Data.Text. @package text1 @version 0.0.1 module Data.Text1 data Text1 Text1 :: Char -> Text -> Text1 singleton :: Char -> Text1 cons :: Char -> Text1 -> Text1 snoc :: Text1 -> Char -> Text1 append :: Text1 -> Text1 -> Text1 last1 :: Text1 -> Char init1 :: Text1 -> Text isSingle :: Text1 -> Bool length :: Text1 -> Int compareLength :: Text1 -> Int -> Ordering _text :: Prism' Text Text1 _string :: Prism' String Text1 _head1 :: Lens' Text1 Char _tail1 :: Lens' Text1 Text class IsText1 t where text1 = unpacked1 . traversed packed1 :: IsText1 t => Iso' (NonEmpty Char) t text1 :: IsText1 t => IndexedTraversal' Int t Char unpacked1 :: IsText1 t => Iso' t (NonEmpty Char) instance Data.Data.Data Data.Text1.Text1 instance GHC.Classes.Ord Data.Text1.Text1 instance GHC.Classes.Eq Data.Text1.Text1 instance GHC.Show.Show Data.Text1.Text1 instance Data.Semigroup.Semigroup Data.Text1.Text1 instance Data.Binary.Class.Binary Data.Text1.Text1 instance Data.Text1.IsText1 Data.Text1.Text1 instance Data.Text1.IsText1 (Data.List.NonEmpty.NonEmpty GHC.Types.Char) instance Control.Lens.Cons.Cons Data.Text1.Text1 Data.Text1.Text1 GHC.Types.Char GHC.Types.Char