Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/Data/Tuple.purs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ instance foldableTuple :: Foldable (Tuple a) where
instance foldable1Tuple :: Foldable1 (Tuple a) where
foldMap1 f (Tuple _ x) = f x
fold1 (Tuple _ x) = x
foldr1 _ (Tuple _ x) = x
foldl1 _ (Tuple _ x) = x

instance foldableWithIndexTuple :: FoldableWithIndex Unit (Tuple a) where
foldrWithIndex f z (Tuple _ x) = f unit x z
Expand Down