/mapcomp

Map, Set, and Vector comprehensions for Rust.

Primary LanguageRustApache License 2.0Apache-2.0

mapcomp

crates.io Build Status

Python-like list comprehension via macros for the following standard containers:

  • Vec
  • HashMap
  • HashSet
  • BTreeMap
  • BTreeSet

Also provides another macro for coroutine comprehension.

For more info please read the documentation here.

License

Dual-licensed under Apache License, Version 2.0 and the MIT License.