Skip to content

Commit

Permalink
Move Time/System.hs to Time/Clock/Type.hs
Browse files Browse the repository at this point in the history
  • Loading branch information
harendra-kumar committed Feb 7, 2021
1 parent 14e8009 commit 261b470
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Streamly/Internal/Data/SVar.hs
Expand Up @@ -135,7 +135,7 @@ import System.IO (hPutStrLn, stderr)

import Streamly.Internal.Control.Concurrent
(MonadAsync, RunInIO(..), doFork, fork, forkManaged)
import Streamly.Internal.Data.Time.System (Clock(..), getTime)
import Streamly.Internal.Data.Time.Clock.Type (Clock(..), getTime)
import Streamly.Internal.Data.Time.Units
(AbsTime, NanoSecond64(..), MicroSecond64(..), diffAbsTime64,
fromRelTime64, toRelTime64, showNanoSecond64, showRelTime64)
Expand Down
2 changes: 1 addition & 1 deletion src/Streamly/Internal/Data/Time/Clock.hs
Expand Up @@ -20,7 +20,7 @@ where

import Control.Concurrent (threadDelay, ThreadId)
import Control.Monad (forever)
import Streamly.Internal.Data.Time.System (Clock(..), getTime)
import Streamly.Internal.Data.Time.Clock.Type (Clock(..), getTime)
import Streamly.Internal.Data.Time.Units (MicroSecond64(..), fromAbsTime)
import Streamly.Internal.Control.Concurrent (forkManaged)

Expand Down
File renamed without changes.
Expand Up @@ -5,10 +5,10 @@
#include "config.h"
#endif

#include "Streamly/Internal/Data/Time/config-clock.h"
#include "Streamly/Internal/Data/Time/Clock/config-clock.h"

-- |
-- Module : Streamly.Internal.Data.Time.System
-- Module : Streamly.Internal.Data.Time.Clock.Type
-- Copyright : (c) 2019 Composewell Technologies
-- (c) 2009-2012, Cetin Sert
-- (c) 2010, Eugene Kirpichov
Expand All @@ -19,7 +19,7 @@

-- A majority of the code below has been stolen from the "clock" package.

module Streamly.Internal.Data.Time.System
module Streamly.Internal.Data.Time.Clock.Type
(
-- * get time from the system clock
Clock(..)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/Streamly/Internal/Data/Time/TimeSpec.hsc
Expand Up @@ -7,7 +7,7 @@
#include "config.h"
#endif

#include "Streamly/Internal/Data/Time/config-clock.h"
#include "Streamly/Internal/Data/Time/Clock/config-clock.h"

-- |
-- Module : Streamly.Internal.Data.Time.TimeSpec
Expand Down
4 changes: 2 additions & 2 deletions streamly.cabal
Expand Up @@ -154,7 +154,7 @@ extra-source-files:
docs/transformers.md
examples/README.md
src/Streamly/Internal/Data/Stream/Instances.hs
src/Streamly/Internal/Data/Time/config-clock.h
src/Streamly/Internal/Data/Time/Clock/config-clock.h
src/Streamly/Internal/Data/Array/PrimInclude.hs
src/Streamly/Internal/Data/Array/Prim/TypesInclude.hs
src/Streamly/Internal/Data/Array/Prim/MutTypesInclude.hs
Expand Down Expand Up @@ -418,7 +418,7 @@ library
, Streamly.Internal.Data.Time
, Streamly.Internal.Data.Time.TimeSpec
, Streamly.Internal.Data.Time.Units
, Streamly.Internal.Data.Time.System
, Streamly.Internal.Data.Time.Clock.Type
, Streamly.Internal.Data.Time.Clock

-- streamly-core-stream
Expand Down

0 comments on commit 261b470

Please sign in to comment.