Skip to content

Commit 37872e3

Browse files
committed
Remove Monoid instance
Fixing circular dependency
1 parent 05f8ac4 commit 37872e3

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

bower.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
"Gruntfile.json"
2020
],
2121
"dependencies": {
22-
"purescript-maybe": "*",
23-
"purescript-monoid": "*"
22+
"purescript-maybe": "*"
2423
},
2524
"devDependencies": {
2625
"purescript-exceptions": "*",

src/Data/Array.purs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ module Data.Array
3131
) where
3232

3333
import Data.Maybe
34-
import Data.Monoid
3534
import Prelude.Unsafe (unsafeIndex)
3635

3736
infixl 8 !!
@@ -276,9 +275,6 @@ instance monadArray :: Monad []
276275
instance semigroupArray :: Semigroup [a] where
277276
(<>) = append
278277

279-
instance monoidArray :: Monoid [a] where
280-
mempty = []
281-
282278
instance alternativeArray :: Alternative [] where
283279
empty = []
284280
(<|>) = append

0 commit comments

Comments
 (0)