Object instantiation in python syntax
Derived from discussion about parent issue #216 (closed) within LC-Types:
The domain model members asked for a less verbose option to instantiate objects.
The M-SDL proposal uses a keep statement for that:
struct MyStruct:
my_field_1: int
my_field_2: int
my_struct_instance: MyStruct with:
keep(my_field_1 = 2)
keep(my_field_2 = 2)
For less verbose and simpler readability the original python syntax was proposed, which is semantically the same:
struct MyStruct:
my_field_1: int
my_field_2: int
my_struct_instance: MyStruct(my_field_1 = 1, my_field_2 = 2)