Type aliases

I can’t get type aliases to work, the 2 examples below won’t compile.
Are they implemented already?

graph Graph [[ main ]]
{
    using MySampleType = float;
    output stream MySampleType out;

    connection {}
}

.

graph Graph [[ main ]]
{
    using noise = soul::Noise::Pink;
    output stream float out;

    connection { noise.out -> out; }
}

IIRC we only implemented them for types in namespaces and processors, but yeah, I guess there’s a use-case for having them in graphs too. Don’t think we made them work for processors, only for types, but again, that’s something we might add if there aren’t any gotchas in doing that.

ah, yes, that’s working in procesors and namespaces, so just putting my graph in a namespace will solve it, that’s perfect for my need.
Having them working to alias Processors would be great!
I was also expecting something like that to be legal : using stereoSignal = stream float<2>;

Regarding aliases within processors, it could make sense to be slightly more permissive and allow aliases to be declared before the IOs. For now the following gives the error "Endpoint declarations must all appear at the start of the processor":

processor gain
{
    using MySampleType = float;
    input stream MySampleType in;
    output stream MySampleType out;

    void run() { advance(); }
}