Skip to content

Commit 1c8e586

Browse files
committed
chore: fix some comments to improve readability
Signed-off-by: solunolab <solunolab@outlook.com>
1 parent 3902732 commit 1c8e586

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

bench/locli/src-quick/Data/Reducer.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ instance ( Foldable f2
4343
r1 <-> r2 = Chain r1 r2
4444

4545
-- Explicitly chain reducers with a projection function that extracts a Foldable and
46-
-- an initial accumulator value from the first reducer's reult value
46+
-- an initial accumulator value from the first reducer's result value
4747
chainWith ::
4848
( Foldable f1
4949
, Foldable f2
@@ -67,7 +67,7 @@ instance Reducer (HigherOrder a) where
6767
initialOf _ = ([], Nothing)
6868

6969
reducerOf (Threshold f) = go where
70-
-- still in intial state? always use the head of the original sequence as first data point
70+
-- still in initial state? always use the head of the original sequence as first data point
7171
go ([], _) h = ([h], Just h)
7272
go (acc@(h:_), _) next
7373
| f h next = (next:acc, Just next)

bench/locli/src-quick/Graphics/EasyPlot.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ data Graph3D x y z =
197197
-- ^ plots data read from a file, optionally giving indices of which columns to plot as x, y and z
198198

199199
-- | Options which can be used with 'plot''
200-
data GnuplotOption = Interactive -- ^ keeps gnuplot open, so that you can interact with the plot (only usefull with 'X11')
200+
data GnuplotOption = Interactive -- ^ keeps gnuplot open, so that you can interact with the plot (only useful with 'X11')
201201
| Debug -- ^ keeps intermediate files used to invoke gnuplot, such as the script '_plot.p' and the datafiles '_plot*.dat'.
202202
deriving Eq
203203

0 commit comments

Comments
 (0)