Skip to content

Commit

Permalink
Update doctest imports and minor haddock docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rnjtranjan authored and harendra-kumar committed Dec 6, 2023
1 parent 2cc2d31 commit 5fb842f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/DocTestCommand.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@
>>> import Data.Char (toUpper)
>>> import Data.Function ((&))
>>> import Streamly.Unicode.String (str)
>>> import qualified Streamly.Data.Array as Array
>>> import qualified Streamly.Console.Stdio as Stdio
>>> import qualified Streamly.Data.Array as Array
>>> import qualified Streamly.Data.Fold as Fold
>>> import qualified Streamly.Data.Stream.Prelude as Stream
>>> import qualified Streamly.System.Command as Command
>>> import qualified Streamly.Unicode.Stream as Unicode
>>> import qualified Streamly.Internal.System.Process as Process
For APIs that have not been released yet.
>>> import qualified Streamly.Internal.Console.Stdio as Stdio
>>> import qualified Streamly.Internal.FileSystem.Dir as Dir
>>> import qualified Streamly.Internal.System.Process as Process
-}
2 changes: 2 additions & 0 deletions src/DocTestProcess.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
>>> import qualified Streamly.System.Process as Process
>>> import qualified Streamly.Unicode.Stream as Unicode
For APIs that have not been released yet.
>>> import qualified Streamly.Internal.Console.Stdio as Stdio
>>> import qualified Streamly.Internal.Data.Stream as Stream
>>> import qualified Streamly.Internal.FileSystem.Dir as Dir
Expand Down
4 changes: 2 additions & 2 deletions src/Streamly/Internal/System/Command.hs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ quotedWord =
'\'' -> Just x
_ -> Nothing
-- Inside ",
-- * \\ is translated to \
-- * \" is translated to "
-- \\ is translated to \
-- \" is translated to "
trEsc '"' x =
case x of
'\\' -> Just '\\'
Expand Down

0 comments on commit 5fb842f

Please sign in to comment.