Skip to content

Commit fd8cf8a

Browse files
Munksgaardtreeowl
authored andcommitted
Add missing ys argument to shift2Right
Perhaps I'm misreading the code here, but I think there's supposed to be a `ys` argument here, right?
1 parent 3d05a4e commit fd8cf8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

containers/src/Data/Sequence.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ onto the beginning of the second one.
297297
shift2Right :: Seq a -> Seq a -> (Seq a, Seq a)
298298
shift2Right Empty ys = (Empty, ys)
299299
shift2Right (Empty :|> x) ys = (Empty, x :<| ys)
300-
shift2Right (xs :|> x1 :|> x2) = (xs, x1 :<| x2 :<| ys)
300+
shift2Right (xs :|> x1 :|> x2) ys = (xs, x1 :<| x2 :<| ys)
301301
@
302302
303303
@

0 commit comments

Comments
 (0)