Improve the function name

This commit is contained in:
pythonissam 2017-12-02 09:46:41 +00:00
parent 57e25eaf39
commit 8f218307be

View File

@ -536,10 +536,10 @@ genericNameFromLabel match label = do
body = simpleBody res
mlabel = parseHTML body
$// C.element "label"
>=> contentMatches label
>=> isContentMatch label
mfor = mlabel >>= attribute "for"
contentMatches x c
isContentMatch x c
| x `match` T.concat (c $// content) = [c]
| otherwise = []