-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Description
purescript-lists/src/Data/List/Lazy.purs
Line 761 in 62900a5
| scanrLazy :: forall a b. (a -> b -> b) -> b -> List a -> List b |
The more I look at this, the more I am convinced that this is a left scan with the args to the function swapped. The following test seems to confirm this:
> fromFoldable $ scanrLazy (flip (-)) 10 (1..3)
(9 : 7 : 4 : Nil)I believe I named this incorrectly when submitting the PR. Would love more input from folks who are more experienced.
Metadata
Metadata
Assignees
Labels
No labels