mirror of
https://github.com/github/semantic.git
synced 2024-12-19 04:41:47 +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)
|
||||
|
||||
classify :: Set.Set Category -> Maybe ClassName
|
||||
classify = foldr (const . Just) Nothing
|
||||
classify = foldr (const . Just . ("category-" ++)) Nothing
|
||||
|
||||
actualLines :: String -> [String]
|
||||
actualLines "" = [""]
|
||||
|
Loading…
Reference in New Issue
Block a user