Skip to content

Commit

Permalink
Fix compiler warnings: unused-top-binds
Browse files Browse the repository at this point in the history
Progress avh4#302
  • Loading branch information
ahstro committed Oct 24, 2017
1 parent 5fbd040 commit 8124abf
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions markdown/Cheapskate/Inlines.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import Prelude hiding (takeWhile)
import Control.Applicative
import Data.Monoid
import Control.Monad
import qualified Data.Map as M
import Data.Text (Text)
import qualified Data.Text as T
import qualified Data.Set as Set
Expand Down Expand Up @@ -352,11 +351,6 @@ pInlineLink lab = do
char ')'
return $ singleton $ Link lab (Url url) tit

lookupLinkReference :: ReferenceMap
-> Text -- reference label
-> Maybe (Text, Text) -- (url, title)
lookupLinkReference refmap key = M.lookup (normalizeReference key) refmap

-- A reference link: [label], [foo][label], or [label][].
pReferenceLink :: ReferenceMap -> Text -> Inlines -> Parser Inlines
pReferenceLink _ rawlab lab = do
Expand Down

0 comments on commit 8124abf

Please sign in to comment.