OK, this works:

immutable A{N}

    x::NTuple{N, Int}

    y::Int

    A(x, y) = new(x, y + 1)

end


A{N}(x::NTuple{N, Int}, y::Int) = A{N}(x, y)

But why is this necessary? (Adding type decl. to the internal constructor 
doesn't seem to do anything useful.) And why is it not necessary if I don't 
have an internal constructor?

(Oh, by the way: Please ignore the abstract C in the previous example ;-))

Reply via email to