Commits

Bryan O'Sullivan committed ef07245 Merge

Merge pull request #56 from staffehn/patch-1

fixed doc for Data.Text.Unsafe.unsafeTail

  • Participants
  • Parent commits 2b8877d, e17fba9

Comments (0)

Files changed (1)

Data/Text/Unsafe.hs

           n = A.unsafeIndex arr (off+1)
 {-# INLINE unsafeHead #-}
 
--- | /O(1)/ A variant of 'tail' for non-empty 'Text'. 'unsafeHead'
+-- | /O(1)/ A variant of 'tail' for non-empty 'Text'. 'unsafeTail'
 -- omits the check for the empty case, so there is an obligation on
 -- the programmer to provide a proof that the 'Text' is non-empty.
 unsafeTail :: Text -> Text