Requirements

Defines a simple domain specific language for the specification of financial contracts. Currently covers:

  • Some utilities for working with commands.

  • A simple language extension for specifying requirements in English, along with logic to enforce them.

Functions

Link copied to clipboard
infix inline fun String.using(expr: Boolean)

Throws IllegalArgumentException if the given expression evaluates to false.