string-mixin-based anonymous templates. mixing this in allows the λ/Λ definitions reference symbols in the mixed-in scope
Λ is an alias
λ is an enum
import std.typetuple: Map = staticMap, Cons = TypeTuple; static assert ( Map!(λ!q{(T) = T.sizeof}, int, bool, long ) == Cons!( 4,1,8 ) ); static assert (is ( Map!(Λ!q{(T) = T[]}, int, bool, long ) == Cons!( int[], bool[], long[] ) ));
See Implementation
string-mixin-based anonymous templates. mixing this in allows the λ/Λ definitions reference symbols in the mixed-in scope