Skip to content

Commit

Permalink
Add a missing haddock…
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkkrp committed Apr 13, 2017
1 parent 5b9cf5f commit 9712a94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Codec/Audio/LAME.hs
Expand Up @@ -308,6 +308,9 @@ ignoringIOErrors ioe = ioe `catch` handler
handler :: IOError -> IO ()
handler = const (return ())

-- | Render track number and optionally total number of tracks as a strict
-- 'Text' value.

renderTrackNumber :: Word8 -> Maybe Word8 -> IO Text
renderTrackNumber 0 t = throwM (I.LameInvalidTrackNumber 0 t)
renderTrackNumber n t@(Just 0) = throwM (I.LameInvalidTrackNumber n t)
Expand Down

0 comments on commit 9712a94

Please sign in to comment.