Rulealize Registry Find a name /

Rule sets / SplitBill

rule set

Rulealize.RuleSet.SplitBill

Who paid for what on a trip or a night out, and what each one pays or gets back when the total is shared equally. A Rulealize rule set.

What 1.0.0 is made of

Hold it

A document that holds this one writes, in its uses:

"uses": [
  { "ruleSet": "Rulealize.RuleSet.SplitBill",
    "version": "^1.0", "as": "splitbill" }
]

as is not optional here. The identifier is the package identifier, so nothing has to look it up; as is the short name the holding document calls it by, and it is what qualifies this rule set's inputs inside that one. An alias defaults to the identifier and may not contain a ., so leaving it out is refused with a message about a key you did not write.

Getting what a uses names is the feed's job rather than this index's. rulealize restore does it from 0.8.0 — the whole graph, into the folder the holding document resolves its components from — and takes the lowest version satisfying every constraint that named it, which is the rule a requires is resolved by.

Inputs a composite could constrain

InputComes from
clearthis document
jointhis document
leavethis document
paythis document
renamethis document
undothis document

Releases

  1. 1.0.0 latest

    requires

    inputs

    • clear
    • join
    • leave
    • pay
    • rename
    • undo