Is there a simpler way that this? struct Hex {} immutable Hex hex; I don't want to introduce two names in the scope, just `hex`. Another attempt: immutable hex = function {}; That's a bit... arcane. Is there another simple way? Thanks!