mirror of
https://github.com/github/semantic.git
synced 2024-12-23 23:11:50 +03:00
Classes are prefixed with category-
.
This commit is contained in:
parent
96a87ef716
commit
b172f3c06c
@ -175,7 +175,7 @@ zipWithMaybe f la lb = take len $ zipWith f la' lb'
|
|||||||
lb' = (Just <$> lb) ++ (repeat Nothing)
|
lb' = (Just <$> lb) ++ (repeat Nothing)
|
||||||
|
|
||||||
classify :: Set.Set Category -> Maybe ClassName
|
classify :: Set.Set Category -> Maybe ClassName
|
||||||
classify = foldr (const . Just) Nothing
|
classify = foldr (const . Just . ("category-" ++)) Nothing
|
||||||
|
|
||||||
actualLines :: String -> [String]
|
actualLines :: String -> [String]
|
||||||
actualLines "" = [""]
|
actualLines "" = [""]
|
||||||
|
Loading…
Reference in New Issue
Block a user