Skip to content

Commit b0ff88f

Browse files
committed
Make aestetic changes to a few function signatures
1 parent 8727c43 commit b0ff88f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/src/Streamly/Internal/Data/Stream/Transform.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ indexedR n = fromStreamD . D.indexedR n . toStreamD
891891
--
892892
{-# INLINE timestampWith #-}
893893
timestampWith :: (MonadIO m)
894-
=> Double -> Stream m a -> Stream m(AbsTime, a)
894+
=> Double -> Stream m a -> Stream m (AbsTime, a)
895895
timestampWith g stream = zipWith (flip (,)) stream (absTimesWith g)
896896

897897
-- TBD: check performance vs a custom implementation without using zipWith.
@@ -900,7 +900,7 @@ timestampWith g stream = zipWith (flip (,)) stream (absTimesWith g)
900900
--
901901
{-# INLINE timestamped #-}
902902
timestamped :: (MonadIO m)
903-
=> Stream m a -> Stream m(AbsTime, a)
903+
=> Stream m a -> Stream m (AbsTime, a)
904904
timestamped = timestampWith 0.01
905905

906906
-- | Pair each element in a stream with relative times starting from 0, using a
@@ -914,7 +914,7 @@ timestamped = timestampWith 0.01
914914
--
915915
{-# INLINE timeIndexWith #-}
916916
timeIndexWith :: (MonadIO m)
917-
=> Double -> Stream m a -> Stream m(RelTime64, a)
917+
=> Double -> Stream m a -> Stream m (RelTime64, a)
918918
timeIndexWith g stream = zipWith (flip (,)) stream (relTimesWith g)
919919

920920
-- | Pair each element in a stream with relative times starting from 0, using a
@@ -928,7 +928,7 @@ timeIndexWith g stream = zipWith (flip (,)) stream (relTimesWith g)
928928
--
929929
{-# INLINE timeIndexed #-}
930930
timeIndexed :: (MonadIO m)
931-
=> Stream m a -> Stream m(RelTime64, a)
931+
=> Stream m a -> Stream m (RelTime64, a)
932932
timeIndexed = timeIndexWith 0.01
933933

934934
------------------------------------------------------------------------------

0 commit comments

Comments
 (0)