bubble-operator-upwards
2023-10-21
A function that "bubbles an operator upwards" in a form, demultiplexing all alternative branches by way of cartesian product. This operation is notably useful for easy implementation of certain kinds of shorthand notations in macros. A cartesian-product function is also exported, as it's needed to implement the main function.
Author
Jean-Philippe Paradis <hexstream@hexstreamsoft.com>
License
Unlicense
bubble-operator-upwards
bubble-operator-upwards is a function that "bubbles an operator upwards" in a form, demultiplexing all alternative branches by way of cartesian product. This operation is notably useful for easy implementation of certain kinds of shorthand notations in macros. A cartesian-product function is also exported, as it's needed to implement the main function.
Version:
1.0License:
Public DomainAuthors:
Jean-Philippe Paradis <hexstream@gmail.com>Dependencies:
None