Skip to content

Commit

Permalink
screened 2024-06-02 21:12:56+00:00
Browse files Browse the repository at this point in the history
  • Loading branch information
hsenag committed Jun 2, 2024
1 parent e81cb98 commit 01b5bf2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/Darcs/Prelude.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ it to the Prelude import.
module Darcs.Prelude
( module Prelude
, module Control.Applicative
, module Data.List
, module Data.Monoid
, Semigroup(..)
, module Data.Traversable
Expand Down Expand Up @@ -59,9 +60,14 @@ import Prelude hiding
,
-- used by various code for no particularly good reason
lookup, pred
#if MIN_VERSION_base(4,20,0)
, -- because it's in the new Prelude but only in Data.List in older GHCs
foldl'
#endif
)

import Control.Applicative ( Applicative(..), (<$>), (<*>) )
import Data.List ( foldl' )
import Data.Monoid ( Monoid(..) )
import Data.Semigroup ( Semigroup(..) )
import Data.Traversable ( traverse )
1 change: 0 additions & 1 deletion src/Darcs/Repository/Hashed.hs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ module Darcs.Repository.Hashed
import Darcs.Prelude

import Control.Monad ( unless, when )
import Data.List ( foldl' )
import System.Directory
( copyFile
, createDirectoryIfMissing
Expand Down

0 comments on commit 01b5bf2

Please sign in to comment.