1. Bryan O'Sullivan
  2. text


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
  • Branches default

Comments (0)

Files changed (1)

File Data/Text/Unsafe.hs

View file
  • Ignore whitespace
           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