Skip to content

Commit e9a793f

Browse files
Apply hlint suggestion
1 parent 43aa744 commit e9a793f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

code/cwe/src/Security/CWE.hs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
{-# LANGUAGE ViewPatterns #-}
21
{-# LANGUAGE DerivingStrategies #-}
32
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
4-
{-# LANGUAGE OverloadedStrings #-}
53
module Security.CWE (CWEID, unCWEID, mkCWEID, cweNames, cweIds) where
64

75
import Security.CWE.Data
@@ -27,4 +25,4 @@ cweNames = Map.fromList (coerce cweData)
2725

2826
-- | A map to lookup CWEID.
2927
cweIds :: Map Text CWEID
30-
cweIds = Map.fromList $ (\(k, v) -> (v, k)) <$> (coerce cweData)
28+
cweIds = Map.fromList $ (\(k, v) -> (v, k)) <$> coerce cweData

0 commit comments

Comments
 (0)