on master help sign in
Fix hlint issues in streamly package
86ad39aHarendra Kumar
.hlint.ignore+3
@@ -2,6 +2,9 @@ core/src/Streamly/Internal/Data/Stream/StreamK/Type.hs
2core/src/Streamly/Internal/Data/Pipe/Type.hs
2core/src/Streamly/Internal/Data/Pipe/Type.hs
3core/src/Streamly/Internal/Unicode/Stream.hs
3core/src/Streamly/Internal/Unicode/Stream.hs
4src/Streamly/Internal/Data/SmallArray/Type.hs
4src/Streamly/Internal/Data/SmallArray/Type.hs
5+src/Streamly/Internal/Data/Stream/IsStream/Eliminate.hs
6+src/Streamly/Internal/Data/Stream/Serial.hs
7+src/Streamly/Internal/Data/Stream/Zip.hs
5test/Streamly/Test/Data/Array.hs
8test/Streamly/Test/Data/Array.hs
6test/Streamly/Test/Data/Parser.hs
9test/Streamly/Test/Data/Parser.hs
7test/Streamly/Test/Data/ParserK.hs
10test/Streamly/Test/Data/ParserK.hs
src/Streamly/Internal/Data/Stream/Concurrent.hs+2−2
@@ -646,8 +646,8 @@ parConcatIterate modifier f input =
646
646
647 where
647 where
648
648
649− iterateStream channel stream =
649+ iterateStream channel =
650− parConcatMapChanKGeneric modifier channel (generate channel) stream
650+ parConcatMapChanKGeneric modifier channel (generate channel)
651
651
652 generate channel x =
652 generate channel x =
653 -- XXX The channel q should be FIFO for DFS, otherwise it is BFS
653 -- XXX The channel q should be FIFO for DFS, otherwise it is BFS
src/Streamly/Internal/Unicode/Char.hs+3−3
@@ -227,13 +227,13 @@ partialComposeD (Stream step state) = Stream step' (ComposeNone state)
227 Stop -> Skip $ YieldList rbuf ComposeStop
227 Stop -> Skip $ YieldList rbuf ComposeStop
228
228
229 {-# INLINE initHangul #-}
229 {-# INLINE initHangul #-}
230− initHangul c st = ComposeJamo (Hangul c) st
230+ initHangul c = ComposeJamo (Hangul c)
231
231
232 {-# INLINE initJamo #-}
232 {-# INLINE initJamo #-}
233− initJamo c st = ComposeJamo (Jamo c) st
233+ initJamo c = ComposeJamo (Jamo c)
234
234
235 {-# INLINE initReg #-}
235 {-# INLINE initReg #-}
236− initReg !c st = ComposeReg 0 [c] st
236+ initReg !c = ComposeReg 0 [c]
237
237
238 {-# INLINE composeNone #-}
238 {-# INLINE composeNone #-}
239 composeNone ch st
239 composeNone ch st