{}
is used for types.
Also end
can end any of let
, for
, while
, if
, function
, struct
, module
etc. so it means an opening {
can be skipped. After all, it’s just for ... end
, not for begin ... end
{}
is used for types.
Also end
can end any of let
, for
, while
, if
, function
, struct
, module
etc. so it means an opening {
can be skipped. After all, it’s just for ... end
, not for begin ... end