Optimised list functions for doing index-related things
|Version on this page:||0.3.1.0|
|LTS Haskell 20.23:||0.4.0.1@rev:2|
|Stackage Nightly 2022-11-17:||0.4.0.1@rev:2|
|Latest on Hackage:||0.4.0.1@rev:2|
Maintained by firstname.lastname@example.org
This version can be pinned in stack with:
Module documentation for 0.3.1.0
Optimised list functions for doing index-related things. They're faster than common idioms in all cases, they avoid space leaks, and sometimes they fuse better as well.
ifindnow returns the index alongside with the value (same as in
izipWithM_have been generalised from
Applicative(which mimics what was done in base-4.9).