Skip to content

Commit 3b4e5a8

Browse files
committed
Add Semigroup NonEmptyArray instance
1 parent d451e56 commit 3b4e5a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Data/Array/NonEmpty.purs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ derive newtype instance eq1NonEmptyArray :: Eq1 NonEmptyArray
125125
derive newtype instance ordNonEmptyArray :: Ord a => Ord (NonEmptyArray a)
126126
derive newtype instance ord1NonEmptyArray :: Ord1 NonEmptyArray
127127

128+
derive newtype instance semigroupNonEmptyArray :: Semigroup (NonEmptyArray a)
129+
128130
derive newtype instance functorNonEmptyArray :: Functor NonEmptyArray
129131
derive newtype instance functorWithIndexNonEmptyArray :: FunctorWithIndex Int NonEmptyArray
130132

0 commit comments

Comments
 (0)