Skip to content

Commit

Permalink
Merge pull request #139 from purescript/semigroup-nonempty-array
Browse files Browse the repository at this point in the history
Add Semigroup NonEmptyArray instance
  • Loading branch information
garyb authored Apr 26, 2018
2 parents d451e56 + 3b4e5a8 commit 027811f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Data/Array/NonEmpty.purs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ derive newtype instance eq1NonEmptyArray :: Eq1 NonEmptyArray
derive newtype instance ordNonEmptyArray :: Ord a => Ord (NonEmptyArray a)
derive newtype instance ord1NonEmptyArray :: Ord1 NonEmptyArray

derive newtype instance semigroupNonEmptyArray :: Semigroup (NonEmptyArray a)

derive newtype instance functorNonEmptyArray :: Functor NonEmptyArray
derive newtype instance functorWithIndexNonEmptyArray :: FunctorWithIndex Int NonEmptyArray

Expand Down

0 comments on commit 027811f

Please sign in to comment.