Skip to content

Commit 9daf64d

Browse files
Remove "Streamly" as the top level namespace
1 parent 82ac171 commit 9daf64d

35 files changed

Lines changed: 121 additions & 121 deletions

app/hfd.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import qualified Streamly.Data.Stream.Prelude as Stream
2525
import qualified Streamly.FileSystem.Handle as Handle
2626
import qualified Streamly.FileSystem.Path as Path
2727

28-
import Streamly.Coreutils.Find
28+
import Coreutils.Find
2929
( FindOptions
3030
, findByteChunked
3131
, maxResults
@@ -114,7 +114,7 @@ parserInfo =
114114
(configParser <**> helper)
115115
(fullDesc
116116
<> briefDesc
117-
<> progDesc "A basic fd-like driver for Streamly.Coreutils.Find."
117+
<> progDesc "A basic fd-like driver for Coreutils.Find."
118118
<> header "hfd")
119119

120120
main :: IO ()

benchmark/Main.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Control.Monad.IO.Class (MonadIO)
77
import Gauge
88
import Streamly.Data.Stream (Stream)
99
import System.Random
10-
import Streamly.Coreutils.Uniq
10+
import Coreutils.Uniq
1111

1212
import qualified Streamly.Data.Stream as S
1313
import qualified Streamly.Data.Fold as Fold

hie.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ cradle:
77
- path: "./src"
88
component: "lib:streamly-coreutils"
99
- path: "./test"
10-
component: "test:Streamly.Coreutils.Rm"
10+
component: "test:Coreutils.Rm"
1111
dependencies:
1212
- streamly-coreutils.cabal
1313
- hie.yaml

src/Coreutils.hs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
-- |
2+
-- Module : Coreutils
3+
-- Copyright : (c) 2020 Composewell Technologies
4+
-- License : Apache-2.0
5+
-- Maintainer : streamly@composewell.com
6+
-- Stability : experimental
7+
-- Portability : GHC
8+
--
9+
module Coreutils
10+
( module Coreutils.Cp
11+
, module Coreutils.FileTest
12+
)
13+
where
14+
15+
import Coreutils.Cp
16+
import Coreutils.FileTest
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- |
2-
-- Module : Streamly.Coreutils.Chmod
2+
-- Module : Coreutils.Chmod
33
-- Copyright : (c) 2026 Composewell Technologies
44
-- License : Apache-2.0
55
-- Maintainer : streamly@composewell.com
@@ -17,7 +17,7 @@
1717
-- >>> _ = chmod (additive True) (groupWrite False) -- chmod g-w FILE
1818
-- >>> _ = chmod (modeFrom file) (groupWrite True) -- chmod --reference=ref FILE
1919

20-
module Streamly.Coreutils.Chmod
20+
module Coreutils.Chmod
2121
( -- * Runner
2222
chmod
2323

@@ -60,7 +60,7 @@ import qualified Streamly.FileSystem.Path as Path
6060

6161
-- $setup
6262
-- >>> :set -XQuasiQuotes
63-
-- >>> import Streamly.Coreutils.Chmod
63+
-- >>> import Coreutils.Chmod
6464
-- >>> import Streamly.FileSystem.Path (path)
6565
-- >>> file = [path|a.txt|]
6666

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{-# LANGUAGE PatternSynonyms #-}
33

44
-- | This module is deprecated. Use 'Data.Bool' and 'Bool' instead.
5-
module Streamly.Coreutils.Common
5+
module Coreutils.Common
66
{-# DEPRECATED "This module is deprecated. Please use 'Bool' from 'Data.Bool' instead." #-}
77
( Switch
88
#if __GLASGOW_HASKELL__ >= 914
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- |
2-
-- Module : Streamly.Coreutils.Cp
2+
-- Module : Coreutils.Cp
33
-- Copyright : (c) 2022 Composewell Technologies
44
-- License : Apache-2.0
55
-- Maintainer : streamly@composewell.com
@@ -8,7 +8,7 @@
88
--
99
-- Copy a file or directory.
1010

11-
module Streamly.Coreutils.Cp
11+
module Coreutils.Cp
1212
( cp
1313

1414
-- * Cp options
@@ -28,7 +28,7 @@ import qualified Streamly.Internal.FileSystem.FileIO as File
2828
import Streamly.FileSystem.Path (Path)
2929
import qualified Streamly.FileSystem.Path as Path
3030

31-
import Streamly.Coreutils.FileTest
31+
import Coreutils.FileTest
3232

3333
-- Note: Recursive copy can be done using find.
3434
--
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- |
2-
-- Module : Streamly.Coreutils.Cut
2+
-- Module : Coreutils.Cut
33
-- Copyright : (c) 2025 Composewell Technologies
44
-- License : BSD-3-Clause
55
-- Maintainer : streamly@composewell.com
@@ -8,7 +8,7 @@
88
--
99
-- Functionality equivalent to the @cut@ command.
1010

11-
module Streamly.Coreutils.Cut
11+
module Coreutils.Cut
1212
( foldIndicesBy -- XXX rename to cut
1313

1414
-- * Deprecated
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- |
2-
-- Module : Streamly.Coreutils.Directory
2+
-- Module : Coreutils.Directory
33
-- Copyright : (c) 2022 Composewell Technologies
44
-- License : Apache-2.0
55
-- Maintainer : streamly@composewell.com
@@ -8,7 +8,7 @@
88
--
99
-- Perform directory related operations.
1010

11-
module Streamly.Coreutils.Directory
11+
module Coreutils.Directory
1212
( home
1313
, pwd
1414
, cd
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- |
2-
-- Module : Streamly.Coreutils.Dirname
2+
-- Module : Coreutils.Dirname
33
-- Copyright : (c) 2022 Composewell Technologies
44
-- License : BSD-3-Clause
55
-- Maintainer : streamly@composewell.com
@@ -8,7 +8,7 @@
88
--
99
-- Strip the last component from file name.
1010

11-
module Streamly.Coreutils.Dirname
11+
module Coreutils.Dirname
1212
(dirname)
1313
where
1414

0 commit comments

Comments
 (0)