@@ -563,6 +563,8 @@ init (Text arr off len) | len <= 0 = emptyError "init"
564-- | /O(1)/ Returns all but the last character and the last character of a
564-- | /O(1)/ Returns all but the last character and the last character of a
565-- 'Text', or 'Nothing' if empty.
565-- 'Text', or 'Nothing' if empty.
566unsnoc :: Text -> Maybe (Text, Char)
568unsnoc :: Text -> Maybe (Text, Char)
567unsnoc (Text arr off len)
569unsnoc (Text arr off len)
568 | len <= 0 = Nothing
570 | len <= 0 = Nothing