[−][src]Macro sugars::clkl
Build LinkedList
from collection iterator comprehensions.
Limitations
- Only 3 nested comprehensions
Examples:
use sugars::clkl; let w = clkl![x; x in 1..10]; let z = clkl![x; x in 1..10, if x%2 == 0];
Build LinkedList
from collection iterator comprehensions.
use sugars::clkl; let w = clkl![x; x in 1..10]; let z = clkl![x; x in 1..10, if x%2 == 0];