Proposal: New keyword seqblk
instead of special syntax for labeled blocks.
#4412
Labels
proposal
This issue suggests modifications. If it also has the "accepted" label then it is planned.
Milestone
Alternative to the current syntax for labeled scopes, that would be beneficial if combined with #4285 (AConf literals).
Below are examples from the documentation written with the alternative
seqblk
based syntax:In combination with #4285 (AConf literals), it becomes easy to add configuration options to sequential blocks. For example
.{.constantTime = true}
to take a use case from #1776 .In short:
where
<AConf literal>
would be of the form.{ <.config=.ConfigOption>* }
The
seqblk
keyword would only be used when you need either a label and/or a different configuration for a scope, so in most cases code wouldn't need changing with this proposal.The text was updated successfully, but these errors were encountered: