Define const using lambda.