-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
The traverse implementation of CatQueue iterates through every element twice.
Is this intended?
purescript-catenable-lists/src/Data/CatQueue.purs
Lines 166 to 168 in 09abe1f
| traverse f = | |
| map (foldl snoc empty) | |
| <<< foldl (\acc -> lift2 snoc acc <<< f) (pure empty) |
Metadata
Metadata
Assignees
Labels
No labels