File tree 6 files changed +13
-13
lines changed
src/HaskellWorks/Data/Simd
test/HaskellWorks/Data/Simd
6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import qualified HaskellWorks.Data.Simd.Internal.Foreign as F
20
20
import qualified HaskellWorks.Data.Vector.AsVector8 as V
21
21
import qualified HaskellWorks.Data.Vector.Storable as DVS
22
22
23
- {-# ANN module ("HLint: ignore Redundant do" :: String) # -}
23
+ {- HLINT ignore " Redundant do" -}
24
24
25
25
class CmpEqWord8s a where
26
26
type Target a
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import Data.Word
7
7
import qualified Data.Vector.Storable as DVS
8
8
import qualified Foreign.ForeignPtr as F
9
9
10
- {-# ANN module ("HLint: ignore Redundant do" :: String) # -}
10
+ {- HLINT ignore " Redundant do" -}
11
11
12
12
unsafeToElemSizedForeignPtr :: Int -> DVS. Vector Word64 -> (F. ForeignPtr Word8 , Int , Int )
13
13
unsafeToElemSizedForeignPtr elemSize v = case DVS. unsafeCast v :: DVS. Vector Word8 of
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ import qualified Foreign.Marshal.Unsafe as F
11
11
import qualified Foreign.Ptr as F
12
12
import qualified HaskellWorks.Data.Simd.Internal.Foreign as F
13
13
14
- {-# ANN module ("HLint: ignore Redundant do" :: String) # -}
15
- {-# ANN module ("HLint: ignore Reduce duplication" :: String) # -}
14
+ {- HLINT ignore " Redundant do" -}
15
+ {- HLINT ignore " Reduce duplication" -}
16
16
17
17
class XorBits a where
18
18
xorBits :: a -> a -> a
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ import qualified HaskellWorks.Hedgehog.Gen as G
19
19
import qualified Hedgehog.Gen as G
20
20
import qualified Hedgehog.Range as R
21
21
22
- {-# ANN module ("HLint: ignore Redundant do" :: String) # -}
23
- {-# ANN module ("HLint: ignore Reduce duplication " :: String) # -}
24
- {-# ANN module ("HLint: ignore Redundant bracket " :: String) # -}
22
+ {- HLINT ignore " Redundant do" -}
23
+ {- HLINT ignore "Redundant bracket " -}
24
+ {- HLINT ignore "Reduce duplication " -}
25
25
26
26
spec :: Spec
27
27
spec = describe " HaskellWorks.Data.Simd.ComparisonSpec" $ do
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ import HaskellWorks.Hspec.Hedgehog
12
12
import Hedgehog
13
13
import Test.Hspec
14
14
15
- {-# ANN module ("HLint: ignore Redundant do" :: String) # -}
16
- {-# ANN module ("HLint: ignore Reduce duplication " :: String) # -}
17
- {-# ANN module ("HLint: ignore Redundant bracket " :: String) # -}
15
+ {- HLINT ignore " Redundant do" -}
16
+ {- HLINT ignore "Redundant bracket " -}
17
+ {- HLINT ignore "Reduce duplication " -}
18
18
19
19
spec :: Spec
20
20
spec = describe " HaskellWorks.Data.Simd.Internal.BroadwordSpec" $ do
Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ import qualified HaskellWorks.Hedgehog.Gen as G
15
15
import qualified Hedgehog.Gen as G
16
16
import qualified Hedgehog.Range as R
17
17
18
- {-# ANN module ("HLint: ignore Redundant do" :: String) # -}
19
- {-# ANN module ("HLint: ignore Reduce duplication " :: String) # -}
20
- {-# ANN module ("HLint: ignore Redundant bracket " :: String) # -}
18
+ {- HLINT ignore " Redundant do" -}
19
+ {- HLINT ignore "Redundant bracket " -}
20
+ {- HLINT ignore "Reduce duplication " -}
21
21
22
22
spec :: Spec
23
23
spec = describe " HaskellWorks.Data.Simd.LogicalSpec" $ do
You can’t perform that action at this time.
0 commit comments