Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protolude 0.1.6: fix ambiguous occurrences #2225

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Expand Up @@ -27,6 +27,7 @@ This file lists the contributors to the PureScript compiler project, and the ter
- [@faineance](https://github.com/faineance) My existing contributions and all future contributions until further notice are Copyright faineance, and are licensed to the owners and users of the PureScript compiler project under the terms of the [MIT license](http://opensource.org/licenses/MIT).
- [@garyb](https://github.com/garyb) (Gary Burgess) My existing contributions and all future contributions until further notice are Copyright Gary Burgess, and are licensed to the owners and users of the PureScript compiler project under the terms of the [MIT license](http://opensource.org/licenses/MIT).
- [@hdgarrood](https://github.com/hdgarrood) (Harry Garrood) My existing contributions and all future contributions until further notice are Copyright Harry Garrood, and are licensed to the owners and users of the PureScript compiler project under the terms of the [MIT license](http://opensource.org/licenses/MIT).
- [@ilovezfs](https://github.com/ilovezfs) - My existing contributions and all future contributions until further notice are Copyright ilovezfs, and are licensed to the owners and users of the PureScript compiler project under the terms of the MIT license
- [@izgzhen](https://github.com/izgzhen) (Zhen Zhang) My existing contributions and all future contributions until further notice are Copyright Zhen Zhang, and are licensed to the owners and users of the PureScript compiler project under the terms of the [MIT license](http://opensource.org/licenses/MIT).
- [@jacereda](https://github.com/jacereda) (Jorge Acereda) My existing contributions and all future contributions until further notice are Copyright Jorge Acereda, and are licensed to the owners and users of the PureScript compiler project under the terms of the [MIT license](http://opensource.org/licenses/MIT).
- [@japesinator](https://github.com/japesinator) (JP Smith) My existing contributions and all future contributions until further notice are Copyright JP Smith, and are licensed to the owners and users of the PureScript compiler project under the terms of the [MIT license](http://opensource.org/licenses/MIT).
Expand Down
7 changes: 4 additions & 3 deletions purescript.cabal
Expand Up @@ -116,6 +116,7 @@ library
fsnotify >= 0.2.1,
Glob >= 0.7 && < 0.8,
haskeline >= 0.7.0.0,
http-client >= 0.4.30,
http-types -any,
language-javascript == 0.6.*,
lifted-base >= 0.2.3 && < 0.2.4,
Expand All @@ -128,7 +129,7 @@ library
pipes >= 4.0.0 && < 4.3.0,
pipes-http -any,
process >= 1.2.0 && < 1.5,
protolude >= 0.1.5,
protolude >= 0.1.6,
regex-tdfa -any,
safe >= 0.3.9 && < 0.4,
semigroups >= 0.16.2 && < 0.19,
Expand Down Expand Up @@ -449,7 +450,7 @@ executable psc-ide-server
mtl -any,
network -any,
optparse-applicative >= 0.12.1,
protolude >= 0.1.5,
protolude >= 0.1.6,
stm -any,
text -any,
transformers -any,
Expand Down Expand Up @@ -491,7 +492,7 @@ test-suite tests
optparse-applicative -any,
parsec -any,
process -any,
protolude >= 0.1.5,
protolude >= 0.1.6,
silently -any,
stm -any,
text -any,
Expand Down
1 change: 0 additions & 1 deletion src/Language/PureScript/Ide/Command.hs
Expand Up @@ -24,7 +24,6 @@ import Language.PureScript.Ide.CaseSplit
import Language.PureScript.Ide.Filter
import Language.PureScript.Ide.Matcher
import Language.PureScript.Ide.Types
import System.FilePath

data Command
= Load [P.ModuleName]
Expand Down
1 change: 0 additions & 1 deletion src/Language/PureScript/Ide/Externs.hs
Expand Up @@ -33,7 +33,6 @@ import Language.PureScript.Ide.Types
import Language.PureScript.Ide.Util

import qualified Language.PureScript as P
import System.FilePath

readExternFile :: (MonadIO m, MonadError PscIdeError m) =>
FilePath -> m P.ExternsFile
Expand Down
1 change: 0 additions & 1 deletion src/Language/PureScript/Ide/Imports.hs
Expand Up @@ -40,7 +40,6 @@ import Language.PureScript.Ide.Filter
import Language.PureScript.Ide.State
import Language.PureScript.Ide.Types
import Language.PureScript.Ide.Util
import System.FilePath

data Import = Import P.ModuleName P.ImportDeclarationType (Maybe P.ModuleName)
deriving (Eq, Show)
Expand Down
4 changes: 2 additions & 2 deletions src/Language/PureScript/Ide/Pursuit.hs
Expand Up @@ -19,7 +19,7 @@ module Language.PureScript.Ide.Pursuit
, findPackagesForModuleIdent
) where

import Protolude
import Protolude hiding (fromStrict)

import qualified Control.Exception as E
import Data.Aeson
Expand All @@ -36,7 +36,7 @@ import qualified Pipes.Prelude as P
queryPursuit :: Text -> IO ByteString
queryPursuit q = do
let qClean = T.dropWhileEnd (== '.') q
req' <- parseUrl "http://pursuit.purescript.org/search"
req' <- parseRequest "http://pursuit.purescript.org/search"
let req = req'
{ queryString= "q=" <> (fromString . T.unpack) qClean
, requestHeaders=[(hAccept, "application/json")]
Expand Down
1 change: 0 additions & 1 deletion src/Language/PureScript/Ide/Rebuild.hs
Expand Up @@ -22,7 +22,6 @@ import Language.PureScript.Ide.State
import Language.PureScript.Ide.Types
import Language.PureScript.Ide.Util
import System.IO.UTF8 (readUTF8File)
import System.FilePath

-- | Given a filepath performs the following steps:
--
Expand Down
1 change: 0 additions & 1 deletion src/Language/PureScript/Ide/SourceFile.hs
Expand Up @@ -26,7 +26,6 @@ import qualified Language.PureScript as P
import Language.PureScript.Ide.Error
import Language.PureScript.Ide.Util
import Language.PureScript.Ide.Types
import System.FilePath
import System.IO.UTF8 (readUTF8File)

parseModule
Expand Down
1 change: 0 additions & 1 deletion src/Language/PureScript/Ide/State.hs
Expand Up @@ -44,7 +44,6 @@ import Language.PureScript.Ide.Types
import Language.PureScript.Ide.Util
import qualified Language.PureScript as P
import System.Clock
import System.FilePath

-- | Resets all State inside psc-ide
resetIdeState :: Ide m => m ()
Expand Down
1 change: 0 additions & 1 deletion src/Language/PureScript/Ide/Types.hs
Expand Up @@ -25,7 +25,6 @@ import Data.Map.Lazy as M
import qualified Language.PureScript.Errors.JSON as P
import qualified Language.PureScript as P
import Language.PureScript.Ide.Conversions
import System.FilePath
import Text.Parsec as Parsec
import Text.Parsec.Text

Expand Down
2 changes: 1 addition & 1 deletion src/Language/PureScript/Ide/Util.hs
Expand Up @@ -27,7 +27,7 @@ module Language.PureScript.Ide.Util
, module Language.PureScript.Ide.Conversions
) where

import Protolude
import Protolude hiding (decodeUtf8, encodeUtf8)
import Data.Aeson
import qualified Data.Text as T
import Data.Text.Lazy.Encoding (decodeUtf8, encodeUtf8)
Expand Down
2 changes: 1 addition & 1 deletion stack-ghc-8.0.yaml
@@ -1,4 +1,4 @@
resolver: nightly-2016-05-29
resolver: nightly-2016-07-19
packages:
- '.'
extra-deps:
Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
@@ -1,4 +1,4 @@
resolver: lts-6.1
resolver: lts-6.7
packages:
- '.'
extra-deps: []
Expand Down
2 changes: 1 addition & 1 deletion tests/Language/PureScript/Ide/ImportsSpec.hs
Expand Up @@ -3,7 +3,7 @@
module Language.PureScript.Ide.ImportsSpec where

import Protolude
import Unsafe (fromJust)
import Data.Maybe (fromJust)

import qualified Language.PureScript as P
import Language.PureScript.Ide.Imports
Expand Down
2 changes: 1 addition & 1 deletion tests/Language/PureScript/Ide/Integration.hs
Expand Up @@ -48,7 +48,7 @@ module Language.PureScript.Ide.Integration
) where

import Protolude
import Unsafe (fromJust)
import Data.Maybe (fromJust)

import Data.Aeson
import Data.Aeson.Types
Expand Down