Skip to content

Commit 615e46a

Browse files
authored
Merge pull request #123 from well-typed/ctraverse-ns-fix
Fix types of ctraverse_NS and ctraverse_SOP.
2 parents 7abf1a3 + 75d0b47 commit 615e46a

File tree

1 file changed

+2
-2
lines changed
  • sop-core/src/Data/SOP

1 file changed

+2
-2
lines changed

sop-core/src/Data/SOP/NS.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,13 +747,13 @@ sequence_SOP = hsequence
747747
--
748748
-- @since 0.3.2.0
749749
--
750-
ctraverse_NS :: (All c xs, Applicative g) => proxy c -> (forall a. c a => f a -> g a) -> NP f xs -> g (NP I xs)
750+
ctraverse_NS :: (All c xs, Applicative g) => proxy c -> (forall a. c a => f a -> g a) -> NS f xs -> g (NS I xs)
751751

752752
-- | Specialization of 'hctraverse'.
753753
--
754754
-- @since 0.3.2.0
755755
--
756-
ctraverse_SOP :: (All2 c xs, Applicative g) => proxy c -> (forall a. c a => f a -> g a) -> POP f xs -> g (POP I xs)
756+
ctraverse_SOP :: (All2 c xs, Applicative g) => proxy c -> (forall a. c a => f a -> g a) -> SOP f xs -> g (SOP I xs)
757757

758758
ctraverse_NS = hctraverse
759759
ctraverse_SOP = hctraverse

0 commit comments

Comments
 (0)