mirror of
https://github.com/composewell/streamly.git
synced 2024-09-17 14:37:27 +03:00
Rename Transformation1 benchmark module
to Transformation
This commit is contained in:
parent
4179a3bdf2
commit
0548e36d51
@ -47,6 +47,5 @@ benchmark/Streamly/Benchmark/Prelude/Rate.hs
|
||||
benchmark/Streamly/Benchmark/Prelude/Serial/Exceptions.hs
|
||||
benchmark/Streamly/Benchmark/Prelude/Serial/Nested.hs
|
||||
benchmark/Streamly/Benchmark/Prelude/Serial/Split.hs
|
||||
benchmark/Streamly/Benchmark/Prelude/Serial/Transformation1.hs
|
||||
benchmark/Streamly/Benchmark/Prelude/WAsync.hs
|
||||
benchmark/Streamly/Benchmark/Prelude/ZipAsync.hs
|
||||
|
11
.hlint.yaml
11
.hlint.yaml
@ -10,6 +10,8 @@
|
||||
- suggest: {name: "Unused LANGUAGE pragma"}
|
||||
- suggest: {name: "Eta reduce"}
|
||||
- suggest: {name: "Reduce duplication"}
|
||||
|
||||
# Warnings currently ignored
|
||||
- ignore: {name: "Use list literal pattern"}
|
||||
- ignore: {name: "Use tuple-section"} # requires GHC extension
|
||||
- ignore: {name: "Use fromMaybe"} # may want to use this suggestion, but it didn't match the common idiom of the library
|
||||
@ -23,6 +25,13 @@
|
||||
- ignore: {name: "Redundant $!"}
|
||||
- ignore: {name: "Use fmap"}
|
||||
|
||||
# Warnings ignored in specific places
|
||||
- ignore: {name: "Use ++", within: Serial.Transformation}
|
||||
- ignore: {name: "Use mapM", within: Serial.Transformation}
|
||||
- ignore: {name: "Use traverse", within: Serial.Transformation}
|
||||
|
||||
- ignore: {name: "Redundant <*", within: Serial.NestedStream}
|
||||
- ignore: {name: "Use ++", within: Serial.NestedStream}
|
||||
|
||||
# Specify additional command line arguments
|
||||
#
|
||||
@ -56,7 +65,7 @@
|
||||
# Turn on hints that are off by default
|
||||
#
|
||||
# Ban "module X(module X) where", to require a real export list
|
||||
# - warn: {name: Use explicit module export list}
|
||||
- warn: {name: Use explicit module export list}
|
||||
#
|
||||
# Replace a $ b $ c with a . b $ c
|
||||
# - group: {name: dollar, enabled: true}
|
||||
|
@ -18,7 +18,7 @@ import qualified Serial.Exceptions as Exceptions
|
||||
import qualified Serial.Generation as Generation
|
||||
import qualified Serial.NestedStream as NestedStream
|
||||
import qualified Serial.Split as Split
|
||||
import qualified Serial.Transformation1 as Transformation1
|
||||
import qualified Serial.Transformation as Transformation
|
||||
import qualified Serial.NestedFold as NestedFold
|
||||
import qualified Serial.Lift as Lift
|
||||
|
||||
@ -46,7 +46,7 @@ main = do
|
||||
, Elimination.benchmarks moduleName size
|
||||
, Exceptions.benchmarks moduleName env size
|
||||
, Split.benchmarks moduleName env
|
||||
, Transformation1.benchmarks moduleName size
|
||||
, Transformation.benchmarks moduleName size
|
||||
, NestedFold.benchmarks moduleName size
|
||||
, Lift.benchmarks moduleName size
|
||||
, NestedStream.benchmarks moduleName size
|
||||
|
@ -1,5 +1,5 @@
|
||||
-- |
|
||||
-- Module : Serial.Transformation1
|
||||
-- Module : Serial.Transformation
|
||||
-- Copyright : (c) 2018 Composewell Technologies
|
||||
-- License : BSD-3-Clause
|
||||
-- Maintainer : streamly@composewell.com
|
||||
@ -18,7 +18,7 @@
|
||||
{-# OPTIONS_GHC -fplugin Test.Inspection.Plugin #-}
|
||||
#endif
|
||||
|
||||
module Serial.Transformation1 (benchmarks) where
|
||||
module Serial.Transformation (benchmarks) where
|
||||
|
||||
import Control.DeepSeq (NFData(..))
|
||||
import Control.Monad.IO.Class (MonadIO(..))
|
@ -186,7 +186,7 @@ benchmark Prelude.Serial
|
||||
other-modules:
|
||||
Serial.Generation
|
||||
, Serial.Elimination
|
||||
, Serial.Transformation1
|
||||
, Serial.Transformation
|
||||
, Serial.NestedStream
|
||||
, Serial.NestedFold
|
||||
, Serial.Split
|
||||
|
2
hie.yaml
2
hie.yaml
@ -42,7 +42,7 @@ cradle:
|
||||
component: "bench:Prelude.Serial"
|
||||
- path: "./benchmark/Streamly/Benchmark/Prelude/Serial/Split.hs"
|
||||
component: "bench:Prelude.Serial"
|
||||
- path: "./benchmark/Streamly/Benchmark/Prelude/Serial/Transformation1.hs"
|
||||
- path: "./benchmark/Streamly/Benchmark/Prelude/Serial/Transformation.hs"
|
||||
component: "bench:Prelude.Serial"
|
||||
- path: "./benchmark/Streamly/Benchmark/Prelude/Serial/NestedFold.hs"
|
||||
component: "bench:Prelude.Serial"
|
||||
|
Loading…
Reference in New Issue
Block a user