ae.utils.pred.algorithm

Experimental!

std.algorithm alternative which accepts predicates as functors https://forum.dlang.org/post/qnigarkuxxnqwdernhzv@forum.dlang.org

Members

Functions

pfilter
auto pfilter(Range r, P pred)

filter variant with functor predicate

pmap
auto pmap(Range r, P pred)

map variant with functor predicate

pred
auto pred(State state)

Functor predicate constructor from static lambda

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>