powered by
Replaces consecutive "&"s and "|"s in a string to a single "&" and "|".
"&"
"|"
beautify_rule(rule)
A string with extra "&"s and "|"s removed.
A string containing positive integers, parentheses, and "&" and "|" only.
Applied to domain$rule if domain$type == "polynomial".
domain$rule
domain$type == "polynomial"
beautify_rule("(1 & 2 && 3 &&& 4) | 5 || 6 ||| 7")
Run the code above in your browser using DataLab