Skip to content

Commit

Permalink
Drop MonadZero (#205)
Browse files Browse the repository at this point in the history
* Drop MonadZero

* Add changelog entry

* Stop censoring udw
  • Loading branch information
JordanMartinez authored Mar 16, 2022
1 parent e11c5ba commit 96f02c9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Notable changes to this project are documented in this file. The format is based

Breaking changes:
- Update project and deps to PureScript v0.15.0 (#203 by @JordanMartinez)
- Drop deprecated `MonadZero` instance (#205 by @JordanMartinez)

New features:

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"scripts": {
"clean": "rimraf output && rimraf .pulp-cache",
"build": "pulp build -- --censor-lib --strict --censor-codes='UserDefinedWarning,WildcardInferredType'",
"build": "pulp build -- --censor-lib --strict --censor-codes='WildcardInferredType'",
"test": "pulp test",
"bench:build": "purs compile 'bench/**/*.purs' 'src/**/*.purs' 'bower_components/*/src/**/*.purs'",
"bench:run": "node --expose-gc -e 'require(\"./output/Bench.Main/index.js\").main()'",
Expand Down
3 changes: 0 additions & 3 deletions src/Data/List/Lazy/Types.purs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import Control.Comonad (class Comonad)
import Control.Extend (class Extend)
import Control.Lazy as Z
import Control.MonadPlus (class MonadPlus)
import Control.MonadZero (class MonadZero)
import Control.Plus (class Plus)
import Data.Eq (class Eq1, eq1)
import Data.Foldable (class Foldable, foldMap, foldl, foldr)
Expand Down Expand Up @@ -191,8 +190,6 @@ instance plusList :: Plus List where

instance alternativeList :: Alternative List

instance monadZeroList :: MonadZero List

instance monadPlusList :: MonadPlus List

instance extendList :: Extend List where
Expand Down
3 changes: 0 additions & 3 deletions src/Data/List/Types.purs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import Control.Apply (lift2)
import Control.Comonad (class Comonad)
import Control.Extend (class Extend)
import Control.MonadPlus (class MonadPlus)
import Control.MonadZero (class MonadZero)
import Control.Plus (class Plus)
import Data.Eq (class Eq1, eq1)
import Data.Foldable (class Foldable, foldl, foldr, intercalate)
Expand Down Expand Up @@ -176,8 +175,6 @@ instance plusList :: Plus List where

instance alternativeList :: Alternative List

instance monadZeroList :: MonadZero List

instance monadPlusList :: MonadPlus List

instance extendList :: Extend List where
Expand Down

0 comments on commit 96f02c9

Please sign in to comment.