Searched refs:lbsStripPrefix (Results 1 – 7 of 7) sorted by relevance
55 …f x | Just file <- lbsStripPrefix script y = do res <- grab file; pure $ LBS.pack "<script>\n" `LB…56 …| Just file <- lbsStripPrefix link y = do res <- grab file; pure $ LBS.pack "<style type=\"text/cs…89 lbsStripPrefix :: LBS.ByteString -> LBS.ByteString -> Maybe LBS.ByteString90 lbsStripPrefix prefix text = if a == prefix then Just b else Nothing function
290 in case foldr (<|>) Nothing $ map (`lbsStripPrefix` sfx) separators of297 lbsStripPrefix :: LBS.ByteString -> LBS.ByteString -> Maybe LBS.ByteString299 lbsStripPrefix pfx lbs = LBS.stripPrefix pfx lbs function301 lbsStripPrefix pfx lbs function
291 in case foldr (<|>) Nothing $ map (`lbsStripPrefix` sfx) separators of298 lbsStripPrefix :: LBS.ByteString -> LBS.ByteString -> Maybe LBS.ByteString300 lbsStripPrefix pfx lbs = LBS.stripPrefix pfx lbs function302 lbsStripPrefix pfx lbs function