-
Notifications
You must be signed in to change notification settings - Fork 11
CatQueue: prepend #32
Copy link
Copy link
Open
Labels
status: needs more infoThis issue needs more info before any action can be done.This issue needs more info before any action can be done.
Description
Activity
Metadata
Metadata
Assignees
Labels
status: needs more infoThis issue needs more info before any action can be done.This issue needs more info before any action can be done.
The
Semigroupinstance andappendin #30 are implemented asfoldl snocthat appends successive elements from theCatQueueon the right. In most cases, that's probably what you'd want. One could also implement a prepend as areverseandfoldl consof elements from the leftCatQueue.