Pudu programming language
Menu
API reference

Std.Iter.Mapped

1 declaration

type

Mapped

This declaration introduces a public type.

What it does

A sequence whose items are another's, transformed.

Nothing is computed until the walk asks for it: advance transforms one

item and returns. Building a Mapped over a sequence of a million does no

work at all, which is what "lazy" has to mean to be worth having.

Read the signature

  • This declaration has no value signature because it introduces a type or trait.

Back to Std.IterSearch related declarations