Closed leonoel closed 3 years ago
amb?
looks like a predicate, which confuses my brain. How about one of
?amb?
and ?amb=
. It keeps your current symbolic style but injects the word "amb"?amb
and =amb
. It keeps the symbolic meaning of ?
for sequential and =
for concurrent forking but puts it at the beginning of the symbol.+
that looks like the midpoint is splitting into multiple directions, turning into +?
and +=
.I would discard the third option because amb
is an old and known idea, so hiding it behind a symbol is likely to add confusion for nothing. Please share your thoughts about naming in general in #29
released b.19
Just syntactic sugar. Inside an
ap
block,amb?
andamb=
evaluate an arbitrary number of branches ambiguously, respectively sequentially or in parallel.