Skip to content

Commit

Permalink
Bump deps for compiler/0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamGoodacre committed Apr 14, 2018
1 parent 82f4e2a commit 4fd24d7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
6 changes: 4 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"package.json"
],
"dependencies": {
"purescript-monoid": "^3.0.0",
"purescript-prelude": "^3.0.0"
"purescript-prelude": "purescript/purescript-prelude#compiler/0.12",
"purescript-control": "purescript/purescript-control#compiler/0.12",
"purescript-invariant": "purescript/purescript-invariant#compiler/0.12",
"purescript-newtype": "purescript/purescript-newtype#compiler/0.12"
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"build": "pulp build -- --censor-lib --strict"
},
"devDependencies": {
"pulp": "^10.0.4",
"purescript-psa": "^0.5.0-rc.1",
"rimraf": "^2.6.1"
"pulp": "^12.0.1",
"purescript-psa": "^0.6.0",
"rimraf": "^2.6.2"
}
}
5 changes: 2 additions & 3 deletions src/Data/Maybe.purs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import Control.Plus (class Plus)

import Data.Eq (class Eq1)
import Data.Functor.Invariant (class Invariant, imapF)
import Data.Monoid (class Monoid)
import Data.Ord (class Ord1)

-- | The `Maybe` type is used to represent optional values and can be seen as
Expand Down Expand Up @@ -242,7 +241,7 @@ maybe' _ f (Just a) = f a
-- | fromMaybe x (Just y) == y
-- | ```
fromMaybe :: forall a. a -> Maybe a -> a
fromMaybe a = maybe a id
fromMaybe a = maybe a identity

-- | Similar to `fromMaybe` but for use in cases where the default value may be
-- | expensive to compute. As PureScript is not lazy, the standard `fromMaybe`
Expand All @@ -254,7 +253,7 @@ fromMaybe a = maybe a id
-- | fromMaybe' (\_ -> x) (Just y) == y
-- | ```
fromMaybe' :: forall a. (Unit -> a) -> Maybe a -> a
fromMaybe' a = maybe' a id
fromMaybe' a = maybe' a identity

-- | Returns `true` when the `Maybe` value was constructed with `Just`.
isJust :: forall a. Maybe a -> Boolean
Expand Down
1 change: 0 additions & 1 deletion src/Data/Maybe/First.purs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Control.MonadZero (class MonadZero, class Alternative, class Plus, class
import Data.Eq (class Eq1)
import Data.Functor.Invariant (class Invariant)
import Data.Maybe (Maybe(..))
import Data.Monoid (class Monoid, mempty)
import Data.Newtype (class Newtype)
import Data.Ord (class Ord1)

Expand Down
1 change: 0 additions & 1 deletion src/Data/Maybe/Last.purs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Control.MonadZero (class MonadZero, class Alternative, class Plus, class
import Data.Eq (class Eq1)
import Data.Functor.Invariant (class Invariant)
import Data.Maybe (Maybe(..))
import Data.Monoid (class Monoid, mempty)
import Data.Newtype (class Newtype)
import Data.Ord (class Ord1)

Expand Down

0 comments on commit 4fd24d7

Please sign in to comment.