Convert between list-likes in functions like pmap
, pfilter
, preverse
, ...
#597
Labels
enhancement
New feature or request
pmap
, pfilter
, preverse
, ...
#597
Summary
Do conversion between list representations wherever possible for better efficiency (assuming).
Details
The example of inefficiency of current state against suggested one:
Let's assume:
Now:
Suggested:
This way its one less iteration thru the list.
Implementation
Is mostly straightforward and only need changes in type signatures.
For example, for
pmap
:The text was updated successfully, but these errors were encountered: