on master help sign in
Move "Clock.hsc" to "System.hsc"
2a522a1Harendra Kumar
src/Streamly/Internal/Data/Time/Clock.hsnew file+17
@@ -0,0 +1,17 @@
1+-- |
2+-- Module : Streamly.Internal.Data.Time.Clock
3+-- Copyright : (c) 2021 Composewell Technologies
4+-- License : BSD-3-Clause
5+-- Maintainer : streamly@composewell.com
6+-- Stability : experimental
7+-- Portability : GHC
8+
9+module Streamly.Internal.Data.Time.Clock
10+ (
11+ -- * System clock
12+ Clock(..)
13+ , getTime
14+ )
15+where
16+
17+import Streamly.Internal.Data.Time.System
src/Streamly/Internal/Data/Time/Clock.hsc → src/Streamly/Internal/Data/Time/System.hscrenamed+2−2
@@ -8,7 +8,7 @@
8#include "Streamly/Internal/Data/Time/config-clock.h"
8#include "Streamly/Internal/Data/Time/config-clock.h"
9
9
10-- |
10-- |
11−-- Module : Streamly.Internal.Data.Time.Clock
11+-- Module : Streamly.Internal.Data.Time.System
12-- Copyright : (c) 2019 Composewell Technologies
12-- Copyright : (c) 2019 Composewell Technologies
13-- (c) 2009-2012, Cetin Sert
13-- (c) 2009-2012, Cetin Sert
14-- (c) 2010, Eugene Kirpichov
14-- (c) 2010, Eugene Kirpichov
@@ -19,7 +19,7 @@
19
19
20-- A majority of the code below has been stolen from the "clock" package.
20-- A majority of the code below has been stolen from the "clock" package.
21
21
22−module Streamly.Internal.Data.Time.Clock
22+module Streamly.Internal.Data.Time.System
23 (
23 (
24 -- * get time from the system clock
24 -- * get time from the system clock
25 Clock(..)
25 Clock(..)
streamly.cabal+1
@@ -417,6 +417,7 @@ library
417 , Streamly.Internal.Data.Time
417 , Streamly.Internal.Data.Time
418 , Streamly.Internal.Data.Time.TimeSpec
418 , Streamly.Internal.Data.Time.TimeSpec
419 , Streamly.Internal.Data.Time.Units
419 , Streamly.Internal.Data.Time.Units
420+ , Streamly.Internal.Data.Time.System
420 , Streamly.Internal.Data.Time.Clock
421 , Streamly.Internal.Data.Time.Clock
421
422
422 -- streamly-core-stream
423 -- streamly-core-stream